51#ifndef DOXYGEN_SHOULD_SKIP_THIS
62 std::vector< double >& counts) {
65 if ((idset.size() == idset.nbLHSIds()) || (this->weight_ == 0.0)
66 || (idset.nbLHSIds() == std::size_t(0)))
71 for (
auto& count: counts)
the internal prior for the BDeu score (N' / (r_i * q_i)
the internal prior for the BDeu score (N' / (r_i * q_i)
void addConditioningPseudoCount(const IdCondSet &idset, std::vector< double > &counts) final
adds the prior to a counting vector defined over the right hand side of the idset
A class for storing a pair of sets of NodeIds, the second one corresponding to a conditional set.
double weight_
the weight of the prior
double weight() const
returns the weight assigned to the prior
include the inlined functions if necessary