#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>
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, Crazy > | CrazyDecisionTree |
| typedef DecisionTree< string, int > | DT |
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) | |
| #define DISABLE_DOT |
Definition at line 29 of file testDecisionTree.cpp.
| typedef DecisionTree<Label, bool> BDT |
Definition at line 182 of file testDecisionTree.cpp.
| typedef DecisionTree<string,Crazy> CrazyDecisionTree |
Definition at line 44 of file testDecisionTree.cpp.
| typedef DecisionTree<string, int> DT |
Definition at line 55 of file testDecisionTree.cpp.
| enum Label |
| Enumerator | |
|---|---|
| U | |
| V | |
| X | |
| Y | |
| Z | |
Definition at line 179 of file testDecisionTree.cpp.
| bool convert | ( | const int & | y | ) |
Definition at line 183 of file testDecisionTree.cpp.
| 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.