58 template <
class >
class ICPTGenerator,
59 template <
class >
class ICPTDisturber >
76 "maxParents must be at least equal to 1 to have a connexe graph")
83 template <
class >
class ICPTGenerator,
84 template <
class >
class ICPTDisturber >
98 template <
class >
class ICPTGenerator,
99 template <
class >
class ICPTDisturber >
106 template <
class >
class ICPTGenerator,
107 template <
class >
class ICPTDisturber >
110 for (
auto node: this->
dag_.nodes())
117 template <
class >
class ICPTGenerator,
118 template <
class >
class ICPTDisturber >
125 template <
class >
class ICPTGenerator,
126 template <
class >
class ICPTDisturber >
131 "maxParents must be at least equal to 1 to have a connexe graph")
MCBayesNetGenerator(Size nbrNodes, Size maxArcs, Idx maxModality=2, Size iteration=NB_INIT_ITERATIONS, Idx p=30, Idx q=40)
virtual bool _checkConditions_()
The boolean function that will assert the respect of the constraint.
MaxParentsMCBayesNetGenerator(Size nbrNodes, Size maxArcs, Size maxModality=2, Size maxParents=1, Idx iteration=NB_INIT_ITERATIONS, Idx p=30, Idx q=40)
Constructor.
void setMaxParents(Size maxParents)
Modifies the value of the number of maximum parents imposed on the BayesNetGenerator.
~MaxParentsMCBayesNetGenerator() override
Destructor.
bool _checkConditions_() final
function to holding the specification wanted for the Bayesian network.
Size maxParents() const
Return a constant reference to the number of maximum parents imposed on the Markov Chain BayesNetGene...
Exception : operation not allowed.
Complete concept for GUM_SCALAR template parameter.
#define GUM_ERROR(type, msg)
std::size_t Size
In aGrUM, hashed values are unsigned long int.
Size Idx
Type for indexes.
Class for generating Bayesian networks using MC algorithm cf.
gum is the global namespace for all aGrUM entities