Classes | Namespaces | Macros | Typedefs | Enumerations | Functions
testDecisionTree.cpp File Reference
#include <boost/assign/std/vector.hpp>
#include <CppUnitLite/TestHarness.h>
#include <gtsam/base/Testable.h>
#include <gtsam/discrete/Signature.h>
#include <gtsam/discrete/DecisionTree-inl.h>
Include dependency graph for testDecisionTree.cpp:

Go to the source code of this file.

Classes

struct  Crazy
 
struct  Ring
 
struct  gtsam::traits< CrazyDecisionTree >
 
struct  gtsam::traits< DT >
 

Namespaces

 gtsam
 traits
 

Macros

#define DISABLE_DOT
 
#define DOT(x)   (dot(x,#x))
 

Typedefs

typedef DecisionTree< Label, bool > BDT
 
typedef DecisionTree< string, CrazyCrazyDecisionTree
 
typedef DecisionTree< string, intDT
 

Enumerations

enum  Label {
  U, V, X, Y,
  Z
}
 

Functions

bool convert (const int &y)
 
template<typename T >
void dot (const T &f, const string &filename)
 
int main ()
 
 TEST (DT, example)
 
 TEST (DT, conversion)
 
 TEST (DT, Compose)
 

Macro Definition Documentation

#define DISABLE_DOT

Definition at line 29 of file testDecisionTree.cpp.

#define DOT (   x)    (dot(x,#x))

Definition at line 41 of file testDecisionTree.cpp.

Typedef Documentation

typedef DecisionTree<Label, bool> BDT

Definition at line 182 of file testDecisionTree.cpp.

Definition at line 44 of file testDecisionTree.cpp.

typedef DecisionTree<string, int> DT

Definition at line 55 of file testDecisionTree.cpp.

Enumeration Type Documentation

enum Label
Enumerator

Definition at line 179 of file testDecisionTree.cpp.

Function Documentation

bool convert ( const int y)

Definition at line 183 of file testDecisionTree.cpp.

template<typename T >
void dot ( const T f,
const string &  filename 
)

Definition at line 35 of file testDecisionTree.cpp.

int main ( void  )

Definition at line 245 of file testDecisionTree.cpp.

TEST ( DT  ,
example   
)

Definition at line 79 of file testDecisionTree.cpp.

TEST ( DT  ,
conversion   
)

Definition at line 187 of file testDecisionTree.cpp.

TEST ( DT  ,
Compose   
)

Definition at line 218 of file testDecisionTree.cpp.



gtsam
Author(s):
autogenerated on Sat May 8 2021 02:51:41