54#ifndef GUM_LEARNING_GREEDY_THICK_THINNING_H
55#define GUM_LEARNING_GREEDY_THICK_THINNING_H
127 template <
typename GRAPH_CHANGES_
SELECTOR >
132 typename GRAPH_CHANGES_SELECTOR,
133 typename PARAM_ESTIMATOR >
134 BayesNet< GUM_SCALAR >
learnBN(GRAPH_CHANGES_SELECTOR& selector,
135 PARAM_ESTIMATOR& estimator,
Class representing Bayesian networks.
This file contains general scheme for iteratively convergent algorithms.
ApproximationScheme(bool verbosity=false)
void setAllowReversalsInThinPhase(bool allow)
enable or disable arc reversals during the thin phase (default: false)
DAG learnStructure(GRAPH_CHANGES_SELECTOR &selector, DAG initial_dag=DAG())
learns the structure of a Bayes net
BayesNet< GUM_SCALAR > learnBN(GRAPH_CHANGES_SELECTOR &selector, PARAM_ESTIMATOR &estimator, DAG initial_dag=DAG())
learns the structure and the parameters of a BN
~GreedyThickThinning() override
destructor
GreedyThickThinning()
default constructor
bool _allowReversalsInThinPhase_
bool allowReversalsInThinPhase() const
returns whether arc reversals are allowed in the thin phase
ApproximationScheme & approximationScheme()
returns the approximation policy of the learning algorithm
GreedyThickThinning & operator=(const GreedyThickThinning &from)
copy operator
Complete concept for GUM_SCALAR template parameter.
The greedy thick-thinning learning algorithm (for directed graphs).
include the inlined functions if necessary
gum is the global namespace for all aGrUM entities