![]() |
aGrUM 2.3.2
a C++ library for (probabilistic) graphical models
|
<agrum/BN/generator/SimpleMCayesNetGenerator.h> More...
#include <maxParentsMCBayesNetGenerator.h>
Public Member Functions | |
Constructors / Destructor | |
| MaxParentsMCBayesNetGenerator (Size nbrNodes, Size maxArcs, Size maxModality=2, Size maxParents=1, Idx iteration=NB_INIT_ITERATIONS, Idx p=30, Idx q=40) | |
| Constructor. | |
| MaxParentsMCBayesNetGenerator (BayesNet< GUM_SCALAR > bayesNet, Size maxParents=2, Idx iteration=NB_INIT_ITERATIONS, Idx p=30, Idx q=40) | |
| Constructor. | |
| ~MaxParentsMCBayesNetGenerator () | |
| Destructor. | |
Getters | |
| Size | maxParents () const |
| Return a constant reference to the number of maximum parents imposed on the Markov Chain BayesNetGenerator. | |
Setters | |
| void | setMaxParents (Size maxParents) |
| Modifies the value of the number of maximum parents imposed on the BayesNetGenerator. | |
BN generation methods | |
| void | generateBN (BayesNet< GUM_SCALAR > &bayesNet) override |
| Generates a random Bayesian network. | |
Getters | |
| Size | iteration () const |
| Return a constant reference to the number of iteration imposed on the Markov Chain BayesNetGenerator. | |
| Idx | p () const |
| Return a constant reference to the probabilité p imposed on the Markov Chain BayesNetGenerator. | |
| Idx | q () const |
| Return a constant reference to the probabilité imposed on the Markov Chain BayesNetGenerator. | |
Setters | |
| void | setIteration (Size iteration) |
| Modifies the value of the number of iterations impose on the BayesNetGenerator. | |
| void | setP (Idx p) |
| Modifies the value of the probability p imposed on the BayesNetGenerator. | |
| void | setQ (Idx q) |
| Modifies the value of the probability q imposed on the BayesNetGenerator. | |
BN generation methods | |
| void | fromDAG (BayesNet< GUM_SCALAR > &bayesNet) |
| Virtual function that Generates a Bayesian networks. | |
| void | fillCPT (BayesNet< GUM_SCALAR > &bn) const |
| function that insert random values in the CPT of each nodes according to the CPTGenerator. | |
Getters | |
| Size | nbrNodes () const |
| Return a constant reference to the number of nodes imposed on the IBayesNetGenerator. | |
| Size | maxArcs () const |
| Return a constant reference to the maximum number of arcs imposed on the IBayesNetGenerator. | |
| Size | maxModality () const |
| Return a constant reference to the maximum modality imposed on the IBayesNetGenerator. | |
Setters | |
| void | setNbrNodes (Size nbrNodes) |
| Modifies the value of the number of nodes imposed on the BayesGenerator. | |
| void | setMaxArcs (Size maxArcs) |
| Modifies the value of the number of nodes imposed on the BayesGenerator. | |
| void | setMaxModality (Size maxModality) |
| Modifies the value of the number of nodes imposed on the BayesGenerator. | |
CPT generation methods | |
| void | generateCPT (const Idx &varId, const Tensor< GUM_SCALAR > &cpt) const override |
| Generates a CPT using floats. | |
CPT disturbing methods | |
| void | disturbReducCPT (NodeId node, BayesNet< GUM_SCALAR > &bayesNet, Tensor< GUM_SCALAR > &src, Tensor< GUM_SCALAR > &marg) override |
| Disturb a CPT using GUM_SCALAR when removing parent varIdi. | |
| void | disturbAugmCPT (NodeId node, BayesNet< GUM_SCALAR > &bayesNet, Tensor< GUM_SCALAR > &src, GUM_SCALAR variation) override |
| Disturb a CPT using GUM_SCALAR when inserting a new parent new_parent. | |
Protected Member Functions | |
| bool | _isPolytree_ () |
| The function that verify if graph is a polytree. | |
| bool | _connect_ (NodeId i, NodeId j) |
| The function that verify if node i and j are connected. | |
| bool | _directedPath_ (NodeId tail, NodeId head) |
| The function that verify if there is a oriented path from node i to node j. | |
| void | _insertArc_ (NodeId i, NodeId j) |
| The function that will insert an arc between node i to node j, but only if there isn't any cycle created. | |
| void | _eraseArc_ (NodeId i, NodeId j, bool mustbeconnex=true) |
| The function that will remove the arc between node i and node j. | |
| void | _PMMx_poly_ () |
| In the case that the graph is a polytree, the function will, according to the probability p and q, choose which change of state must occur (AorR or AR or jump) then will assert that the imposed constraints are respected and if not, will return to the previous topology. | |
| void | _PMMx_multi_ () |
| In the case that the graph is a multiconnected graph, the function will, according to the probability p and q, choose which change of state must occur (AorR or jump) then will assert that the imposed constraint are respected and if not, will return to the previous topology. | |
| void | _jump_poly_ () |
| In the case that the graph is a polytree, the function will add a random arc by the use of the function insertArc if the arc does not exist already. | |
| void | _jump_multi_ () |
| In the case that the graph is a multiconnect graph, the function will choose randomly two nodes and will remove the arc between them by the use of the function insertArc if the arc exists. | |
| void | _Add_or_Remove_ () |
| The function will add or remove a random arc in the graph using the functions insertArc and removeArc. | |
| void | _Add_and_Remove_ () |
| The function will remove and add a random arc changing the topology of the graph but asserting its connectivity. | |
| bool | _is_connected_ (const NodeId i, const NodeId j, NodeSet &excluded) |
| The internal function used by the previous is_connected. | |
| void | _chooseNodes_ (NodeId &i, NodeId &j) |
| The function that randomly choose two nodes of the graph. | |
| void | _chooseCloseNodes_ (NodeId &i, NodeId &j) |
| The function that randomly choose two neighbours nodes of the graph. | |
| void | _transformPoly_ (Idx nbiter) |
| The function that randomly change the simple tree into a polytree. | |
| void | _createTree_ (Size BNSize) |
| The function that randomly generate a simple tree. | |
| NodeId | _createPartTree_ (Size BNSize, Idx &n) |
| The internal function used by createTree that randomly generate a simple tree. | |
Protected Attributes | |
| Size | maxParents_ |
| Size | iteration_ |
| Idx | p_ |
| Idx | q_ |
| Size | nbrNodes_ |
| Size | maxArcs_ |
| Size | maxModality_ |
| DAG | dag_ |
Private Member Functions | |
| bool | _checkConditions_ () final |
| function to holding the the specification wanted for the Bayesian markov. | |
<agrum/BN/generator/SimpleMCayesNetGenerator.h>
Class for generating Bayesian networks with Markov chains.
This class is inherited from MCBayesNetGenerator and is an example of Markov Chain Bayesian network Generator that can be implemented. Here a constraint is added which is the maximum number of parents that a node can have. To create our own MCBayesNetGenerator with a specific constraint you must:
1) Create the class XXXXXXMCBayesNetGenerator<GUM_SCALAR,ICPTGenerator,ICPTDisturber>.
2) Add a variable specific to the constraint (here maxParents_).
3) Verify in the function checkCondition_() the wanted constraint and then launch MCBayesNetGenerator<GUM_SCALAR,ICPTGenerator,ICPTDisturber>:: checkConditions() to verify the default constraint.
4) Define the getters and setters of the constraint variable.
5) And verify in the constructor that the constraint is not in contradiction with the generator here maxParent must be >= 1.
Definition at line 97 of file maxParentsMCBayesNetGenerator.h.
| INLINE gum::MaxParentsMCBayesNetGenerator< GUM_SCALAR, ICPTGenerator, ICPTDisturber >::MaxParentsMCBayesNetGenerator | ( | Size | nbrNodes, |
| Size | maxArcs, | ||
| Size | maxModality = 2, | ||
| Size | maxParents = 1, | ||
| Idx | iteration = NB_INIT_ITERATIONS, | ||
| Idx | p = 30, | ||
| Idx | q = 40 ) |
Constructor.
Use by default the SimpleCPTGenerator for generating the BNs CPT and the SimpleCPTDisturber to tweak the CPT when the dimension of the table changes.
| nbrNodes | The number of nodes in the generated BN. |
| maxArcs | The maximum number of Arcs. |
| maxModality | Each DRV has from 2 to maxModality modalities |
| maxParents | The number of maximum parents for each node imposed on the generator |
| iteration | The number of iterations wanted to repeat the algorithm |
| p | probability for the change of the state (see useof p and q ) |
| q | probability for the change of the state (see useof p and q ) |
Definition at line 59 of file maxParentsMCBayesNetGenerator_tpl.h.
References MaxParentsMCBayesNetGenerator(), gum::MCBayesNetGenerator< GUM_SCALAR, SimpleCPTGenerator, SimpleCPTDisturber >::MCBayesNetGenerator(), GUM_ERROR, gum::MCBayesNetGenerator< GUM_SCALAR, SimpleCPTGenerator, SimpleCPTDisturber >::iteration(), gum::MCBayesNetGenerator< GUM_SCALAR, SimpleCPTGenerator, SimpleCPTDisturber >::maxArcs(), gum::MCBayesNetGenerator< GUM_SCALAR, SimpleCPTGenerator, SimpleCPTDisturber >::maxModality(), maxParents(), maxParents_, gum::MCBayesNetGenerator< GUM_SCALAR, SimpleCPTGenerator, SimpleCPTDisturber >::nbrNodes(), gum::MCBayesNetGenerator< GUM_SCALAR, SimpleCPTGenerator, SimpleCPTDisturber >::p(), and gum::MCBayesNetGenerator< GUM_SCALAR, SimpleCPTGenerator, SimpleCPTDisturber >::q().
Referenced by MaxParentsMCBayesNetGenerator(), MaxParentsMCBayesNetGenerator(), and ~MaxParentsMCBayesNetGenerator().
|
explicit |
Constructor.
Use by default the SimpleCPTGenerator for generating the BNs CPT and the SimpleCPTDisturber to tweak the CPT when the dimension of the table changes.
| bayesNet | the IBayesNet used as reference to fill the parameters nbrNodes, maxArcs and maxModality |
| maxParents | The number of maximum parents for each node imposed on the generator |
| iteration | The number of iterations wanted to repeat the algorithm |
| p | probability for the change of the state (see useof p and q ) |
| q | probability for the change of the state (see useof p and q ) |
Definition at line 84 of file maxParentsMCBayesNetGenerator_tpl.h.
References MaxParentsMCBayesNetGenerator(), gum::MCBayesNetGenerator< GUM_SCALAR, SimpleCPTGenerator, SimpleCPTDisturber >::MCBayesNetGenerator(), gum::MCBayesNetGenerator< GUM_SCALAR, SimpleCPTGenerator, SimpleCPTDisturber >::iteration(), maxParents(), maxParents_, gum::MCBayesNetGenerator< GUM_SCALAR, SimpleCPTGenerator, SimpleCPTDisturber >::p(), and gum::MCBayesNetGenerator< GUM_SCALAR, SimpleCPTGenerator, SimpleCPTDisturber >::q().
| INLINE gum::MaxParentsMCBayesNetGenerator< GUM_SCALAR, ICPTGenerator, ICPTDisturber >::~MaxParentsMCBayesNetGenerator | ( | ) |
Destructor.
Definition at line 99 of file maxParentsMCBayesNetGenerator_tpl.h.
References MaxParentsMCBayesNetGenerator().
|
protectedinherited |
The function will remove and add a random arc changing the topology of the graph but asserting its connectivity.
Definition at line 369 of file MCBayesNetGenerator_tpl.h.
|
protectedinherited |
The function will add or remove a random arc in the graph using the functions insertArc and removeArc.
Definition at line 363 of file MCBayesNetGenerator_tpl.h.
References dag_.
Referenced by MCBayesNetGenerator(), and generateBN().
|
finalprivatevirtual |
function to holding the the specification wanted for the Bayesian markov.
Reimplemented from gum::MCBayesNetGenerator< GUM_SCALAR, SimpleCPTGenerator, SimpleCPTDisturber >.
Definition at line 107 of file maxParentsMCBayesNetGenerator_tpl.h.
References gum::MCBayesNetGenerator< GUM_SCALAR, ICPTGenerator, ICPTDisturber >::_checkConditions_(), gum::MCBayesNetGenerator< GUM_SCALAR, SimpleCPTGenerator, SimpleCPTDisturber >::dag_, and maxParents_.
|
protectedinherited |
The function that randomly choose two neighbours nodes of the graph.
Definition at line 401 of file MCBayesNetGenerator_tpl.h.
References dag_.
|
protectedinherited |
The function that randomly choose two nodes of the graph.
Definition at line 396 of file MCBayesNetGenerator_tpl.h.
Referenced by _PMMx_multi_().
|
protectedinherited |
The function that verify if node i and j are connected.
Definition at line 312 of file MCBayesNetGenerator_tpl.h.
References dag_.
Referenced by _is_connected_().
|
protectedinherited |
The internal function used by createTree that randomly generate a simple tree.
n : id number for node label
Definition at line 420 of file MCBayesNetGenerator_tpl.h.
References dag_.
|
protectedinherited |
The function that randomly generate a simple tree.
Definition at line 412 of file MCBayesNetGenerator_tpl.h.
|
protectedinherited |
The function that verify if there is a oriented path from node i to node j.
Definition at line 317 of file MCBayesNetGenerator_tpl.h.
References _is_connected_(), dag_, and gum::Set< Key >::insert().
Referenced by _jump_multi_().
|
protectedinherited |
The function that will remove the arc between node i and node j.
If the boolean parameter mustbeconnex is true, the function will assert that the graph remain connected and will restore the arc otherwise.
Definition at line 330 of file MCBayesNetGenerator_tpl.h.
Referenced by _PMMx_multi_().
|
protectedinherited |
The function that will insert an arc between node i to node j, but only if there isn't any cycle created.
Definition at line 323 of file MCBayesNetGenerator_tpl.h.
References dag_.
Referenced by _PMMx_poly_().
|
protectedinherited |
The internal function used by the previous is_connected.
It asserts the existence of an unoriented path between node i and node j avoiding passing through nodes listed in excluded.
Definition at line 383 of file MCBayesNetGenerator_tpl.h.
References _connect_(), and dag_.
Referenced by _directedPath_(), and _isPolytree_().
|
protectedinherited |
The function that verify if graph is a polytree.
Definition at line 308 of file MCBayesNetGenerator_tpl.h.
References _is_connected_().
Referenced by generateBN().
|
protectedinherited |
In the case that the graph is a multiconnect graph, the function will choose randomly two nodes and will remove the arc between them by the use of the function insertArc if the arc exists.
Definition at line 357 of file MCBayesNetGenerator_tpl.h.
References _directedPath_().
|
protectedinherited |
In the case that the graph is a polytree, the function will add a random arc by the use of the function insertArc if the arc does not exist already.
Definition at line 350 of file MCBayesNetGenerator_tpl.h.
|
protectedinherited |
In the case that the graph is a multiconnected graph, the function will, according to the probability p and q, choose which change of state must occur (AorR or jump) then will assert that the imposed constraint are respected and if not, will return to the previous topology.
Definition at line 345 of file MCBayesNetGenerator_tpl.h.
References _chooseNodes_(), _eraseArc_(), and dag_.
Referenced by MCBayesNetGenerator().
|
protectedinherited |
In the case that the graph is a polytree, the function will, according to the probability p and q, choose which change of state must occur (AorR or AR or jump) then will assert that the imposed constraints are respected and if not, will return to the previous topology.
Definition at line 338 of file MCBayesNetGenerator_tpl.h.
References _insertArc_(), and dag_.
Referenced by generateBN().
|
protectedinherited |
The function that randomly change the simple tree into a polytree.
Definition at line 407 of file MCBayesNetGenerator_tpl.h.
References dag_.
|
overrideinherited |
Disturb a CPT using GUM_SCALAR when inserting a new parent new_parent.
| node | A reference on the CPT owner. |
| bayesNet | the Bayesian network. |
| src | copy of the CPT before augmentation. |
| variation | degree of variation from the initial probability. |
Definition at line 94 of file simpleCPTDisturber_tpl.h.
|
overrideinherited |
Disturb a CPT using GUM_SCALAR when removing parent varIdi.
| node | The variable on the CPT owner. |
| bayesNet | the Bayesian network. |
| src | copy of the CPT before reduction. |
| marg | of the inference before reduction on the node varIdi. |
Definition at line 70 of file simpleCPTDisturber_tpl.h.
References gum::Instantiation::end(), gum::Instantiation::setFirst(), and gum::Instantiation::setVals().
|
inherited |
function that insert random values in the CPT of each nodes according to the CPTGenerator.
Definition at line 130 of file IBayesNetGenerator_tpl.h.
References dag_, maxModality_, and gum::randomValue().
Referenced by gum::MCBayesNetGenerator< GUM_SCALAR, ICPTGenerator, ICPTDisturber >::generateBN(), and gum::SimpleBayesNetGenerator< GUM_SCALAR, ICPTGenerator >::generateBN().
|
inherited |
Virtual function that Generates a Bayesian networks.
| bayesNet | Bayesian network to be completed after initialisation |
Definition at line 122 of file IBayesNetGenerator_tpl.h.
References maxArcs(), and maxArcs_.
Referenced by gum::MCBayesNetGenerator< GUM_SCALAR, ICPTGenerator, ICPTDisturber >::generateBN(), and gum::SimpleBayesNetGenerator< GUM_SCALAR, ICPTGenerator >::generateBN().
|
overridevirtualinherited |
Generates a random Bayesian network.
| bayesNet | empty IBayesNet to generate. |
Implements gum::IBayesNetGenerator< GUM_SCALAR, SimpleCPTGenerator >.
Definition at line 237 of file MCBayesNetGenerator_tpl.h.
References _Add_or_Remove_(), _checkConditions_(), _isPolytree_(), _PMMx_poly_(), dag_, iteration_, p_, and q_.
|
overrideinherited |
Generates a CPT using floats.
| varId | The variable id of the CPT owner. |
| cpt | A reference on the CPT to fill. |
Definition at line 72 of file simpleCPTGenerator_tpl.h.
|
inherited |
Return a constant reference to the number of iteration imposed on the Markov Chain BayesNetGenerator.
Definition at line 266 of file MCBayesNetGenerator_tpl.h.
Referenced by gum::MaxInducedWidthMCBayesNetGenerator< GUM_SCALAR, ICPTGenerator, ICPTDisturber >::MaxInducedWidthMCBayesNetGenerator(), gum::MaxInducedWidthMCBayesNetGenerator< GUM_SCALAR, ICPTGenerator, ICPTDisturber >::MaxInducedWidthMCBayesNetGenerator(), gum::MaxParentsMCBayesNetGenerator< GUM_SCALAR, ICPTGenerator, ICPTDisturber >::MaxParentsMCBayesNetGenerator(), and gum::MaxParentsMCBayesNetGenerator< GUM_SCALAR, ICPTGenerator, ICPTDisturber >::MaxParentsMCBayesNetGenerator().
|
inherited |
Return a constant reference to the maximum number of arcs imposed on the IBayesNetGenerator.
Definition at line 151 of file IBayesNetGenerator_tpl.h.
Referenced by gum::MCBayesNetGenerator< GUM_SCALAR, ICPTGenerator, ICPTDisturber >::MCBayesNetGenerator(), gum::SimpleBayesNetGenerator< GUM_SCALAR, ICPTGenerator >::SimpleBayesNetGenerator(), and fromDAG().
|
inherited |
Return a constant reference to the maximum modality imposed on the IBayesNetGenerator.
Definition at line 157 of file IBayesNetGenerator_tpl.h.
Referenced by gum::MCBayesNetGenerator< GUM_SCALAR, ICPTGenerator, ICPTDisturber >::MCBayesNetGenerator(), gum::SimpleBayesNetGenerator< GUM_SCALAR, ICPTGenerator >::SimpleBayesNetGenerator(), and ~IBayesNetGenerator().
| INLINE Size gum::MaxParentsMCBayesNetGenerator< GUM_SCALAR, ICPTGenerator, ICPTDisturber >::maxParents | ( | ) | const |
Return a constant reference to the number of maximum parents imposed on the Markov Chain BayesNetGenerator.
Definition at line 119 of file maxParentsMCBayesNetGenerator_tpl.h.
References maxParents_.
Referenced by MaxParentsMCBayesNetGenerator(), MaxParentsMCBayesNetGenerator(), and setMaxParents().
|
inherited |
Return a constant reference to the number of nodes imposed on the IBayesNetGenerator.
Definition at line 145 of file IBayesNetGenerator_tpl.h.
Referenced by gum::MCBayesNetGenerator< GUM_SCALAR, ICPTGenerator, ICPTDisturber >::MCBayesNetGenerator(), and gum::SimpleBayesNetGenerator< GUM_SCALAR, ICPTGenerator >::SimpleBayesNetGenerator().
|
inherited |
Return a constant reference to the probabilité p imposed on the Markov Chain BayesNetGenerator.
Definition at line 272 of file MCBayesNetGenerator_tpl.h.
Referenced by gum::MaxInducedWidthMCBayesNetGenerator< GUM_SCALAR, ICPTGenerator, ICPTDisturber >::MaxInducedWidthMCBayesNetGenerator(), gum::MaxInducedWidthMCBayesNetGenerator< GUM_SCALAR, ICPTGenerator, ICPTDisturber >::MaxInducedWidthMCBayesNetGenerator(), gum::MaxParentsMCBayesNetGenerator< GUM_SCALAR, ICPTGenerator, ICPTDisturber >::MaxParentsMCBayesNetGenerator(), and gum::MaxParentsMCBayesNetGenerator< GUM_SCALAR, ICPTGenerator, ICPTDisturber >::MaxParentsMCBayesNetGenerator().
|
inherited |
Return a constant reference to the probabilité imposed on the Markov Chain BayesNetGenerator.
Definition at line 277 of file MCBayesNetGenerator_tpl.h.
Referenced by gum::MaxInducedWidthMCBayesNetGenerator< GUM_SCALAR, ICPTGenerator, ICPTDisturber >::MaxInducedWidthMCBayesNetGenerator(), gum::MaxInducedWidthMCBayesNetGenerator< GUM_SCALAR, ICPTGenerator, ICPTDisturber >::MaxInducedWidthMCBayesNetGenerator(), gum::MaxParentsMCBayesNetGenerator< GUM_SCALAR, ICPTGenerator, ICPTDisturber >::MaxParentsMCBayesNetGenerator(), and gum::MaxParentsMCBayesNetGenerator< GUM_SCALAR, ICPTGenerator, ICPTDisturber >::MaxParentsMCBayesNetGenerator().
|
inherited |
Modifies the value of the number of iterations impose on the BayesNetGenerator.
Definition at line 285 of file MCBayesNetGenerator_tpl.h.
|
inherited |
Modifies the value of the number of nodes imposed on the BayesGenerator.
Definition at line 172 of file IBayesNetGenerator_tpl.h.
|
inherited |
Modifies the value of the number of nodes imposed on the BayesGenerator.
Definition at line 177 of file IBayesNetGenerator_tpl.h.
| INLINE void gum::MaxParentsMCBayesNetGenerator< GUM_SCALAR, ICPTGenerator, ICPTDisturber >::setMaxParents | ( | Size | maxParents | ) |
Modifies the value of the number of maximum parents imposed on the BayesNetGenerator.
Definition at line 128 of file maxParentsMCBayesNetGenerator_tpl.h.
References GUM_ERROR, maxParents(), and maxParents_.
|
inherited |
Modifies the value of the number of nodes imposed on the BayesGenerator.
Definition at line 167 of file IBayesNetGenerator_tpl.h.
|
inherited |
Modifies the value of the probability p imposed on the BayesNetGenerator.
Definition at line 289 of file MCBayesNetGenerator_tpl.h.
|
inherited |
Modifies the value of the probability q imposed on the BayesNetGenerator.
Definition at line 293 of file MCBayesNetGenerator_tpl.h.
References dag_.
|
protectedinherited |
Definition at line 187 of file IBayesNetGenerator.h.
Referenced by gum::MCBayesNetGenerator< GUM_SCALAR, ICPTGenerator, ICPTDisturber >::_Add_or_Remove_(), gum::MCBayesNetGenerator< GUM_SCALAR, ICPTGenerator, ICPTDisturber >::_checkConditions_(), gum::MCBayesNetGenerator< GUM_SCALAR, ICPTGenerator, ICPTDisturber >::_chooseCloseNodes_(), gum::MCBayesNetGenerator< GUM_SCALAR, ICPTGenerator, ICPTDisturber >::_chooseNodes_(), gum::MCBayesNetGenerator< GUM_SCALAR, ICPTGenerator, ICPTDisturber >::_connect_(), gum::MCBayesNetGenerator< GUM_SCALAR, ICPTGenerator, ICPTDisturber >::_createPartTree_(), gum::MCBayesNetGenerator< GUM_SCALAR, ICPTGenerator, ICPTDisturber >::_createTree_(), gum::MCBayesNetGenerator< GUM_SCALAR, ICPTGenerator, ICPTDisturber >::_directedPath_(), gum::MCBayesNetGenerator< GUM_SCALAR, ICPTGenerator, ICPTDisturber >::_directedPath_(), gum::MCBayesNetGenerator< GUM_SCALAR, ICPTGenerator, ICPTDisturber >::_is_connected_(), gum::MCBayesNetGenerator< GUM_SCALAR, ICPTGenerator, ICPTDisturber >::_isPolytree_(), gum::MCBayesNetGenerator< GUM_SCALAR, ICPTGenerator, ICPTDisturber >::_transformPoly_(), fillCPT(), and gum::SimpleBayesNetGenerator< GUM_SCALAR, ICPTGenerator >::generateBN().
|
protectedinherited |
Definition at line 298 of file MCBayesNetGenerator.h.
Referenced by MCBayesNetGenerator(), and generateBN().
|
protectedinherited |
Definition at line 185 of file IBayesNetGenerator.h.
Referenced by gum::MCBayesNetGenerator< GUM_SCALAR, ICPTGenerator, ICPTDisturber >::_checkConditions_(), fromDAG(), and gum::SimpleBayesNetGenerator< GUM_SCALAR, ICPTGenerator >::generateBN().
|
protectedinherited |
Definition at line 186 of file IBayesNetGenerator.h.
Referenced by ~IBayesNetGenerator(), and fillCPT().
|
protected |
Definition at line 187 of file maxParentsMCBayesNetGenerator.h.
Referenced by MaxParentsMCBayesNetGenerator(), MaxParentsMCBayesNetGenerator(), _checkConditions_(), maxParents(), and setMaxParents().
|
protectedinherited |
Definition at line 184 of file IBayesNetGenerator.h.
Referenced by gum::MCBayesNetGenerator< GUM_SCALAR, ICPTGenerator, ICPTDisturber >::generateBN(), and gum::SimpleBayesNetGenerator< GUM_SCALAR, ICPTGenerator >::generateBN().
|
protectedinherited |
Definition at line 299 of file MCBayesNetGenerator.h.
Referenced by MCBayesNetGenerator(), and generateBN().
|
protectedinherited |
Definition at line 299 of file MCBayesNetGenerator.h.
Referenced by generateBN().