static const DiscreteKey Asia(A, 2)
DiscreteBayesNet createPriors()
static const DiscreteKey Dyspnea(D, 2)
DecisionTreeFactor factor(D &C &B &A, "0.0 0.0 0.0 0.60658897 0.61241912 0.61241969 0.61247685 0.61247742 0.0 " "0.0 0.0 0.99995287 1.0 1.0 1.0 1.0")
DiscreteBayesNet createFragment()
static const DiscreteKey Tuberculosis(T, 2)
static const DiscreteKey Bronchitis(B, 2)
static const DiscreteKey XRay(X, 2)
static const DiscreteKey LungCancer(L, 2)
DiscreteBayesNet createAsiaExample()
void add(const DiscreteKey &key, const std::string &spec)
IsDerived< DERIVEDFACTOR > push_back(std::shared_ptr< DERIVEDFACTOR > factor)
Add a factor directly using a shared_ptr.
std::pair< Key, size_t > DiscreteKey
static const DiscreteKey Either(E, 2)
std::uint64_t Key
Integer nonlinear key type.
static const DiscreteKey Smoking(S, 2)
gtsam
Author(s):
autogenerated on Wed Mar 19 2025 03:01:15