![]() |
aGrUM
0.16.0
|
This class decorates a gum::prm::Class<GUM_SCALAR> has an IBaseBayesNet. More...
#include <agrum/PRM/classBayesNet.h>
Public Member Functions | |
bool | operator== (const IBayesNet< GUM_SCALAR > &from) const |
This operator compares 2 BNs ! More... | |
bool | operator!= (const IBayesNet< GUM_SCALAR > &from) const |
Size | dim () const |
Returns the dimension (the number of free parameters) in this bayes net. More... | |
Size | maxVarDomainSize () const |
GUM_SCALAR | minParam () const |
GUM_SCALAR | maxParam () const |
GUM_SCALAR | minNonZeroParam () const |
GUM_SCALAR | maxNonOneParam () const |
std::string | toString () const |
NodeSet | minimalCondSet (NodeId target, const NodeSet &soids) const |
NodeSet | minimalCondSet (const NodeSet &targets, const NodeSet &soids) const |
double | log10DomainSize () const |
bool | hasSameStructure (const DAGmodel &other) |
Constructors & destructor. | |
ClassBayesNet (const PRMClass< GUM_SCALAR > &c) | |
Default constructor. More... | |
ClassBayesNet (const ClassBayesNet< GUM_SCALAR > &from) | |
Copy constructor. More... | |
ClassBayesNet< GUM_SCALAR > & | operator= (const ClassBayesNet< GUM_SCALAR > &from) |
Copy operator. More... | |
virtual | ~ClassBayesNet () |
Destructor. More... | |
Variable manipulation methods. | |
virtual const Potential< GUM_SCALAR > & | cpt (NodeId varId) const |
Returns the CPT of a node in this ClassBayesNet<GUM_SCALAR>. More... | |
virtual const VariableNodeMap & | variableNodeMap () const |
See gum::IBaseBayesNet::variableNodeMap(). More... | |
virtual const DiscreteVariable & | variable (NodeId id) const |
See gum::IBaseBayesNet::variable(). More... | |
virtual NodeId | nodeId (const DiscreteVariable &var) const |
See gum::IBaseBayesNet::nodeId(). More... | |
virtual NodeId | idFromName (const std::string &name) const |
See gum::IBaseBayesNet::idFromName(). More... | |
virtual const DiscreteVariable & | variableFromName (const std::string &name) const |
See gum::IBaseBayesNet::variableFromName(). More... | |
const NodeProperty< Size > & | modalities () const |
See gum::IBaseBayesNet::modalities(). More... | |
Graphical methods | |
virtual std::string | toDot () const |
Joint Probability manipulation methods | |
GUM_SCALAR | jointProbability (const Instantiation &i) const |
Compute a parameter of the joint probability for the BN (given an instantiation of the vars) More... | |
GUM_SCALAR | log2JointProbability (const Instantiation &i) const |
Compute a parameter of the log joint probability for the BN (given an instantiation of the vars) More... | |
Getter and setters | |
const std::string & | property (const std::string &name) const |
Return the value of the property name of this DAGModel. More... | |
const std::string & | propertyWithDefault (const std::string &name, const std::string &byDefault) const |
Return the value of the property name of this DAGModel. More... | |
void | setProperty (const std::string &name, const std::string &value) |
Add or change a property of this DAGModel. More... | |
Variable manipulation methods. | |
const DAG & | dag () const |
Returns a constant reference to the dag of this Bayes Net. More... | |
Size | size () const |
Returns the number of variables in this Directed Graphical Model. More... | |
Size | sizeArcs () const |
Returns the number of arcs in this Directed Graphical Model. More... | |
bool | empty () const |
Retursn true if this Directed Graphical Model is empty. More... | |
const NodeGraphPart & | nodes () const |
Returns a constant reference to the dag of this Bayes Net. More... | |
virtual Instantiation | completeInstantiation () const final |
Get an instantiation over all the variables of the model. More... | |
Arc manipulation methods. | |
const ArcSet & | arcs () const |
returns the set of nodes with arc ingoing to a given node More... | |
const NodeSet & | parents (const NodeId id) const |
returns the set of nodes with arc ingoing to a given node More... | |
const NodeSet & | parents (const std::string &name) const |
returns the set of nodes with arc ingoing to a given node More... | |
const NodeSet & | children (const NodeId id) const |
returns the set of nodes with arc outgoing from a given node More... | |
const NodeSet & | children (const std::string &name) const |
returns the set of nodes with arc ingoing to a given node More... | |
Graphical methods | |
const UndiGraph & | moralGraph (bool clear=true) const |
The node's id are coherent with the variables and nodes of the topology. More... | |
const Sequence< NodeId > & | topologicalOrder (bool clear=true) const |
The topological order stays the same as long as no variable or arcs are added or erased src the topology. More... | |
Protected Attributes | |
DAG | _dag |
The DAG of this Directed Graphical Model. More... | |
This class decorates a gum::prm::Class<GUM_SCALAR> has an IBaseBayesNet.
GUM_SCALAR | The type of scalar to use. |
This class filters PRMAttribute and PRMAggregate in a way it can be interpreted as a IBayesNet.
SlotChains and PRMReferenceSlot are not represented.
Remember that a ClassBayesNet<GUM_SCALAR> does not contain input nodes parents and output nodes children. Thus you should be careful when using one of the BayesNetInference over a ClassBayesNet<GUM_SCALAR> since some variables are missing in the DAG but not in the nodes CPT.
Definition at line 60 of file classBayesNet.h.
INLINE gum::prm::ClassBayesNet< GUM_SCALAR >::ClassBayesNet | ( | const PRMClass< GUM_SCALAR > & | c | ) |
Default constructor.
c | The Class<GUM_SCALAR> decorated by this ClassBayesNet<GUM_SCALAR>. |
Definition at line 61 of file classBayesNet_tpl.h.
References gum::prm::ClassBayesNet< GUM_SCALAR >::__init().
INLINE gum::prm::ClassBayesNet< GUM_SCALAR >::ClassBayesNet | ( | const ClassBayesNet< GUM_SCALAR > & | from | ) |
Copy constructor.
Definition at line 70 of file classBayesNet_tpl.h.
|
virtual |
Destructor.
Definition at line 78 of file classBayesNet_tpl.h.
References gum::prm::ClassBayesNet< GUM_SCALAR >::operator=().
|
private |
Private getter with type checking in case the id is not a formal PRMAttribute.
NotFound | Raised if id is not a formal attribute. |
Definition at line 132 of file classBayesNet_tpl.h.
References gum::prm::ClassBayesNet< GUM_SCALAR >::__class, gum::DAGmodel::_dag, gum::NodeGraphPart::exists(), and GUM_ERROR.
Referenced by gum::prm::ClassBayesNet< GUM_SCALAR >::cpt(), gum::prm::ClassBayesNet< GUM_SCALAR >::idFromName(), gum::prm::ClassBayesNet< GUM_SCALAR >::variable(), and gum::prm::ClassBayesNet< GUM_SCALAR >::variableFromName().
|
private |
Private getter with type checking in case the id is not a formal PRMAttribute.
NotFound | Raised if id is not a formal attribute. |
Definition at line 142 of file classBayesNet_tpl.h.
References gum::prm::ClassBayesNet< GUM_SCALAR >::__class, and GUM_ERROR.
|
private |
Definition at line 36 of file classBayesNet_tpl.h.
References gum::prm::PRMClassElementContainer< GUM_SCALAR >::containerDag(), gum::prm::PRMClass< GUM_SCALAR >::get(), gum::prm::PRMClassElement< GUM_SCALAR >::id(), gum::prm::PRMClassElement< GUM_SCALAR >::type(), and gum::prm::PRMType::variable().
Referenced by gum::prm::ClassBayesNet< GUM_SCALAR >::ClassBayesNet().
|
inherited |
returns the set of nodes with arc ingoing to a given node
Note that the set of arcs returned may be empty if no arc within the ArcGraphPart is ingoing into the given node.
id | the node toward which the arcs returned are pointing |
Definition at line 104 of file DAGmodel_inl.h.
References gum::DAGmodel::_dag, and gum::ArcGraphPart::arcs().
Referenced by gum::EssentialGraph::__buildEssentialGraph(), gum::DAGmodel::__moralGraph(), gum::MarkovBlanket::hasSameStructure(), and gum::DAGmodel::hasSameStructure().
returns the set of nodes with arc outgoing from a given node
Note that the set of arcs returned may be empty if no arc within the ArcGraphPart is outgoing from the given node.
id | the node which is the tail of the arcs returned |
Definition at line 111 of file DAGmodel_inl.h.
References gum::DAGmodel::_dag, and gum::ArcGraphPart::children().
Referenced by gum::MarkovBlanket::__buildMarkovBlanket(), gum::DAGmodel::parents(), gum::prm::InstanceBayesNet< GUM_SCALAR >::toDot(), and gum::prm::ClassBayesNet< GUM_SCALAR >::toDot().
|
inlineinherited |
returns the set of nodes with arc ingoing to a given node
Note that the set of arcs returned may be empty if no arc within the ArcGraphPart is ingoing into the given node.
id | the node toward which the arcs returned are pointing |
Definition at line 165 of file DAGmodel.h.
References gum::DAGmodel::hasSameStructure(), gum::DAGmodel::idFromName(), gum::DAGmodel::log10DomainSize(), gum::DAGmodel::moralGraph(), gum::DAGmodel::operator=(), gum::DAGmodel::parents(), and gum::DAGmodel::topologicalOrder().
|
finalvirtualinherited |
Get an instantiation over all the variables of the model.
Definition at line 86 of file DAGmodel_inl.h.
References gum::DAGmodel::dag(), and gum::DAGmodel::variable().
|
virtual |
Returns the CPT of a node in this ClassBayesNet<GUM_SCALAR>.
If the node is an PRMAggregate, this will raise an OperationNotAllowed since PRMAggregate's CPT are define at instantiation only.
varId | a variable id. |
NotFound | raised if varId does not match any variable in this IBayesNet. |
OperationNotAllowed | raised if varId is an PRMAggregate. |
Implements gum::IBayesNet< GUM_SCALAR >.
Definition at line 96 of file classBayesNet_tpl.h.
References gum::prm::ClassBayesNet< GUM_SCALAR >::__get().
|
inherited |
Returns a constant reference to the dag of this Bayes Net.
Definition at line 63 of file DAGmodel_inl.h.
References gum::DAGmodel::_dag.
Referenced by gum::DAGmodel::__moralGraph(), gum::DAGmodel::completeInstantiation(), gum::learning::DAG2BNLearner< ALLOC >::createBN(), gum::learning::genericBNLearner::Database::Database(), gum::BayesNetFragment< GUM_SCALAR >::installCPT(), gum::BayesNetFragment< GUM_SCALAR >::isInstalledNode(), gum::MarginalTargetedInference< GUM_SCALAR >::MarginalTargetedInference(), gum::BayesBall::relevantPotentials(), gum::dSeparation::relevantPotentials(), gum::DAGmodel::size(), gum::BayesNetFragment< GUM_SCALAR >::toDot(), gum::DAGmodel::topologicalOrder(), gum::InfluenceDiagram< GUM_SCALAR >::toString(), and gum::BayesNetFragment< GUM_SCALAR >::whenArcDeleted().
|
inherited |
Returns the dimension (the number of free parameters) in this bayes net.
\( dim(G)=\sum_{i \in nodes} ((r_i-1)\cdot q_i) \) where \( r_i \) is the number of instantiations of node \( i \) and \( q_i \) is the number of instantiations of its parents.
Definition at line 79 of file IBayesNet_tpl.h.
|
inherited |
Retursn true if this Directed Graphical Model is empty.
Definition at line 99 of file DAGmodel_inl.h.
References gum::DAGmodel::size().
Definition at line 121 of file DAGmodel.cpp.
References gum::DAGmodel::arcs(), gum::Set< Key, Alloc >::exists(), gum::DAGmodel::idFromName(), gum::DAGmodel::nodes(), gum::DAGmodel::size(), gum::DAGmodel::sizeArcs(), and gum::DAGmodel::variable().
Referenced by gum::DAGmodel::children().
|
virtual |
See gum::IBaseBayesNet::idFromName().
Implements gum::IBayesNet< GUM_SCALAR >.
Definition at line 120 of file classBayesNet_tpl.h.
References gum::prm::ClassBayesNet< GUM_SCALAR >::__get().
|
inherited |
Compute a parameter of the joint probability for the BN (given an instantiation of the vars)
Definition at line 220 of file IBayesNet_tpl.h.
|
inherited |
Definition at line 75 of file DAGmodel_inl.h.
References gum::DAGmodel::nodes(), and gum::DAGmodel::variable().
Referenced by gum::DAGmodel::children(), and gum::InfluenceDiagram< GUM_SCALAR >::toString().
|
inherited |
Compute a parameter of the log joint probability for the BN (given an instantiation of the vars)
Compute a parameter of the joint probability for the BN (given an instantiation of the vars)
Definition at line 239 of file IBayesNet_tpl.h.
|
inherited |
Definition at line 135 of file IBayesNet_tpl.h.
|
inherited |
Definition at line 115 of file IBayesNet_tpl.h.
|
inherited |
Definition at line 95 of file IBayesNet_tpl.h.
Referenced by gum::ImportanceSampling< GUM_SCALAR >::_onContextualize().
|
inherited |
Definition at line 355 of file IBayesNet_tpl.h.
|
inherited |
Definition at line 375 of file IBayesNet_tpl.h.
|
inherited |
Definition at line 125 of file IBayesNet_tpl.h.
Referenced by gum::ImportanceSampling< GUM_SCALAR >::_onContextualize().
|
inherited |
Definition at line 105 of file IBayesNet_tpl.h.
INLINE const NodeProperty< Size > & gum::prm::ClassBayesNet< GUM_SCALAR >::modalities | ( | ) | const |
See gum::IBaseBayesNet::modalities().
Definition at line 152 of file classBayesNet_tpl.h.
References gum::prm::ClassBayesNet< GUM_SCALAR >::__modalities, gum::DAGmodel::nodes(), and gum::prm::ClassBayesNet< GUM_SCALAR >::variable().
Referenced by gum::prm::SVED< GUM_SCALAR >::__initLiftedNodes(), and gum::prm::SVE< GUM_SCALAR >::__initLiftedNodes().
The node's id are coherent with the variables and nodes of the topology.
clear | If false returns the previously created moral graph. |
Definition at line 101 of file DAGmodel.cpp.
References gum::DAGmodel::__moralGraph(), gum::DAGmodel::__mutableMoralGraph, and gum::UndiGraph::clear().
Referenced by gum::prm::SVED< GUM_SCALAR >::__eliminateNodes(), gum::prm::SVE< GUM_SCALAR >::__eliminateNodes(), gum::prm::SVED< GUM_SCALAR >::__eliminateNodesWithEvidence(), gum::prm::SVE< GUM_SCALAR >::__eliminateNodesWithEvidence(), gum::prm::SVED< GUM_SCALAR >::__initLiftedNodes(), gum::prm::SVE< GUM_SCALAR >::__initLiftedNodes(), and gum::DAGmodel::children().
|
virtual |
See gum::IBaseBayesNet::nodeId().
Implements gum::IBayesNet< GUM_SCALAR >.
Definition at line 114 of file classBayesNet_tpl.h.
References gum::prm::ClassBayesNet< GUM_SCALAR >::__varNodeMap.
|
inherited |
Returns a constant reference to the dag of this Bayes Net.
Definition at line 115 of file DAGmodel_inl.h.
References gum::DAGmodel::_dag.
Referenced by gum::credal::CredalNet< GUM_SCALAR >::__bnCopy(), gum::EssentialGraph::__buildEssentialGraph(), gum::MarkovBlanket::__buildMarkovBlanket(), gum::DAGmodel::__moralGraph(), gum::credal::CredalNet< GUM_SCALAR >::__sort_varType(), gum::credal::CNMonteCarloSampling< GUM_SCALAR, BNInferenceEngine >::__verticesSampling(), gum::ImportanceSampling< GUM_SCALAR >::_unsharpenBN(), gum::BayesNetFactory< GUM_SCALAR >::BayesNetFactory(), gum::BayesNetFragment< GUM_SCALAR >::checkConsistency(), gum::learning::DAG2BNLearner< ALLOC >::createBN(), gum::MCBayesNetGenerator< GUM_SCALAR, ICPTGenerator, ICPTDisturber >::disturbBN(), gum::Estimator< GUM_SCALAR >::Estimator(), gum::getMaxModality(), gum::DAGmodel::hasSameStructure(), gum::DAGmodel::log10DomainSize(), gum::prm::InstanceBayesNet< GUM_SCALAR >::modalities(), gum::prm::ClassBayesNet< GUM_SCALAR >::modalities(), gum::Estimator< GUM_SCALAR >::setFromBN(), gum::prm::InstanceBayesNet< GUM_SCALAR >::toDot(), gum::prm::ClassBayesNet< GUM_SCALAR >::toDot(), gum::credal::CredalNet< GUM_SCALAR >::toString(), and gum::BayesNetFragment< GUM_SCALAR >::~BayesNetFragment().
|
inherited |
Definition at line 303 of file IBayesNet_tpl.h.
INLINE ClassBayesNet< GUM_SCALAR > & gum::prm::ClassBayesNet< GUM_SCALAR >::operator= | ( | const ClassBayesNet< GUM_SCALAR > & | from | ) |
Copy operator.
Definition at line 84 of file classBayesNet_tpl.h.
References gum::prm::ClassBayesNet< GUM_SCALAR >::__class, and gum::IBayesNet< GUM_SCALAR >::operator=().
Referenced by gum::prm::ClassBayesNet< GUM_SCALAR >::~ClassBayesNet().
|
inherited |
This operator compares 2 BNs !
Definition at line 256 of file IBayesNet_tpl.h.
returns the set of nodes with arc ingoing to a given node
Note that the set of arcs returned may be empty if no arc within the ArcGraphPart is ingoing into the given node.
id | the node toward which the arcs returned are pointing |
Definition at line 106 of file DAGmodel_inl.h.
References gum::DAGmodel::_dag, and gum::ArcGraphPart::parents().
Referenced by gum::MarkovBlanket::__buildMarkovBlanket(), gum::DAGmodel::__moralGraph(), gum::BayesNetFragment< GUM_SCALAR >::_installCPT(), gum::BayesNetFragment< GUM_SCALAR >::checkConsistency(), gum::DAGmodel::children(), gum::BayesNetFragment< GUM_SCALAR >::installCPT(), gum::DAGmodel::parents(), gum::prm::InstanceBayesNet< GUM_SCALAR >::toDot(), and gum::prm::ClassBayesNet< GUM_SCALAR >::toDot().
|
inlineinherited |
returns the set of nodes with arc ingoing to a given node
Note that the set of arcs returned may be empty if no arc within the ArcGraphPart is ingoing into the given node.
id | the node toward which the arcs returned are pointing |
Definition at line 156 of file DAGmodel.h.
References gum::DAGmodel::children(), gum::DAGmodel::idFromName(), and gum::DAGmodel::parents().
|
inherited |
Return the value of the property name of this DAGModel.
NotFound | Raised if no name property is found. |
Definition at line 37 of file DAGmodel_inl.h.
References gum::DAGmodel::__properties(), and GUM_ERROR.
Referenced by gum::InfluenceDiagram< GUM_SCALAR >::toDot().
|
inherited |
Return the value of the property name of this DAGModel.
return byDefault if the property name is not found
Definition at line 48 of file DAGmodel_inl.h.
References gum::DAGmodel::__properties().
|
inherited |
Add or change a property of this DAGModel.
Definition at line 56 of file DAGmodel_inl.h.
References gum::DAGmodel::__properties(), and gum::HashTable< Key, Val, Alloc >::insert().
Referenced by gum::BayesNet< double >::fastPrototype().
|
inherited |
Returns the number of variables in this Directed Graphical Model.
Definition at line 96 of file DAGmodel_inl.h.
References gum::DAGmodel::dag(), and gum::NodeGraphPart::size().
Referenced by gum::credal::CredalNet< GUM_SCALAR >::__initCNNets(), gum::InfluenceDiagram< GUM_SCALAR >::decisionNodeSize(), gum::DAGmodel::empty(), gum::MarkovBlanket::hasSameStructure(), gum::DAGmodel::hasSameStructure(), gum::IBayesNet< double >::operator==(), gum::prm::InstanceBayesNet< GUM_SCALAR >::toDot(), and gum::prm::ClassBayesNet< GUM_SCALAR >::toDot().
|
inherited |
Returns the number of arcs in this Directed Graphical Model.
Definition at line 102 of file DAGmodel_inl.h.
References gum::DAGmodel::_dag, and gum::ArcGraphPart::sizeArcs().
Referenced by gum::MarkovBlanket::hasSameStructure(), gum::DAGmodel::hasSameStructure(), and gum::IBayesNet< double >::operator==().
|
virtual |
Reimplemented from gum::IBayesNet< GUM_SCALAR >.
Definition at line 163 of file classBayesNet_tpl.h.
References gum::prm::ClassBayesNet< GUM_SCALAR >::__class, gum::DAGmodel::children(), gum::Variable::name(), gum::DAGmodel::nodes(), gum::DAGmodel::parents(), gum::DAGmodel::size(), and gum::prm::ClassBayesNet< GUM_SCALAR >::variable().
The topological order stays the same as long as no variable or arcs are added or erased src the topology.
clear | If false returns the previously created topology. |
Definition at line 117 of file DAGmodel.cpp.
References gum::DAGmodel::dag(), and gum::DiGraph::topologicalOrder().
Referenced by gum::EssentialGraph::__buildEssentialGraph(), gum::InfluenceDiagramGenerator< GUM_SCALAR >::__checkTemporalOrder(), gum::DAGmodel::children(), gum::InfluenceDiagram< GUM_SCALAR >::decisionOrderExists(), and gum::InfluenceDiagram< GUM_SCALAR >::getDecisionOrder().
|
inherited |
Definition at line 145 of file IBayesNet_tpl.h.
Referenced by gum::operator<<().
|
virtual |
See gum::IBaseBayesNet::variable().
Implements gum::IBayesNet< GUM_SCALAR >.
Definition at line 108 of file classBayesNet_tpl.h.
References gum::prm::ClassBayesNet< GUM_SCALAR >::__get().
Referenced by gum::prm::ClassBayesNet< GUM_SCALAR >::modalities(), and gum::prm::ClassBayesNet< GUM_SCALAR >::toDot().
|
virtual |
See gum::IBaseBayesNet::variableFromName().
Implements gum::IBayesNet< GUM_SCALAR >.
Definition at line 125 of file classBayesNet_tpl.h.
References gum::prm::ClassBayesNet< GUM_SCALAR >::__get().
|
virtual |
See gum::IBaseBayesNet::variableNodeMap().
Implements gum::IBayesNet< GUM_SCALAR >.
Definition at line 102 of file classBayesNet_tpl.h.
References GUM_ERROR.
|
private |
The PRMClassElementContainer decorated by this.
Definition at line 147 of file classBayesNet.h.
Referenced by gum::prm::ClassBayesNet< GUM_SCALAR >::__get(), gum::prm::ClassBayesNet< GUM_SCALAR >::operator=(), and gum::prm::ClassBayesNet< GUM_SCALAR >::toDot().
|
mutableprivate |
Definition at line 149 of file classBayesNet.h.
Referenced by gum::prm::ClassBayesNet< GUM_SCALAR >::modalities().
|
private |
Mapping between DiscreteVariable and their NodeId.
Definition at line 134 of file classBayesNet.h.
Referenced by gum::prm::ClassBayesNet< GUM_SCALAR >::nodeId().
|
protectedinherited |
The DAG of this Directed Graphical Model.
Definition at line 203 of file DAGmodel.h.
Referenced by gum::prm::ClassBayesNet< GUM_SCALAR >::__get(), gum::InfluenceDiagram< GUM_SCALAR >::_addNode(), gum::InfluenceDiagram< GUM_SCALAR >::_copyTables(), gum::InfluenceDiagram< GUM_SCALAR >::_getChildrenDecision(), gum::BayesNetFragment< GUM_SCALAR >::_installArc(), gum::InfluenceDiagram< GUM_SCALAR >::_moralGraph(), gum::InfluenceDiagram< GUM_SCALAR >::_removeTables(), gum::BayesNetFragment< GUM_SCALAR >::_uninstallArc(), gum::InfluenceDiagram< GUM_SCALAR >::addArc(), gum::DAGmodel::arcs(), gum::DAGmodel::children(), gum::DAGmodel::dag(), gum::InfluenceDiagram< GUM_SCALAR >::erase(), gum::InfluenceDiagram< GUM_SCALAR >::eraseArc(), gum::InfluenceDiagram< GUM_SCALAR >::existsPathBetween(), gum::InfluenceDiagram< GUM_SCALAR >::getDecisionGraph(), gum::InfluenceDiagram< GUM_SCALAR >::getPartialTemporalOrder(), gum::BayesNetFragment< GUM_SCALAR >::installNode(), gum::DAGmodel::nodes(), gum::DAGmodel::operator=(), gum::DAGmodel::parents(), gum::DAGmodel::sizeArcs(), gum::InfluenceDiagram< GUM_SCALAR >::toDot(), and gum::BayesNetFragment< GUM_SCALAR >::uninstallNode().