![]() |
aGrUM
0.16.0
|
Private structure to represent data about a Class<GUM_SCALAR>. More...
Public Attributes | |
const PRMClass< GUM_SCALAR > & | c |
The class about what this data is about. More... | |
UndiGraph | moral_graph |
The class moral graph. NodeId matches those in c. More... | |
NodeProperty< Size > | mods |
The class variables modalities. More... | |
List< NodeSet > | partial_order |
The partial order used of variable elimination. More... | |
Set< const PRMInstance< GUM_SCALAR > *> | instances |
The Set of Instances reduces at class level. More... | |
Set< Potential< GUM_SCALAR > *> | pool |
The potential pool obtained by C elimination of inner nodes. More... | |
Public Member Functions | |
CData (const PRMClass< GUM_SCALAR > &c) | |
Default constructor. More... | |
~CData () | |
Destructor. More... | |
NodeSet & | inners () |
Returns the set of inner nodes. More... | |
NodeSet & | aggregators () |
Returns the set of aggregators and their parents. More... | |
NodeSet & | outputs () |
Returns the set of outputs nodes. More... | |
std::vector< NodeId > & | elim_order () |
The elimination order for nodes of this class. More... | |
Private structure to represent data about a Class<GUM_SCALAR>.
Definition at line 215 of file structuredInference.h.
gum::prm::StructuredInference< GUM_SCALAR >::CData::CData | ( | const PRMClass< GUM_SCALAR > & | c | ) |
Default constructor.
Definition at line 851 of file structuredInference_tpl.h.
References gum::prm::StructuredInference< GUM_SCALAR >::CData::__elim_order, gum::prm::StructuredInference< GUM_SCALAR >::CData::__trash, gum::UndiGraph::addEdge(), gum::NodeGraphPart::addNodeWithId(), gum::prm::StructuredInference< GUM_SCALAR >::CData::aggregators(), gum::prm::StructuredInference< GUM_SCALAR >::CData::c, gum::prm::eliminateNode(), gum::Set< Key, Alloc >::erase(), gum::prm::StructuredInference< GUM_SCALAR >::CData::inners(), gum::Set< Key, Alloc >::insert(), gum::prm::PRMClassElement< GUM_SCALAR >::isAggregate(), gum::prm::StructuredInference< GUM_SCALAR >::CData::mods, gum::prm::StructuredInference< GUM_SCALAR >::CData::moral_graph, gum::NodeGraphPart::nodes(), gum::prm::StructuredInference< GUM_SCALAR >::CData::outputs(), gum::prm::StructuredInference< GUM_SCALAR >::CData::partial_order, gum::prm::StructuredInference< GUM_SCALAR >::CData::pool, and gum::Set< Key, Alloc >::size().
gum::prm::StructuredInference< GUM_SCALAR >::CData::~CData | ( | ) |
Destructor.
Definition at line 957 of file structuredInference_tpl.h.
References gum::prm::StructuredInference< GUM_SCALAR >::CData::__trash.
|
inline |
Returns the set of aggregators and their parents.
Definition at line 235 of file structuredInference.h.
Referenced by gum::prm::StructuredInference< GUM_SCALAR >::__reduceAloneInstances(), and gum::prm::StructuredInference< GUM_SCALAR >::CData::CData().
|
inline |
The elimination order for nodes of this class.
Definition at line 239 of file structuredInference.h.
Referenced by gum::prm::StructuredInference< GUM_SCALAR >::__reduceAloneInstances().
|
inline |
Returns the set of inner nodes.
Definition at line 233 of file structuredInference.h.
Referenced by gum::prm::StructuredInference< GUM_SCALAR >::__reduceAloneInstances(), and gum::prm::StructuredInference< GUM_SCALAR >::CData::CData().
|
inline |
Returns the set of outputs nodes.
Definition at line 237 of file structuredInference.h.
References gum::prm::StructuredInference< GUM_SCALAR >::__outputs.
Referenced by gum::prm::StructuredInference< GUM_SCALAR >::__reduceAloneInstances(), and gum::prm::StructuredInference< GUM_SCALAR >::CData::CData().
|
private |
Definition at line 244 of file structuredInference.h.
|
private |
Definition at line 242 of file structuredInference.h.
Referenced by gum::prm::StructuredInference< GUM_SCALAR >::CData::CData().
|
private |
Definition at line 243 of file structuredInference.h.
|
private |
Definition at line 245 of file structuredInference.h.
|
private |
Definition at line 246 of file structuredInference.h.
Referenced by gum::prm::StructuredInference< GUM_SCALAR >::CData::CData(), and gum::prm::StructuredInference< GUM_SCALAR >::CData::~CData().
const PRMClass< GUM_SCALAR >& gum::prm::StructuredInference< GUM_SCALAR >::CData::c |
The class about what this data is about.
Definition at line 217 of file structuredInference.h.
Referenced by gum::prm::StructuredInference< GUM_SCALAR >::__reduceAloneInstances(), and gum::prm::StructuredInference< GUM_SCALAR >::CData::CData().
Set< const PRMInstance< GUM_SCALAR >* > gum::prm::StructuredInference< GUM_SCALAR >::CData::instances |
The Set of Instances reduces at class level.
Definition at line 225 of file structuredInference.h.
Referenced by gum::prm::StructuredInference< GUM_SCALAR >::__reduceAloneInstances().
NodeProperty< Size > gum::prm::StructuredInference< GUM_SCALAR >::CData::mods |
The class variables modalities.
Definition at line 221 of file structuredInference.h.
Referenced by gum::prm::StructuredInference< GUM_SCALAR >::__reduceAloneInstances(), and gum::prm::StructuredInference< GUM_SCALAR >::CData::CData().
UndiGraph gum::prm::StructuredInference< GUM_SCALAR >::CData::moral_graph |
The class moral graph. NodeId matches those in c.
Definition at line 219 of file structuredInference.h.
Referenced by gum::prm::StructuredInference< GUM_SCALAR >::__reduceAloneInstances(), and gum::prm::StructuredInference< GUM_SCALAR >::CData::CData().
List< NodeSet > gum::prm::StructuredInference< GUM_SCALAR >::CData::partial_order |
The partial order used of variable elimination.
Definition at line 223 of file structuredInference.h.
Referenced by gum::prm::StructuredInference< GUM_SCALAR >::CData::CData().
Set< Potential< GUM_SCALAR >* > gum::prm::StructuredInference< GUM_SCALAR >::CData::pool |
The potential pool obtained by C elimination of inner nodes.
Definition at line 227 of file structuredInference.h.
Referenced by gum::prm::StructuredInference< GUM_SCALAR >::__reduceAloneInstances(), gum::prm::StructuredInference< GUM_SCALAR >::__removeNode(), and gum::prm::StructuredInference< GUM_SCALAR >::CData::CData().