OpenGM  2.3.x
Discrete Graphical Model Library
Public Member Functions | Public Attributes | List of all members
opengm::LPFunctionTransfer< VALUE_TYPE, INDEX_TYPE, LABEL_TYPE >::NumSlackVariablesFunctor Struct Reference

Functor to call LPFunctionTransfer::numSlackVariables() for a graphical model factor. More...

#include <lp_functiontransfer.hxx>

+ Collaboration diagram for opengm::LPFunctionTransfer< VALUE_TYPE, INDEX_TYPE, LABEL_TYPE >::NumSlackVariablesFunctor:

Public Member Functions

template<class FUNCTION_TYPE >
void operator() (const FUNCTION_TYPE &function)
 The operator which implements the access to the function of a graphical model factor. More...
 

Public Attributes

IndexType numSlackVariables_
 Storage for the return value of the LPFunctionTransfer::numSlackVariables() method. More...
 

Detailed Description

template<class VALUE_TYPE, class INDEX_TYPE = size_t, class LABEL_TYPE = size_t>
struct opengm::LPFunctionTransfer< VALUE_TYPE, INDEX_TYPE, LABEL_TYPE >::NumSlackVariablesFunctor

Functor to call LPFunctionTransfer::numSlackVariables() for a graphical model factor.

Definition at line 47 of file lp_functiontransfer.hxx.

Member Function Documentation

template<class VALUE_TYPE , class INDEX_TYPE , class LABEL_TYPE >
template<class FUNCTION_TYPE >
void opengm::LPFunctionTransfer< VALUE_TYPE, INDEX_TYPE, LABEL_TYPE >::NumSlackVariablesFunctor::operator() ( const FUNCTION_TYPE &  function)
inline

The operator which implements the access to the function of a graphical model factor.

Template Parameters
FUNCTION_TYPEThe function type.
Parameters
[in]functionThe function.

Definition at line 632 of file lp_functiontransfer.hxx.

+ Here is the call graph for this function:

Member Data Documentation

template<class VALUE_TYPE, class INDEX_TYPE = size_t, class LABEL_TYPE = size_t>
opengm::LPFunctionTransfer< VALUE_TYPE, INDEX_TYPE, LABEL_TYPE >::NumSlackVariablesFunctor::numSlackVariables_

Storage for the return value of the LPFunctionTransfer::numSlackVariables() method.

Definition at line 48 of file lp_functiontransfer.hxx.