OpenGM  2.3.x
Discrete Graphical Model Library
Public Types | Public Member Functions | List of all members
opengm::trws_base::EdgeDecomposition< GM > Class Template Reference

#include <trws_decomposition.hxx>

+ Inheritance diagram for opengm::trws_base::EdgeDecomposition< GM >:
+ Collaboration diagram for opengm::trws_base::EdgeDecomposition< GM >:

Public Types

typedef Decomposition< GM > parent
 
typedef parent::IndexType IndexType
 
typedef parent::LabelType LabelType
 
typedef parent::IndexList IndexList
 
typedef parent::SubVariable SubVariable
 
typedef parent::SubVariableListType SubVariableListType
 
- Public Types inherited from opengm::trws_base::Decomposition< GM >
typedef GM::IndexType IndexType
 
typedef GM::LabelType LabelType
 
typedef std::vector< IndexTypeIndexList
 
typedef opengm::GraphicalModelDecomposition::SubVariable SubVariable
 
typedef opengm::GraphicalModelDecomposition::SubVariableListType SubVariableListType
 

Public Member Functions

 EdgeDecomposition (const GM &gm)
 
- Public Member Functions inherited from opengm::trws_base::Decomposition< GM >
 Decomposition (const GM &gm, IndexType numSubModels=0)
 
virtual ~Decomposition ()=0
 
virtual IndexType getNumberOfSubModels () const
 
virtual const IndexListgetVariableList (IndexType subModelId) const
 
virtual const IndexListgetFactorList (IndexType subModelId) const
 
virtual void ComputeVariableDecomposition (std::vector< SubVariableListType > *plist) const
 
void CheckForIsolatedNodes (const GM &gm)
 

Additional Inherited Members

- Static Public Member Functions inherited from opengm::trws_base::Decomposition< GM >
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 inherited from opengm::trws_base::Decomposition< GM >
typedef std::pair< IndexType, IndexTypeEdge
 
typedef std::list< EdgeEdgeList
 
typedef std::vector< EdgeListNodeList
 
- Protected Member Functions inherited from opengm::trws_base::Decomposition< GM >
IndexType _addSubModel ()
 
void _addSubFactor (const IndexType &factorId)
 
void _addSubVariable (const IndexType &variableId)
 
- Static Protected Member Functions inherited from opengm::trws_base::Decomposition< GM >
static void _CreateNodeList (const GM &gm, NodeList *pnodeList)
 
- Protected Attributes inherited from opengm::trws_base::Decomposition< GM >
IndexType _numberOfModels
 
std::vector< IndexList_variableLists
 
std::vector< IndexList_pwFactorLists
 
const GM & _gm
 

Detailed Description

template<class GM>
class opengm::trws_base::EdgeDecomposition< GM >

Definition at line 121 of file trws_decomposition.hxx.

Member Typedef Documentation

Definition at line 127 of file trws_decomposition.hxx.

Definition at line 125 of file trws_decomposition.hxx.

Definition at line 126 of file trws_decomposition.hxx.

template<class GM >
typedef Decomposition<GM> opengm::trws_base::EdgeDecomposition< GM >::parent

Definition at line 124 of file trws_decomposition.hxx.

Definition at line 128 of file trws_decomposition.hxx.

Definition at line 129 of file trws_decomposition.hxx.

Constructor & Destructor Documentation

template<class GM >
opengm::trws_base::EdgeDecomposition< GM >::EdgeDecomposition ( const GM &  gm)
inline

this should be a number of pairwise factors

Definition at line 131 of file trws_decomposition.hxx.

+ Here is the call graph for this function: