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

#include <utilities2.hxx>

+ Collaboration diagram for opengm::trws_base::FactorWrapper< FACTOR >:

Public Types

typedef FACTOR::ValueType ValueType
 
typedef FACTOR::LabelType LabelType
 

Public Member Functions

 FactorWrapper (const FACTOR &f)
 
ValueType operator() (LabelType l1, LabelType l2) const
 

Detailed Description

template<class FACTOR>
class opengm::trws_base::FactorWrapper< FACTOR >

Definition at line 65 of file utilities2.hxx.

Member Typedef Documentation

template<class FACTOR >
typedef FACTOR::LabelType opengm::trws_base::FactorWrapper< FACTOR >::LabelType

Definition at line 69 of file utilities2.hxx.

template<class FACTOR >
typedef FACTOR::ValueType opengm::trws_base::FactorWrapper< FACTOR >::ValueType

Definition at line 68 of file utilities2.hxx.

Constructor & Destructor Documentation

template<class FACTOR >
opengm::trws_base::FactorWrapper< FACTOR >::FactorWrapper ( const FACTOR &  f)
inline

Definition at line 70 of file utilities2.hxx.

Member Function Documentation

template<class FACTOR >
ValueType opengm::trws_base::FactorWrapper< FACTOR >::operator() ( LabelType  l1,
LabelType  l2 
) const
inline

Definition at line 71 of file utilities2.hxx.