#include <CppUnitLite/TestHarness.h>
#include <gtsam/base/Testable.h>
#include <gtsam/discrete/DiscreteSearch.h>
#include "AsiaExample.h"
Go to the source code of this file.
Namespaces | |
asia | |
Functions | |
int | main () |
TEST (DiscreteBayesNet, AsiaKBest) | |
TEST (DiscreteBayesNet, EmptyKBest) | |
TEST (DiscreteBayesTree, EmptyTree) | |
Variables | |
static const DiscreteBayesNet | asia::bayesNet = createAsiaExample() |
static const DiscreteBayesTree | asia::bayesTree |
static const DiscreteFactorGraph | asia::factorGraph (bayesNet) |
static const DiscreteValues | asia::mpe = factorGraph.optimize() |
static const Ordering | asia::ordering {D, X, B, E, L, T, S, A} |
int main | ( | ) |
Definition at line 109 of file testDiscreteSearch.cpp.
TEST | ( | DiscreteBayesNet | , |
AsiaKBest | |||
) |
Definition at line 67 of file testDiscreteSearch.cpp.
TEST | ( | DiscreteBayesNet | , |
EmptyKBest | |||
) |
Definition at line 45 of file testDiscreteSearch.cpp.
TEST | ( | DiscreteBayesTree | , |
EmptyTree | |||
) |
Definition at line 55 of file testDiscreteSearch.cpp.