SHOGUN  v3.0.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
FactorGraphFeatures.h
Go to the documentation of this file.
1 /*
2  * This program is free software; you can redistribute it and/or modify
3  * it under the terms of the GNU General Public License as published by
4  * the Free Software Foundation; either version 3 of the License, or
5  * (at your option) any later version.
6  *
7  * Written (W) 2013 Shell Hu
8  * Copyright (C) 2013 Shell Hu
9  */
10 
11 #ifndef __FACTORGRAPH_FEATURES_H__
12 #define __FACTORGRAPH_FEATURES_H__
13 
16 
17 namespace shogun
18 {
19 
24 {
25  public:
28 
33  CFactorGraphFeatures(int32_t num_samples);
34 
35  virtual ~CFactorGraphFeatures();
36 
41  virtual CFeatures* duplicate() const;
42 
47  virtual EFeatureType get_feature_type() const;
48 
53  virtual EFeatureClass get_feature_class() const;
54 
59  virtual int32_t get_num_vectors() const;
60 
65  virtual const char* get_name() const { return "FactorGraphFeatures"; }
66 
72  bool add_sample(CFactorGraph* fg);
73 
80 
87 
88  protected:
91 
92  private:
94  void init();
95 };
96 
97 }
98 
99 #endif /* __FACTORGRAPH_FEATURES_H__ */

SHOGUN Machine Learning Toolbox - Documentation