51#ifndef GUM_LEARNING_SCORE_BD_H
52#define GUM_LEARNING_SCORE_BD_H
112 const std::vector< std::pair< std::size_t, std::size_t > >&
ranges,
216#ifndef DOXYGEN_SHOULD_SKIP_THIS
The class for computing Log2 (Gamma(x)).
the class used to read a row in the database and to transform it into a set of DBRow instances that c...
A class for storing a pair of sets of NodeIds, the second one corresponding to a conditional set.
the no a priorclass: corresponds to 0 weight-sample
the base class for all a priori
ScoreBD(const DBRowGeneratorParser &parser, const Prior &prior, const std::vector< std::pair< std::size_t, std::size_t > > &ranges, const Bijection< NodeId, std::size_t > &nodeId2columns=Bijection< NodeId, std::size_t >())
default constructor
ScoreBD & operator=(ScoreBD &&from)
move operator
virtual double score_(const IdCondSet &idset) final
returns the score for a given IdCondSet
virtual std::string isPriorCompatible() const final
indicates whether the prior is compatible (meaningful) with the score
virtual ScoreBD * clone() const
virtual copy constructor
virtual ~ScoreBD()
destructor
ScoreBD(const DBRowGeneratorParser &parser, const Prior &prior, const Bijection< NodeId, std::size_t > &nodeId2columns=Bijection< NodeId, std::size_t >())
default constructor
virtual const Prior & internalPrior() const final
returns the internal prior of the score
ScoreBD(ScoreBD &&from)
move constructor
ScoreBD & operator=(const ScoreBD &from)
copy operator
ScoreBD(const ScoreBD &from)
copy constructor
const std::vector< std::pair< std::size_t, std::size_t > > & ranges() const
returns the current ranges
Score(const DBRowGeneratorParser &parser, const Prior &external_prior, const std::vector< std::pair< std::size_t, std::size_t > > &ranges, const Bijection< NodeId, std::size_t > &nodeId2columns=Bijection< NodeId, std::size_t >())
default constructor
The class for computing Log2 (Gamma(x)).
include the inlined functions if necessary
gum is the global namespace for all aGrUM entities
the no a priorclass: corresponds to 0 weight-sample
the class for computing BD scores
the base class for all the scores used for learning (BIC, BDeu, etc)