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 >::IsTransferableFunctor Struct Reference

Functor to call LPFunctionTransfer::isTransferable() for a factor of the graphical model. More...

#include <lp_functiontransfer.hxx>

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

Public Member Functions

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

Public Attributes

bool isTransferable_
 Storage for the return value of the LPFunctionTransfer::isTransferable() 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 >::IsTransferableFunctor

Functor to call LPFunctionTransfer::isTransferable() for a factor of the graphical model.

Definition at line 42 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 >::IsTransferableFunctor::operator() ( const FUNCTION_TYPE &  function)
inline

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

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

Definition at line 626 of file lp_functiontransfer.hxx.

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 >::IsTransferableFunctor::isTransferable_

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

Definition at line 43 of file lp_functiontransfer.hxx.