#include <CppUnitLite/TestHarness.h>
#include <gtsam/base/Testable.h>
#include <gtsam/base/serializationTestHelpers.h>
#include <gtsam/discrete/DecisionTree-inl.h>
#include <gtsam/discrete/Signature.h>
#include <gtsam/inference/Symbol.h>
#include <iomanip>
Go to the source code of this file.
Classes | |
struct | Crazy |
struct | CrazyDecisionTree |
struct | DT |
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 > | LabelBoolTree |
typedef DecisionTree< string, bool > | StringBoolTree |
Enumerations | |
enum | Label { U, V, X, Y, Z } |
Functions | |
bool | bool_of_int (const int &y) |
template<typename T > | |
void | dot (const T &f, const string &filename) |
int | main () |
TEST (DecisionTree, ApplyWithAssignment) | |
TEST (DecisionTree, Compose) | |
TEST (DecisionTree, Constructor) | |
TEST (DecisionTree, ConstructorOrder) | |
TEST (DecisionTree, Consume) | |
TEST (DecisionTree, Containers) | |
TEST (DecisionTree, ConvertBoth) | |
TEST (DecisionTree, ConvertValuesOnly) | |
TEST (DecisionTree, Example) | |
TEST (DecisionTree, fold) | |
TEST (DecisionTree, labels) | |
TEST (DecisionTree, Split) | |
TEST (DecisionTree, threshold) | |
TEST (DecisionTree, unzip) | |
TEST (DecisionTree, visit) | |
TEST (DecisionTree, visitWith) | |
TEST (DecisionTree, VisitWithPruned) | |
#define DISABLE_DOT |
Definition at line 21 of file testDecisionTree.cpp.
typedef DecisionTree<Label, bool> LabelBoolTree |
Definition at line 350 of file testDecisionTree.cpp.
typedef DecisionTree<string, bool> StringBoolTree |
Definition at line 329 of file testDecisionTree.cpp.
enum Label |
Enumerator | |
---|---|
U | |
V | |
X | |
Y | |
Z |
Definition at line 349 of file testDecisionTree.cpp.
bool bool_of_int | ( | const int & | y | ) |
Definition at line 329 of file testDecisionTree.cpp.
void dot | ( | const T & | f, |
const string & | filename | ||
) |
Definition at line 37 of file testDecisionTree.cpp.
int main | ( | ) |
Definition at line 629 of file testDecisionTree.cpp.
TEST | ( | DecisionTree | , |
ApplyWithAssignment | |||
) |
Definition at line 588 of file testDecisionTree.cpp.
TEST | ( | DecisionTree | , |
Compose | |||
) |
Definition at line 380 of file testDecisionTree.cpp.
TEST | ( | DecisionTree | , |
Constructor | |||
) |
Definition at line 83 of file testDecisionTree.cpp.
TEST | ( | DecisionTree | , |
ConstructorOrder | |||
) |
Definition at line 137 of file testDecisionTree.cpp.
TEST | ( | DecisionTree | , |
Consume | |||
) |
Definition at line 308 of file testDecisionTree.cpp.
TEST | ( | DecisionTree | , |
Containers | |||
) |
Definition at line 406 of file testDecisionTree.cpp.
TEST | ( | DecisionTree | , |
ConvertBoth | |||
) |
Definition at line 352 of file testDecisionTree.cpp.
TEST | ( | DecisionTree | , |
ConvertValuesOnly | |||
) |
Definition at line 332 of file testDecisionTree.cpp.
TEST | ( | DecisionTree | , |
Example | |||
) |
Definition at line 167 of file testDecisionTree.cpp.
TEST | ( | DecisionTree | , |
fold | |||
) |
Definition at line 514 of file testDecisionTree.cpp.
TEST | ( | DecisionTree | , |
labels | |||
) |
Definition at line 529 of file testDecisionTree.cpp.
TEST | ( | DecisionTree | , |
Split | |||
) |
Definition at line 277 of file testDecisionTree.cpp.
TEST | ( | DecisionTree | , |
threshold | |||
) |
Definition at line 560 of file testDecisionTree.cpp.
TEST | ( | DecisionTree | , |
unzip | |||
) |
Definition at line 539 of file testDecisionTree.cpp.
TEST | ( | DecisionTree | , |
visit | |||
) |
Definition at line 428 of file testDecisionTree.cpp.
TEST | ( | DecisionTree | , |
visitWith | |||
) |
Definition at line 440 of file testDecisionTree.cpp.
TEST | ( | DecisionTree | , |
VisitWithPruned | |||
) |
Definition at line 452 of file testDecisionTree.cpp.