trws_base::VariableToFactorMapping< GM > Class Template Reference

#include <utilities2.hxx>

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

List of all members.

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 trws_base::VariableToFactorMapping< GM >

Definition at line 22 of file utilities2.hxx.


Member Typedef Documentation

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

Definition at line 25 of file utilities2.hxx.


Constructor & Destructor Documentation

template<class GM >
trws_base::VariableToFactorMapping< GM >::VariableToFactorMapping ( const GM &  gm  )  [inline]

Definition at line 40 of file utilities2.hxx.


Member Function Documentation

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

Definition at line 29 of file utilities2.hxx.

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

Definition at line 30 of file utilities2.hxx.

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

Definition at line 28 of file utilities2.hxx.


Member Data Documentation

template<class GM >
const VariableToFactorMapping< GM >::IndexType trws_base::VariableToFactorMapping< GM >::InvalidIndex = std::numeric_limits<IndexType>::max() [inline, static]

Definition at line 26 of file utilities2.hxx.

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