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

#include <lp_reparametrization.hxx>

+ Inheritance diagram for opengm::LPReparametrisationStorage< GM >:
+ Collaboration diagram for opengm::LPReparametrisationStorage< GM >:

Public Types

typedef GM GraphicalModelType
 
typedef GM::ValueType ValueType
 
typedef GM::FactorType FactorType
 
typedef GM::IndexType IndexType
 
typedef GM::LabelType LabelType
 
typedef std::vector< ValueTypeUnaryFactor
 
typedef ValueTypeuIterator
 
typedef std::vector< UnaryFactorVecUnaryFactors
 
typedef std::map< IndexType, IndexTypeVarIdMapType
 

Public Member Functions

 LPReparametrisationStorage (const GM &gm)
 
const UnaryFactorget (IndexType factorIndex, IndexType relativeVarIndex) const
 
std::pair< uIterator, uIteratorgetIterators (IndexType factorIndex, IndexType relativeVarIndex)
 
template<class ITERATOR >
ValueType getFactorValue (IndexType findex, ITERATOR it) const
 
ValueType getVariableValue (IndexType varIndex, LabelType label) const
 
IndexType localId (IndexType factorId, IndexType varIndex) const
 
const GM & graphicalModel () const
 
template<class VECTOR >
void serialize (VECTOR *pserialization) const
 
template<class VECTOR >
void deserialize (const VECTOR &serialization)
 

Detailed Description

template<class GM>
class opengm::LPReparametrisationStorage< GM >

Definition at line 27 of file lp_reparametrization.hxx.

Member Typedef Documentation

template<class GM>
typedef GM::FactorType opengm::LPReparametrisationStorage< GM >::FactorType

Definition at line 31 of file lp_reparametrization.hxx.

template<class GM>
typedef GM opengm::LPReparametrisationStorage< GM >::GraphicalModelType

Definition at line 29 of file lp_reparametrization.hxx.

template<class GM>
typedef GM::IndexType opengm::LPReparametrisationStorage< GM >::IndexType

Definition at line 32 of file lp_reparametrization.hxx.

template<class GM>
typedef GM::LabelType opengm::LPReparametrisationStorage< GM >::LabelType

Definition at line 33 of file lp_reparametrization.hxx.

template<class GM>
typedef ValueType* opengm::LPReparametrisationStorage< GM >::uIterator

Definition at line 37 of file lp_reparametrization.hxx.

template<class GM>
typedef std::vector<ValueType> opengm::LPReparametrisationStorage< GM >::UnaryFactor

Definition at line 36 of file lp_reparametrization.hxx.

template<class GM>
typedef GM::ValueType opengm::LPReparametrisationStorage< GM >::ValueType

Definition at line 30 of file lp_reparametrization.hxx.

template<class GM>
typedef std::map<IndexType,IndexType> opengm::LPReparametrisationStorage< GM >::VarIdMapType

Definition at line 39 of file lp_reparametrization.hxx.

template<class GM>
typedef std::vector<UnaryFactor> opengm::LPReparametrisationStorage< GM >::VecUnaryFactors

Definition at line 38 of file lp_reparametrization.hxx.

Constructor & Destructor Documentation

template<class GM>
opengm::LPReparametrisationStorage< GM >::LPReparametrisationStorage ( const GM &  gm)

Definition at line 124 of file lp_reparametrization.hxx.

Member Function Documentation

template<class GM >
template<class VECTOR >
void opengm::LPReparametrisationStorage< GM >::deserialize ( const VECTOR &  serialization)

Definition at line 187 of file lp_reparametrization.hxx.

+ Here is the caller graph for this function:

template<class GM>
const UnaryFactor& opengm::LPReparametrisationStorage< GM >::get ( IndexType  factorIndex,
IndexType  relativeVarIndex 
) const
inline

Definition at line 42 of file lp_reparametrization.hxx.

+ Here is the caller graph for this function:

template<class GM>
template<class ITERATOR >
ValueType opengm::LPReparametrisationStorage< GM >::getFactorValue ( IndexType  findex,
ITERATOR  it 
) const
inline

Definition at line 58 of file lp_reparametrization.hxx.

template<class GM>
std::pair<uIterator,uIterator> opengm::LPReparametrisationStorage< GM >::getIterators ( IndexType  factorIndex,
IndexType  relativeVarIndex 
)
inline

Definition at line 48 of file lp_reparametrization.hxx.

template<class GM>
ValueType opengm::LPReparametrisationStorage< GM >::getVariableValue ( IndexType  varIndex,
LabelType  label 
) const
inline

Definition at line 80 of file lp_reparametrization.hxx.

+ Here is the caller graph for this function:

template<class GM>
const GM& opengm::LPReparametrisationStorage< GM >::graphicalModel ( ) const
inline

Definition at line 109 of file lp_reparametrization.hxx.

+ Here is the caller graph for this function:

template<class GM>
IndexType opengm::LPReparametrisationStorage< GM >::localId ( IndexType  factorId,
IndexType  varIndex 
) const
inline

Definition at line 104 of file lp_reparametrization.hxx.

+ Here is the caller graph for this function:

template<class GM >
template<class VECTOR >
void opengm::LPReparametrisationStorage< GM >::serialize ( VECTOR *  pserialization) const

Definition at line 167 of file lp_reparametrization.hxx.

+ Here is the caller graph for this function: