27 #ifndef GUM_MAX_PARENTS_MC_BAYES_NET_GENERATOR 28 #define GUM_MAX_PARENTS_MC_BAYES_NET_GENERATOR 84 template <
typename GUM_SCALAR,
85 template <
typename >
class ICPTGenerator = SimpleCPTGenerator,
86 template <
typename >
class ICPTDisturber = SimpleCPTDisturber >
188 #ifndef GUM_NO_EXTERN_TEMPLATE_CLASS 195 #endif // MCBAYESNETGENERATOR Class representing a Bayesian Network.
Abstract class for generating Conditional Probability Tables.
<agrum/BN/generator/SimpleMCayesNetGenerator.h>
Source implementation of MaxParentsMCBayesNetGenerator.
Source implementation of SimpleCPTDisturber.
Idx q() const
Return a constant reference to the probabilité imposed on the Markov Chain BayesNetGenerator.
void setMaxParents(Size maxParents)
Modifies the value of the number of maximum parents imposed on the BayesNetGenerator.
<agrum/BN/generator/MCayesNetGenerator.h>
Class representing Bayesian networks.
Size nbrNodes() const
Return a constant reference to the number of nodes imposed on the IBayesNetGenerator.
gum is the global namespace for all aGrUM entities
Size maxArcs() const
Return a constant reference to the maximum number of arcs imposed on the IBayesNetGenerator.
bool __checkConditions() final
function to holding the the specification wanted for the Bayesian markov.
~MaxParentsMCBayesNetGenerator() final
Destructor.
MaxParentsMCBayesNetGenerator(Size nbrNodes, Size maxArcs, Size maxModality=2, Size maxParents=1, Idx iteration=5000, Idx p=30, Idx q=40)
Constructor.
Size maxParents() const
Return a constant reference to the number of maximum parents imposed on the Markov Chain BayesNetGene...
Size Idx
Type for indexes.
Size iteration() const
Return a constant reference to the number of iteration imposed on the Markov Chain BayesNetGenerator...
std::size_t Size
In aGrUM, hashed values are unsigned long int.
Class for generating bayesian networks.using MC algorithm cf.
Base class for labelized discrete random variables.
Idx p() const
Return a constant reference to the probabilité p imposed on the Markov Chain BayesNetGenerator.
Size maxModality() const
Return a constant reference to the maximum modality imposed on the IBayesNetGenerator.