48#ifndef GUM_LEARNING_DBROW_GENERATOR_WITH_BN_H
49#define GUM_LEARNING_DBROW_GENERATOR_WITH_BN_H
99 template <
typename GUM_SCALAR =
double >
110 const BayesNet< GUM_SCALAR >& bn,
144 const BayesNet< GUM_SCALAR >*
bn_;
A DBRowGenerator class that returns incomplete rows as EM would do.
The base class for all DBRow generators.
const BayesNet< GUM_SCALAR > & getBayesNet() const
returns the Bayes net used by the generator
const BayesNet< GUM_SCALAR > * bn_
the Bayesian network used to fill the unobserved values
DBRowGeneratorWithBN< GUM_SCALAR > & operator=(DBRowGeneratorWithBN< GUM_SCALAR > &&from)
move operator
DBRowGeneratorWithBN< GUM_SCALAR > & operator=(const DBRowGeneratorWithBN< GUM_SCALAR > &from)
copy operator
DBRowGeneratorWithBN(const std::vector< DBTranslatedValueType > &column_types, const BayesNet< GUM_SCALAR > &bn, const DBRowGeneratorGoal goal, const Bijection< NodeId, std::size_t > &nodeId2columns=Bijection< NodeId, std::size_t >())
default constructor
virtual void setBayesNet(const BayesNet< GUM_SCALAR > &new_bn)
assign a new Bayes net to the generator
Bijection< NodeId, std::size_t > nodeId2columns_
the mapping betwen the BN's node ids and the database's columns
~DBRowGeneratorWithBN()
destructor
DBRowGeneratorWithBN(const DBRowGeneratorWithBN< GUM_SCALAR > &from)
copy constructor
DBRowGeneratorWithBN(DBRowGeneratorWithBN< GUM_SCALAR > &&from)
move constructor
DBRowGenerator(const std::vector< DBTranslatedValueType > &column_types, const DBRowGeneratorGoal goal)
default constructor
DBRowGeneratorGoal goal() const
returns the goal of the DBRowGenerator
DBRowGeneratorGoal
the type of things that a DBRowGenerator is designed for
include the inlined functions if necessary
gum is the global namespace for all aGrUM entities
Implementation of a variable elimination algorithm for inference in Bayesian networks.