#include <gtsam/discrete/DiscreteBayesNet.h>#include <gtsam/discrete/DiscreteFactorGraph.h>#include <gtsam/discrete/DiscreteMarginals.h>#include <gtsam/base/debug.h>#include <gtsam/base/Testable.h>#include <gtsam/base/Vector.h>#include <CppUnitLite/TestHarness.h>#include <iostream>#include <string>#include <vector>
Go to the source code of this file.
Typedefs | |
| using | ADT = AlgebraicDecisionTree< Key > |
Functions | |
| static const DiscreteKey | Asia (0, 2) |
| static const DiscreteKey | Bronchitis (7, 2) |
| static const DiscreteKey | Dyspnea (1, 2) |
| static const DiscreteKey | Either (5, 2) |
| static const DiscreteKey | LungCancer (6, 2) |
| int | main () |
| static const DiscreteKey | Smoking (4, 2) |
| TEST (DiscreteBayesNet, bayesNet) | |
| TEST (DiscreteBayesNet, Asia) | |
| TEST (DiscreteBayesNet, Sugar) | |
| TEST (DiscreteBayesNet, Dot) | |
| TEST (DiscreteBayesNet, markdown) | |
| static const DiscreteKey | Tuberculosis (3, 2) |
| static const DiscreteKey | XRay (2, 2) |
| using ADT = AlgebraicDecisionTree<Key> |
Definition at line 38 of file testDiscreteBayesNet.cpp.
|
static |
| static const DiscreteKey Bronchitis | ( | 7 | , |
| 2 | |||
| ) |
| static const DiscreteKey Dyspnea | ( | 1 | , |
| 2 | |||
| ) |
| static const DiscreteKey Either | ( | 5 | , |
| 2 | |||
| ) |
| static const DiscreteKey LungCancer | ( | 6 | , |
| 2 | |||
| ) |
| int main | ( | void | ) |
Definition at line 195 of file testDiscreteBayesNet.cpp.
| static const DiscreteKey Smoking | ( | 4 | , |
| 2 | |||
| ) |
| TEST | ( | DiscreteBayesNet | , |
| bayesNet | |||
| ) |
Definition at line 41 of file testDiscreteBayesNet.cpp.
| TEST | ( | DiscreteBayesNet | , |
| Asia | |||
| ) |
Definition at line 71 of file testDiscreteBayesNet.cpp.
| TEST | ( | DiscreteBayesNet | , |
| Sugar | |||
| ) |
Definition at line 126 of file testDiscreteBayesNet.cpp.
| TEST | ( | DiscreteBayesNet | , |
| Dot | |||
| ) |
Definition at line 141 of file testDiscreteBayesNet.cpp.
| TEST | ( | DiscreteBayesNet | , |
| markdown | |||
| ) |
Definition at line 170 of file testDiscreteBayesNet.cpp.
| static const DiscreteKey Tuberculosis | ( | 3 | , |
| 2 | |||
| ) |
| static const DiscreteKey XRay | ( | 2 | , |
| 2 | |||
| ) |