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

#include <trws_subproblemsolver.hxx>

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

Public Types

enum  FunctionType { GENERAL, POTTS }
 
typedef GM::ValueType ValueType
 
typedef std::vector< ValueTypeParameterStorageType
 
typedef GM::IndexType IndexType
 
typedef GM::LabelType LabelType
 

Public Member Functions

 FunctionParameters (const GM &gm)
 
FunctionType getFunctionType (IndexType factorId) const
 
const ParameterStorageTypegetFunctionParameters (IndexType factorId) const
 

Detailed Description

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

Definition at line 85 of file trws_subproblemsolver.hxx.

Member Typedef Documentation

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

Definition at line 92 of file trws_subproblemsolver.hxx.

template<class GM >
typedef GM::LabelType opengm::trws_base::FunctionParameters< GM >::LabelType

Definition at line 93 of file trws_subproblemsolver.hxx.

template<class GM >
typedef std::vector<ValueType> opengm::trws_base::FunctionParameters< GM >::ParameterStorageType

Definition at line 91 of file trws_subproblemsolver.hxx.

template<class GM >
typedef GM::ValueType opengm::trws_base::FunctionParameters< GM >::ValueType

Definition at line 89 of file trws_subproblemsolver.hxx.

Member Enumeration Documentation

Enumerator
GENERAL 
POTTS 

Definition at line 88 of file trws_subproblemsolver.hxx.

Constructor & Destructor Documentation

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

Definition at line 119 of file trws_subproblemsolver.hxx.

Member Function Documentation

template<class GM >
const ParameterStorageType& opengm::trws_base::FunctionParameters< GM >::getFunctionParameters ( IndexType  factorId) const
inline

Definition at line 101 of file trws_subproblemsolver.hxx.

template<class GM >
FunctionType opengm::trws_base::FunctionParameters< GM >::getFunctionType ( IndexType  factorId) const
inline

Definition at line 96 of file trws_subproblemsolver.hxx.