29 #ifndef GUM_MAX_PARENTS_MC_BAYES_NET_GENERATOR 30 #define GUM_MAX_PARENTS_MC_BAYES_NET_GENERATOR 32 #include <agrum/agrum.h> 44 # include <agrum/tools/core/mvsc/dirent.h> 48 #include <agrum/BN/BayesNet.h> 49 #include <agrum/BN/generator/MCBayesNetGenerator.h> 50 #include <agrum/BN/generator/simpleCPTDisturber.h> 51 #include <agrum/BN/generator/simpleCPTGenerator.h> 52 #include <agrum/tools/variables/labelizedVariable.h> 86 template <
typename GUM_SCALAR,
87 template <
typename >
class ICPTGenerator = SimpleCPTGenerator,
88 template <
typename >
class ICPTDisturber = SimpleCPTDisturber >
89 class MaxParentsMCBayesNetGenerator:
90 public MCBayesNetGenerator< GUM_SCALAR, ICPTGenerator, ICPTDisturber > {
117 MaxParentsMCBayesNetGenerator(Size nbrNodes,
119 Size maxModality = 2,
121 Idx iteration = 5000,
144 explicit MaxParentsMCBayesNetGenerator(BayesNet< GUM_SCALAR > bayesNet,
146 Idx iteration = 5000,
153 ~MaxParentsMCBayesNetGenerator() final;
168 Size maxParents()
const;
175 void setMaxParents(Size maxParents);
187 bool _checkConditions_() final;
190 #ifndef GUM_NO_EXTERN_TEMPLATE_CLASS 191 extern template class MaxParentsMCBayesNetGenerator<
double >;
196 #include <agrum/BN/generator/maxParentsMCBayesNetGenerator_tpl.h>