trws_base::DecompositionStorage< GM > Class Template Reference

#include <trws_base.hxx>

Collaboration diagram for trws_base::DecompositionStorage< GM >:
Collaboration graph
[legend]

List of all members.

Public Types

enum  StructureType { GRIDSTRUCTURE, GENERALSTRUCTURE }
typedef GM GraphicalModelType
typedef SequenceStorage< GM > SubModel
typedef GM::ValueType ValueType
typedef GM::IndexType IndexType
typedef GM::LabelType LabelType
typedef
MonotoneChainsDecomposition
< GM >::SubVariable 
SubVariable
typedef
MonotoneChainsDecomposition
< GM >::SubVariableListType 
SubVariableListType
typedef SubModel::UnaryFactor UnaryFactor
typedef
VariableToFactorMapping< GM > 
VariableToFactorMap

Public Member Functions

 DecompositionStorage (const GM &gm, StructureType structureType=GENERALSTRUCTURE)
 ~DecompositionStorage ()
const GM & masterModel () const
LabelType numberOfLabels (IndexType varId) const
IndexType numberOfModels () const
IndexType numberOfSharedVariables () const
SubModelsubModel (IndexType modelId)
const SubModelsubModel (IndexType modelId) const
IndexType size (IndexType subModelId) const
const SubVariableListTypegetSubVariableList (IndexType varId) const
StructureType getStructureType () const

Detailed Description

template<class GM>
class trws_base::DecompositionStorage< GM >

Definition at line 15 of file trws_base.hxx.


Member Typedef Documentation

template<class GM >
typedef GM trws_base::DecompositionStorage< GM >::GraphicalModelType

Definition at line 18 of file trws_base.hxx.

template<class GM >
typedef GM::IndexType trws_base::DecompositionStorage< GM >::IndexType

Definition at line 21 of file trws_base.hxx.

template<class GM >
typedef GM::LabelType trws_base::DecompositionStorage< GM >::LabelType

Definition at line 22 of file trws_base.hxx.

template<class GM >
typedef SequenceStorage<GM> trws_base::DecompositionStorage< GM >::SubModel

Definition at line 19 of file trws_base.hxx.

Definition at line 23 of file trws_base.hxx.

Definition at line 24 of file trws_base.hxx.

Definition at line 25 of file trws_base.hxx.

template<class GM >
typedef GM::ValueType trws_base::DecompositionStorage< GM >::ValueType

Definition at line 20 of file trws_base.hxx.

Definition at line 27 of file trws_base.hxx.


Member Enumeration Documentation

Enumerator:
GRIDSTRUCTURE 
GENERALSTRUCTURE 

Definition at line 26 of file trws_base.hxx.


Constructor & Destructor Documentation

template<class GM >
trws_base::DecompositionStorage< GM >::DecompositionStorage ( const GM &  gm,
StructureType  structureType = GENERALSTRUCTURE 
) [inline]

Definition at line 828 of file trws_base.hxx.

template<class GM >
trws_base::DecompositionStorage< GM >::~DecompositionStorage (  )  [inline]

Definition at line 839 of file trws_base.hxx.


Member Function Documentation

template<class GM >
StructureType trws_base::DecompositionStorage< GM >::getStructureType (  )  const [inline]

Definition at line 41 of file trws_base.hxx.

template<class GM >
const SubVariableListType& trws_base::DecompositionStorage< GM >::getSubVariableList ( IndexType  varId  )  const [inline]

Definition at line 40 of file trws_base.hxx.

template<class GM >
const GM& trws_base::DecompositionStorage< GM >::masterModel (  )  const [inline]

Definition at line 32 of file trws_base.hxx.

Here is the caller graph for this function:

template<class GM >
LabelType trws_base::DecompositionStorage< GM >::numberOfLabels ( IndexType  varId  )  const [inline]

Definition at line 33 of file trws_base.hxx.

template<class GM >
IndexType trws_base::DecompositionStorage< GM >::numberOfModels (  )  const [inline]

Definition at line 34 of file trws_base.hxx.

template<class GM >
IndexType trws_base::DecompositionStorage< GM >::numberOfSharedVariables (  )  const [inline]

Definition at line 35 of file trws_base.hxx.

template<class GM >
IndexType trws_base::DecompositionStorage< GM >::size ( IndexType  subModelId  )  const [inline]

Definition at line 38 of file trws_base.hxx.

template<class GM >
const SubModel& trws_base::DecompositionStorage< GM >::subModel ( IndexType  modelId  )  const [inline]

Definition at line 37 of file trws_base.hxx.

template<class GM >
SubModel& trws_base::DecompositionStorage< GM >::subModel ( IndexType  modelId  )  [inline]

Definition at line 36 of file trws_base.hxx.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Generated on Mon Jun 17 16:31:13 2013 for OpenGM by  doxygen 1.6.3