SHOGUN  v2.0.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
TreeMachine.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) 2012 Chiyuan Zhang
8  * Copyright (C) 2012 Chiyuan Zhang
9  */
10 
11 #ifndef TREEMACHINE_H__
12 #define TREEMACHINE_H__
13 
16 
17 namespace shogun
18 {
19 
23 template <class T> class CTreeMachine: public CBaseMulticlassMachine
24 {
25 public:
28 
31  :m_root(NULL)
32  {
33  SG_ADD((CSGObject**)&m_root,"m_root", "tree structure", MS_NOT_AVAILABLE);
34  }
35 
37  virtual ~CTreeMachine()
38  {
40  }
41 
43  virtual const char* get_name() const { return "TreeMachine"; }
44 
45 protected:
48 };
49 
50 } /* shogun */
51 
52 #endif /* end of include guard: TREEMACHINE_H__ */
53 

SHOGUN Machine Learning Toolbox - Documentation