![]() |
aGrUM 3.1.1
a C++ library for (probabilistic) graphical models
|
Bulds gum::prm:PRMInterface from gum::prm::o3prm::O3Interface. More...
#include <agrum/PRM/o3prm/O3InterfaceFactory.h>
Public Member Functions | |
| O3InterfaceFactory (PRM< GUM_SCALAR > &prm, O3PRM &o3_prm, O3NameSolver< GUM_SCALAR > &solver, ErrorsContainer &errors) | |
| O3InterfaceFactory (const O3InterfaceFactory< GUM_SCALAR > &src) | |
| O3InterfaceFactory (O3InterfaceFactory< GUM_SCALAR > &&src) | |
| ~O3InterfaceFactory () | |
| O3InterfaceFactory< GUM_SCALAR > & | operator= (const O3InterfaceFactory< GUM_SCALAR > &src) |
| O3InterfaceFactory< GUM_SCALAR > & | operator= (O3InterfaceFactory< GUM_SCALAR > &&src) |
| void | buildInterfaces () |
| void | buildElements () |
Private Member Functions | |
| bool | _addInterface2Dag_ () |
| bool | _addArcs2Dag_ () |
| void | _setO3InterfaceCreationOrder_ () |
| bool | _checkO3Interfaces_ () |
| bool | _checkInterfaceElement_ (O3Interface &i, O3InterfaceElement &elt) |
| bool | _checkOverloadLegality_ (O3Interface &i, O3InterfaceElement &elt) |
| bool | _checkAttributeOverloadLegality_ (O3Interface &i, O3InterfaceElement &elt) |
| bool | _checkReferenceOverloadLegality_ (O3Interface &i, O3InterfaceElement &elt) |
| bool | _checkCyclicReference_ (O3Interface &i, O3InterfaceElement &elt) |
Private Attributes | |
| PRM< GUM_SCALAR > * | _prm_ |
| O3PRM * | _o3_prm_ |
| O3NameSolver< GUM_SCALAR > * | _solver_ |
| ErrorsContainer * | _errors_ |
| HashTable< std::string, std::string > | _eltName_ |
| HashTable< std::string, gum::NodeId > | _nameMap_ |
| HashTable< std::string, O3Interface * > | _interfaceMap_ |
| HashTable< NodeId, O3Interface * > | _nodeMap_ |
| DAG | _dag_ |
| std::vector< O3Interface * > | _o3Interface_ |
Bulds gum::prm:PRMInterface from gum::prm::o3prm::O3Interface.
| GUM_SCALAR | The scalar type used by the gum::prm::PRM. |
Definition at line 73 of file O3InterfaceFactory.h.
| gum::prm::o3prm::O3InterfaceFactory< GUM_SCALAR >::O3InterfaceFactory | ( | PRM< GUM_SCALAR > & | prm, |
| O3PRM & | o3_prm, | ||
| O3NameSolver< GUM_SCALAR > & | solver, | ||
| ErrorsContainer & | errors ) |
Definition at line 59 of file O3InterfaceFactory_tpl.h.
References O3InterfaceFactory(), _errors_, _o3_prm_, _prm_, and _solver_.
Referenced by O3InterfaceFactory(), O3InterfaceFactory(), O3InterfaceFactory(), ~O3InterfaceFactory(), operator=(), and operator=().
| gum::prm::o3prm::O3InterfaceFactory< GUM_SCALAR >::O3InterfaceFactory | ( | const O3InterfaceFactory< GUM_SCALAR > & | src | ) |
Definition at line 68 of file O3InterfaceFactory_tpl.h.
References O3InterfaceFactory(), _errors_, _o3_prm_, _prm_, and _solver_.
| gum::prm::o3prm::O3InterfaceFactory< GUM_SCALAR >::O3InterfaceFactory | ( | O3InterfaceFactory< GUM_SCALAR > && | src | ) |
Definition at line 75 of file O3InterfaceFactory_tpl.h.
References O3InterfaceFactory(), _errors_, _o3_prm_, _prm_, and _solver_.
| gum::prm::o3prm::O3InterfaceFactory< GUM_SCALAR >::~O3InterfaceFactory | ( | ) |
Definition at line 82 of file O3InterfaceFactory_tpl.h.
References O3InterfaceFactory().
|
private |
Definition at line 148 of file O3InterfaceFactory_tpl.h.
References _dag_, _errors_, _nameMap_, _o3_prm_, and _solver_.
Referenced by _checkO3Interfaces_().
|
private |
Definition at line 129 of file O3InterfaceFactory_tpl.h.
References _dag_, _errors_, _interfaceMap_, _nameMap_, _nodeMap_, and _o3_prm_.
Referenced by _checkO3Interfaces_().
|
private |
Definition at line 245 of file O3InterfaceFactory_tpl.h.
References _errors_, _prm_, gum::prm::o3prm::O3Label::label(), gum::prm::o3prm::O3Interface::name(), gum::prm::o3prm::O3InterfaceElement::name(), and gum::prm::o3prm::O3InterfaceElement::type().
Referenced by _checkOverloadLegality_().
|
private |
Definition at line 299 of file O3InterfaceFactory_tpl.h.
References _errors_, _prm_, gum::prm::o3prm::O3Label::label(), gum::prm::o3prm::O3Interface::name(), and gum::prm::o3prm::O3InterfaceElement::type().
Referenced by _checkInterfaceElement_().
|
private |
Definition at line 207 of file O3InterfaceFactory_tpl.h.
References _checkCyclicReference_(), _checkOverloadLegality_(), _errors_, _prm_, _solver_, gum::prm::o3prm::O3InterfaceElement::isArray(), gum::prm::o3prm::O3Label::label(), gum::prm::o3prm::O3Interface::name(), gum::prm::o3prm::O3InterfaceElement::name(), and gum::prm::o3prm::O3InterfaceElement::type().
Referenced by buildElements().
|
private |
Definition at line 124 of file O3InterfaceFactory_tpl.h.
References _addArcs2Dag_(), and _addInterface2Dag_().
Referenced by buildInterfaces().
|
private |
Definition at line 228 of file O3InterfaceFactory_tpl.h.
References _checkAttributeOverloadLegality_(), _checkReferenceOverloadLegality_(), _prm_, gum::prm::PRMClassElement< GUM_SCALAR >::isAttribute(), gum::prm::PRMClassElement< GUM_SCALAR >::isReferenceSlot(), gum::prm::o3prm::O3Label::label(), gum::prm::o3prm::O3Interface::name(), and gum::prm::o3prm::O3InterfaceElement::name().
Referenced by _checkInterfaceElement_().
|
private |
Definition at line 268 of file O3InterfaceFactory_tpl.h.
References _errors_, _prm_, gum::prm::o3prm::O3Label::label(), gum::prm::o3prm::O3Interface::name(), gum::prm::o3prm::O3InterfaceElement::name(), and gum::prm::o3prm::O3InterfaceElement::type().
Referenced by _checkOverloadLegality_().
|
private |
Definition at line 171 of file O3InterfaceFactory_tpl.h.
References _dag_, _nodeMap_, and _o3Interface_.
Referenced by buildInterfaces().
| void gum::prm::o3prm::O3InterfaceFactory< GUM_SCALAR >::buildElements | ( | ) |
Definition at line 179 of file O3InterfaceFactory_tpl.h.
References _checkInterfaceElement_(), _errors_, _o3Interface_, _prm_, gum::prm::PRMFactory< GUM_SCALAR >::addAttribute(), gum::prm::PRMFactory< GUM_SCALAR >::addReferenceSlot(), gum::prm::PRMFactory< GUM_SCALAR >::continueInterface(), and gum::prm::PRMFactory< GUM_SCALAR >::endInterface().
| void gum::prm::o3prm::O3InterfaceFactory< GUM_SCALAR >::buildInterfaces | ( | ) |
Definition at line 109 of file O3InterfaceFactory_tpl.h.
References _checkO3Interfaces_(), _o3Interface_, _prm_, _setO3InterfaceCreationOrder_(), _solver_, gum::prm::PRMFactory< GUM_SCALAR >::endInterface(), and gum::prm::PRMFactory< GUM_SCALAR >::startInterface().
| O3InterfaceFactory< GUM_SCALAR > & gum::prm::o3prm::O3InterfaceFactory< GUM_SCALAR >::operator= | ( | const O3InterfaceFactory< GUM_SCALAR > & | src | ) |
Definition at line 88 of file O3InterfaceFactory_tpl.h.
References O3InterfaceFactory(), _errors_, _o3_prm_, _prm_, and _solver_.
| O3InterfaceFactory< GUM_SCALAR > & gum::prm::o3prm::O3InterfaceFactory< GUM_SCALAR >::operator= | ( | O3InterfaceFactory< GUM_SCALAR > && | src | ) |
Definition at line 99 of file O3InterfaceFactory_tpl.h.
References O3InterfaceFactory(), _errors_, _o3_prm_, _prm_, and _solver_.
|
private |
Definition at line 99 of file O3InterfaceFactory.h.
Referenced by _addArcs2Dag_(), _addInterface2Dag_(), and _setO3InterfaceCreationOrder_().
|
private |
Definition at line 95 of file O3InterfaceFactory.h.
|
private |
Definition at line 93 of file O3InterfaceFactory.h.
Referenced by O3InterfaceFactory(), O3InterfaceFactory(), O3InterfaceFactory(), _addArcs2Dag_(), _addInterface2Dag_(), _checkAttributeOverloadLegality_(), _checkCyclicReference_(), _checkInterfaceElement_(), _checkReferenceOverloadLegality_(), buildElements(), operator=(), and operator=().
|
private |
Definition at line 97 of file O3InterfaceFactory.h.
Referenced by _addInterface2Dag_().
|
private |
Definition at line 96 of file O3InterfaceFactory.h.
Referenced by _addArcs2Dag_(), and _addInterface2Dag_().
|
private |
Definition at line 98 of file O3InterfaceFactory.h.
Referenced by _addInterface2Dag_(), and _setO3InterfaceCreationOrder_().
|
private |
Definition at line 91 of file O3InterfaceFactory.h.
Referenced by O3InterfaceFactory(), O3InterfaceFactory(), O3InterfaceFactory(), _addArcs2Dag_(), _addInterface2Dag_(), operator=(), and operator=().
|
private |
Definition at line 100 of file O3InterfaceFactory.h.
Referenced by _setO3InterfaceCreationOrder_(), buildElements(), and buildInterfaces().
|
private |
Definition at line 90 of file O3InterfaceFactory.h.
Referenced by O3InterfaceFactory(), O3InterfaceFactory(), O3InterfaceFactory(), _checkAttributeOverloadLegality_(), _checkCyclicReference_(), _checkInterfaceElement_(), _checkOverloadLegality_(), _checkReferenceOverloadLegality_(), buildElements(), buildInterfaces(), operator=(), and operator=().
|
private |
Definition at line 92 of file O3InterfaceFactory.h.
Referenced by O3InterfaceFactory(), O3InterfaceFactory(), O3InterfaceFactory(), _addArcs2Dag_(), _checkInterfaceElement_(), buildInterfaces(), operator=(), and operator=().