![]() |
aGrUM 2.3.2
a C++ library for (probabilistic) graphical models
|
Private structure to represent data about a Class<GUM_SCALAR>. More...
Public Member Functions | |
| CData (const PRMClass< GUM_SCALAR > &c) | |
| Default constructor. | |
| ~CData () | |
| Destructor. | |
| NodeSet & | inners () |
| Returns the set of inner nodes. | |
| NodeSet & | aggregators () |
| Returns the set of aggregators and their parents. | |
| NodeSet & | outputs () |
| Returns the set of outputs nodes. | |
| std::vector< NodeId > & | elim_order () |
| The elimination order for nodes of this class. | |
Public Attributes | |
| const PRMClass< GUM_SCALAR > & | c |
| The class about what this data is about. | |
| UndiGraph | moral_graph |
| The class moral graph. NodeId matches those in c. | |
| NodeProperty< Size > | mods |
| The class variables modalities. | |
| List< NodeSet > | partial_order |
| The partial order used of variable elimination. | |
| Set< const PRMInstance< GUM_SCALAR > * > | instances |
| The Set of Instances reduces at class level. | |
| Set< Tensor< GUM_SCALAR > * > | pool |
| The tensor pool obtained by C elimination of inner nodes. | |
Private Attributes | |
| std::vector< NodeId > | _elim_order_ |
| NodeSet | _inners_ |
| NodeSet | _aggregators_ |
| NodeSet | _outputs_ |
| Set< Tensor< GUM_SCALAR > * > | _trash_ |
Private structure to represent data about a Class<GUM_SCALAR>.
Definition at line 224 of file structuredInference.h.
| gum::prm::StructuredInference< GUM_SCALAR >::CData::CData | ( | const PRMClass< GUM_SCALAR > & | c | ) |
Default constructor.
Definition at line 821 of file structuredInference_tpl.h.
References _elim_order_, _trash_, aggregators(), c, gum::prm::eliminateNode(), gum::StaticTriangulation::eliminationOrder(), gum::Set< Key >::erase(), inners(), gum::Set< Key >::insert(), gum::prm::PRMClassElement< GUM_SCALAR >::isAggregate(), gum::prm::PRMClassElement< GUM_SCALAR >::isAttribute(), mods, moral_graph, outputs(), partial_order, pool, gum::prm::PRMClassElement< GUM_SCALAR >::prm_aggregate, gum::prm::PRMClassElement< GUM_SCALAR >::prm_attribute, and gum::Set< Key >::size().
| gum::prm::StructuredInference< GUM_SCALAR >::CData::~CData | ( | ) |
Destructor.
Definition at line 919 of file structuredInference_tpl.h.
References _trash_.
|
inline |
Returns the set of aggregators and their parents.
Definition at line 246 of file structuredInference.h.
References _aggregators_.
Referenced by CData(), and gum::prm::StructuredInference< GUM_SCALAR >::_reduceAloneInstances_().
|
inline |
The elimination order for nodes of this class.
Definition at line 252 of file structuredInference.h.
References _elim_order_.
Referenced by gum::prm::StructuredInference< GUM_SCALAR >::_reduceAloneInstances_().
|
inline |
Returns the set of inner nodes.
Definition at line 243 of file structuredInference.h.
References _inners_.
Referenced by CData(), and gum::prm::StructuredInference< GUM_SCALAR >::_reduceAloneInstances_().
|
inline |
Returns the set of outputs nodes.
Definition at line 249 of file structuredInference.h.
References _outputs_.
Referenced by CData(), and gum::prm::StructuredInference< GUM_SCALAR >::_reduceAloneInstances_().
|
private |
Definition at line 257 of file structuredInference.h.
Referenced by aggregators().
|
private |
Definition at line 255 of file structuredInference.h.
Referenced by CData(), and elim_order().
|
private |
Definition at line 256 of file structuredInference.h.
Referenced by inners().
|
private |
Definition at line 258 of file structuredInference.h.
Referenced by outputs().
|
private |
Definition at line 259 of file structuredInference.h.
| const PRMClass< GUM_SCALAR >& gum::prm::StructuredInference< GUM_SCALAR >::CData::c |
The class about what this data is about.
Definition at line 226 of file structuredInference.h.
Referenced by CData(), and gum::prm::StructuredInference< GUM_SCALAR >::_reduceAloneInstances_().
| Set< const PRMInstance< GUM_SCALAR >* > gum::prm::StructuredInference< GUM_SCALAR >::CData::instances |
The Set of Instances reduces at class level.
Definition at line 234 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 230 of file structuredInference.h.
Referenced by CData(), and gum::prm::StructuredInference< GUM_SCALAR >::_reduceAloneInstances_().
| UndiGraph gum::prm::StructuredInference< GUM_SCALAR >::CData::moral_graph |
The class moral graph. NodeId matches those in c.
Definition at line 228 of file structuredInference.h.
Referenced by CData(), and gum::prm::StructuredInference< GUM_SCALAR >::_reduceAloneInstances_().
| List< NodeSet > gum::prm::StructuredInference< GUM_SCALAR >::CData::partial_order |
The partial order used of variable elimination.
Definition at line 232 of file structuredInference.h.
Referenced by CData().
| Set< Tensor< GUM_SCALAR >* > gum::prm::StructuredInference< GUM_SCALAR >::CData::pool |
The tensor pool obtained by C elimination of inner nodes.
Definition at line 236 of file structuredInference.h.
Referenced by CData(), and gum::prm::StructuredInference< GUM_SCALAR >::_reduceAloneInstances_().