Unit tests for HybridBayesNet. More...
#include <gtsam/hybrid/HybridBayesNet.h>
#include <gtsam/hybrid/HybridBayesTree.h>
#include <gtsam/nonlinear/NonlinearFactorGraph.h>
#include "Switching.h"
#include "TinyHybridExample.h"
#include <CppUnitLite/TestHarness.h>
Go to the source code of this file.
Functions | |
static const DiscreteKey | Asia (asiaKey, 2) |
int | main () |
TEST (HybridBayesNet, Creation) | |
TEST (HybridBayesNet, Add) | |
TEST (HybridBayesNet, EvaluatePureDiscrete) | |
TEST (HybridBayesNet, Tiny) | |
TEST (HybridBayesNet, evaluateHybrid) | |
TEST (HybridBayesNet, Choose) | |
TEST (HybridBayesNet, OptimizeAssignment) | |
TEST (HybridBayesNet, Optimize) | |
TEST (HybridBayesNet, Pruning) | |
TEST (HybridBayesNet, Prune) | |
TEST (HybridBayesNet, UpdateDiscreteConditionals) | |
TEST (HybridBayesNet, Sampling) | |
Variables | |
static const Key | asiaKey = 0 |
|
static |
int main | ( | void | ) |
Definition at line 391 of file testHybridBayesNet.cpp.
TEST | ( | HybridBayesNet | , |
Creation | |||
) |
Definition at line 44 of file testHybridBayesNet.cpp.
TEST | ( | HybridBayesNet | , |
Add | |||
) |
Definition at line 55 of file testHybridBayesNet.cpp.
TEST | ( | HybridBayesNet | , |
EvaluatePureDiscrete | |||
) |
Definition at line 66 of file testHybridBayesNet.cpp.
TEST | ( | HybridBayesNet | , |
Tiny | |||
) |
Definition at line 76 of file testHybridBayesNet.cpp.
TEST | ( | HybridBayesNet | , |
evaluateHybrid | |||
) |
Definition at line 95 of file testHybridBayesNet.cpp.
TEST | ( | HybridBayesNet | , |
Choose | |||
) |
Definition at line 129 of file testHybridBayesNet.cpp.
TEST | ( | HybridBayesNet | , |
OptimizeAssignment | |||
) |
Definition at line 158 of file testHybridBayesNet.cpp.
TEST | ( | HybridBayesNet | , |
Optimize | |||
) |
Definition at line 187 of file testHybridBayesNet.cpp.
TEST | ( | HybridBayesNet | , |
Pruning | |||
) |
Definition at line 213 of file testHybridBayesNet.cpp.
TEST | ( | HybridBayesNet | , |
Prune | |||
) |
Definition at line 260 of file testHybridBayesNet.cpp.
TEST | ( | HybridBayesNet | , |
UpdateDiscreteConditionals | |||
) |
Definition at line 278 of file testHybridBayesNet.cpp.
TEST | ( | HybridBayesNet | , |
Sampling | |||
) |
Definition at line 325 of file testHybridBayesNet.cpp.
|
static |
Definition at line 39 of file testHybridBayesNet.cpp.