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

#include <utilities2.hxx>

+ Collaboration diagram for opengm::trws_base::VariableToFactorMapping< GM >:

Public Types

typedef GM::IndexType IndexType
 

Public Member Functions

 VariableToFactorMapping (const GM &gm)
 
IndexType operator() (IndexType var) const
 
bool EachVariableHasUnaryFactor () const
 
IndexType numberOfUnaryFactors () const
 

Static Public Attributes

static const IndexType InvalidIndex =std::numeric_limits<IndexType>::max()
 

Detailed Description

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

Definition at line 33 of file utilities2.hxx.

Member Typedef Documentation

template<class GM >
typedef GM::IndexType opengm::trws_base::VariableToFactorMapping< GM >::IndexType

Definition at line 36 of file utilities2.hxx.

Constructor & Destructor Documentation

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

Definition at line 51 of file utilities2.hxx.

Member Function Documentation

template<class GM >
bool opengm::trws_base::VariableToFactorMapping< GM >::EachVariableHasUnaryFactor ( ) const
inline

Definition at line 40 of file utilities2.hxx.

template<class GM >
IndexType opengm::trws_base::VariableToFactorMapping< GM >::numberOfUnaryFactors ( ) const
inline

Definition at line 41 of file utilities2.hxx.

template<class GM >
IndexType opengm::trws_base::VariableToFactorMapping< GM >::operator() ( IndexType  var) const
inline

Definition at line 39 of file utilities2.hxx.

Member Data Documentation

template<class GM >
const VariableToFactorMapping< GM >::IndexType opengm::trws_base::VariableToFactorMapping< GM >::InvalidIndex =std::numeric_limits<IndexType>::max()
static

Definition at line 37 of file utilities2.hxx.