|
OpenGM
2.3.x
Discrete Graphical Model Library
|
#include <trws_decomposition.hxx>
Inheritance diagram for opengm::trws_base::Decomposition< GM >:
Collaboration diagram for opengm::trws_base::Decomposition< GM >:Public Types | |
| typedef GM::IndexType | IndexType |
| typedef GM::LabelType | LabelType |
| typedef std::vector< IndexType > | IndexList |
| typedef opengm::GraphicalModelDecomposition::SubVariable | SubVariable |
| typedef opengm::GraphicalModelDecomposition::SubVariableListType | SubVariableListType |
Public Member Functions | |
| Decomposition (const GM &gm, IndexType numSubModels=0) | |
| virtual | ~Decomposition ()=0 |
| virtual IndexType | getNumberOfSubModels () const |
| virtual const IndexList & | getVariableList (IndexType subModelId) const |
| virtual const IndexList & | getFactorList (IndexType subModelId) const |
| virtual void | ComputeVariableDecomposition (std::vector< SubVariableListType > *plist) const |
| void | CheckForIsolatedNodes (const GM &gm) |
Static Public Member Functions | |
| static void | CheckUnaryFactors (const GM &gm) |
| checks whether all variables have corresp. unary factor with the same index and vice versa More... | |
| static void | CheckDuplicateUnaryFactors (const GM &gm) |
Protected Types | |
| typedef std::pair< IndexType, IndexType > | Edge |
| typedef std::list< Edge > | EdgeList |
| typedef std::vector< EdgeList > | NodeList |
Protected Member Functions | |
| IndexType | _addSubModel () |
| void | _addSubFactor (const IndexType &factorId) |
| void | _addSubVariable (const IndexType &variableId) |
Static Protected Member Functions | |
| static void | _CreateNodeList (const GM &gm, NodeList *pnodeList) |
Protected Attributes | |
| IndexType | _numberOfModels |
| std::vector< IndexList > | _variableLists |
| std::vector< IndexList > | _pwFactorLists |
| const GM & | _gm |
Definition at line 24 of file trws_decomposition.hxx.
|
protected |
Definition at line 54 of file trws_decomposition.hxx.
|
protected |
Definition at line 55 of file trws_decomposition.hxx.
| typedef std::vector<IndexType> opengm::trws_base::Decomposition< GM >::IndexList |
Definition at line 29 of file trws_decomposition.hxx.
| typedef GM::IndexType opengm::trws_base::Decomposition< GM >::IndexType |
Definition at line 27 of file trws_decomposition.hxx.
| typedef GM::LabelType opengm::trws_base::Decomposition< GM >::LabelType |
Definition at line 28 of file trws_decomposition.hxx.
|
protected |
Definition at line 56 of file trws_decomposition.hxx.
| typedef opengm::GraphicalModelDecomposition::SubVariable opengm::trws_base::Decomposition< GM >::SubVariable |
Definition at line 30 of file trws_decomposition.hxx.
| typedef opengm::GraphicalModelDecomposition::SubVariableListType opengm::trws_base::Decomposition< GM >::SubVariableListType |
Definition at line 31 of file trws_decomposition.hxx.
|
inline |
| numSubModels | numSubModels - ESTIMATED number of submodels to optimize memory allocation |
Definition at line 32 of file trws_decomposition.hxx.
|
pure virtual |
Definition at line 189 of file trws_decomposition.hxx.
|
protected |
Definition at line 344 of file trws_decomposition.hxx.
|
protected |
|
protected |
Definition at line 350 of file trws_decomposition.hxx.
|
staticprotected |
|
static |
Definition at line 397 of file trws_decomposition.hxx.
Here is the call graph for this function:
Here is the caller graph for this function:| void opengm::trws_base::Decomposition< GM >::CheckForIsolatedNodes | ( | const GM & | gm | ) |
|
static |
checks whether all variables have corresp. unary factor with the same index and vice versa
Definition at line 377 of file trws_decomposition.hxx.
|
virtual |
Definition at line 433 of file trws_decomposition.hxx.
|
inlinevirtual |
Definition at line 42 of file trws_decomposition.hxx.
|
inlinevirtual |
Definition at line 40 of file trws_decomposition.hxx.
|
inlinevirtual |
Definition at line 41 of file trws_decomposition.hxx.
|
protected |
Definition at line 61 of file trws_decomposition.hxx.
|
protected |
Definition at line 58 of file trws_decomposition.hxx.
|
protected |
Definition at line 60 of file trws_decomposition.hxx.
|
protected |
Definition at line 59 of file trws_decomposition.hxx.
1.8.9.1