26 #ifndef GUM_SIMPLE_BAYES_NET_GENERATOR_H 27 #define GUM_SIMPLE_BAYES_NET_GENERATOR_H 54 template <
typename GUM_SCALAR,
55 template <
typename >
class ICPTGenerator = SimpleCPTGenerator >
94 #ifndef GUM_NO_EXTERN_TEMPLATE_CLASS Class representing a Bayesian Network.
Class for generating 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.
<agrum/BN/generator/simpleBayesNetGenerator.h>
void generateBN(BayesNet< GUM_SCALAR > &bayesNet) override
function that generates a bayesian networks.
std::size_t Size
In aGrUM, hashed values are unsigned long int.
Interface-like class for generating bayesian networks.
SimpleBayesNetGenerator(Size nbrNodes, Size maxArcs, Size maxModality=2)
Constructor.
Size maxModality() const
Return a constant reference to the maximum modality imposed on the IBayesNetGenerator.
~SimpleBayesNetGenerator() override
Destructor.
Source implementation of SimpleBayesNetGenerator.