#include <CppUnitLite/TestHarness.h>
#include <gtsam/base/Testable.h>
#include <gtsam/base/serializationTestHelpers.h>
#include <gtsam/discrete/DecisionTreeFactor.h>
#include <gtsam/discrete/DiscreteDistribution.h>
#include <gtsam/discrete/DiscreteFactor.h>
#include <gtsam/discrete/Signature.h>
#include <gtsam/inference/Key.h>
#include <gtsam/inference/Ordering.h>
Go to the source code of this file.
Macros | |
#define | DISABLE_DOT |
Functions | |
DecisionTreeFactor | create (const Signature &signature) |
int | main () |
void | maybeSaveDotFile (const DecisionTreeFactor &f, const string &filename) |
TEST (DecisionTreeFactor, constructors) | |
TEST (DecisionTreeFactor, ConstructorsMatch) | |
TEST (DecisionTreeFactor, DotWithNames) | |
TEST (DecisionTreeFactor, enumerate) | |
TEST (DecisionTreeFactor, Error) | |
TEST (DecisionTreeFactor, htmlWithValueFormatter) | |
TEST (DecisionTreeFactor, joint) | |
TEST (DecisionTreeFactor, markdown) | |
TEST (DecisionTreeFactor, markdownWithValueFormatter) | |
TEST (DecisionTreeFactor, multiplication) | |
TEST (DecisionTreeFactor, Prune) | |
TEST (DecisionTreeFactor, sum_max) | |
#define DISABLE_DOT |
Definition at line 181 of file testDecisionTreeFactor.cpp.
DecisionTreeFactor create | ( | const Signature & | signature | ) |
Convert Signature into CPT
Definition at line 192 of file testDecisionTreeFactor.cpp.
int main | ( | ) |
Definition at line 324 of file testDecisionTreeFactor.cpp.
void maybeSaveDotFile | ( | const DecisionTreeFactor & | f, |
const string & | filename | ||
) |
Definition at line 183 of file testDecisionTreeFactor.cpp.
TEST | ( | DecisionTreeFactor | , |
constructors | |||
) |
Definition at line 46 of file testDecisionTreeFactor.cpp.
TEST | ( | DecisionTreeFactor | , |
ConstructorsMatch | |||
) |
Definition at line 34 of file testDecisionTreeFactor.cpp.
TEST | ( | DecisionTreeFactor | , |
DotWithNames | |||
) |
Definition at line 242 of file testDecisionTreeFactor.cpp.
TEST | ( | DecisionTreeFactor | , |
enumerate | |||
) |
Definition at line 127 of file testDecisionTreeFactor.cpp.
TEST | ( | DecisionTreeFactor | , |
Error | |||
) |
Definition at line 73 of file testDecisionTreeFactor.cpp.
TEST | ( | DecisionTreeFactor | , |
htmlWithValueFormatter | |||
) |
Definition at line 297 of file testDecisionTreeFactor.cpp.
TEST | ( | DecisionTreeFactor | , |
joint | |||
) |
Definition at line 199 of file testDecisionTreeFactor.cpp.
TEST | ( | DecisionTreeFactor | , |
markdown | |||
) |
Definition at line 257 of file testDecisionTreeFactor.cpp.
TEST | ( | DecisionTreeFactor | , |
markdownWithValueFormatter | |||
) |
Definition at line 276 of file testDecisionTreeFactor.cpp.
TEST | ( | DecisionTreeFactor | , |
multiplication | |||
) |
Definition at line 91 of file testDecisionTreeFactor.cpp.
TEST | ( | DecisionTreeFactor | , |
Prune | |||
) |
Definition at line 145 of file testDecisionTreeFactor.cpp.
TEST | ( | DecisionTreeFactor | , |
sum_max | |||
) |
Definition at line 109 of file testDecisionTreeFactor.cpp.