OpenGM  2.3.x
Discrete Graphical Model Library
Public Types | Static Public Member Functions | List of all members
opengm::LPFunctionTransfer_impl< LabelCostFunction< VALUE_TYPE, INDEX_TYPE, LABEL_TYPE >, VALUE_TYPE, INDEX_TYPE, LABEL_TYPE > Class Template Reference

#include <lp_functiontransfer.hxx>

+ Collaboration diagram for opengm::LPFunctionTransfer_impl< LabelCostFunction< VALUE_TYPE, INDEX_TYPE, LABEL_TYPE >, VALUE_TYPE, INDEX_TYPE, LABEL_TYPE >:

Public Types

typedef VALUE_TYPE ValueType
 
typedef INDEX_TYPE IndexType
 
typedef LABEL_TYPE LabelType
 
typedef LabelCostFunction< VALUE_TYPE, INDEX_TYPE, LABEL_TYPE > FunctionType
 
typedef LPFunctionTransfer< ValueType, IndexType, LabelTypeLPFunctionTransferType
 
typedef LPFunctionTransferType::LinearConstraintType LinearConstraintType
 
typedef LPFunctionTransferType::LinearConstraintsContainerType LinearConstraintsContainerType
 
typedef LPFunctionTransferType::IndicatorVariableType IndicatorVariableType
 
typedef LPFunctionTransferType::IndicatorVariablesContainerType IndicatorVariablesContainerType
 
typedef LPFunctionTransferType::SlackVariablesObjectiveCoefficientsContainerType SlackVariablesObjectiveCoefficientsContainerType
 

Static Public Member Functions

static bool isTransferable ()
 
static IndexType numSlackVariables (const FunctionType &function)
 
static void getSlackVariablesOrder (const FunctionType &function, IndicatorVariablesContainerType &order)
 
static void getSlackVariablesObjectiveCoefficients (const FunctionType &function, SlackVariablesObjectiveCoefficientsContainerType &coefficients)
 
static void getIndicatorVariables (const FunctionType &function, IndicatorVariablesContainerType &variables)
 
static void getLinearConstraints (const FunctionType &function, LinearConstraintsContainerType &constraints)
 

Detailed Description

template<class VALUE_TYPE, class INDEX_TYPE, class LABEL_TYPE>
class opengm::LPFunctionTransfer_impl< LabelCostFunction< VALUE_TYPE, INDEX_TYPE, LABEL_TYPE >, VALUE_TYPE, INDEX_TYPE, LABEL_TYPE >

Definition at line 123 of file lp_functiontransfer.hxx.

Member Typedef Documentation

template<class VALUE_TYPE , class INDEX_TYPE , class LABEL_TYPE >
typedef LabelCostFunction<VALUE_TYPE, INDEX_TYPE, LABEL_TYPE> opengm::LPFunctionTransfer_impl< LabelCostFunction< VALUE_TYPE, INDEX_TYPE, LABEL_TYPE >, VALUE_TYPE, INDEX_TYPE, LABEL_TYPE >::FunctionType

Definition at line 129 of file lp_functiontransfer.hxx.

template<class VALUE_TYPE , class INDEX_TYPE , class LABEL_TYPE >
typedef INDEX_TYPE opengm::LPFunctionTransfer_impl< LabelCostFunction< VALUE_TYPE, INDEX_TYPE, LABEL_TYPE >, VALUE_TYPE, INDEX_TYPE, LABEL_TYPE >::IndexType

Definition at line 127 of file lp_functiontransfer.hxx.

template<class VALUE_TYPE , class INDEX_TYPE , class LABEL_TYPE >
typedef LPFunctionTransferType::IndicatorVariablesContainerType opengm::LPFunctionTransfer_impl< LabelCostFunction< VALUE_TYPE, INDEX_TYPE, LABEL_TYPE >, VALUE_TYPE, INDEX_TYPE, LABEL_TYPE >::IndicatorVariablesContainerType

Definition at line 134 of file lp_functiontransfer.hxx.

template<class VALUE_TYPE , class INDEX_TYPE , class LABEL_TYPE >
typedef LPFunctionTransferType::IndicatorVariableType opengm::LPFunctionTransfer_impl< LabelCostFunction< VALUE_TYPE, INDEX_TYPE, LABEL_TYPE >, VALUE_TYPE, INDEX_TYPE, LABEL_TYPE >::IndicatorVariableType

Definition at line 133 of file lp_functiontransfer.hxx.

template<class VALUE_TYPE , class INDEX_TYPE , class LABEL_TYPE >
typedef LABEL_TYPE opengm::LPFunctionTransfer_impl< LabelCostFunction< VALUE_TYPE, INDEX_TYPE, LABEL_TYPE >, VALUE_TYPE, INDEX_TYPE, LABEL_TYPE >::LabelType

Definition at line 128 of file lp_functiontransfer.hxx.

template<class VALUE_TYPE , class INDEX_TYPE , class LABEL_TYPE >
typedef LPFunctionTransferType::LinearConstraintsContainerType opengm::LPFunctionTransfer_impl< LabelCostFunction< VALUE_TYPE, INDEX_TYPE, LABEL_TYPE >, VALUE_TYPE, INDEX_TYPE, LABEL_TYPE >::LinearConstraintsContainerType

Definition at line 132 of file lp_functiontransfer.hxx.

template<class VALUE_TYPE , class INDEX_TYPE , class LABEL_TYPE >
typedef LPFunctionTransferType::LinearConstraintType opengm::LPFunctionTransfer_impl< LabelCostFunction< VALUE_TYPE, INDEX_TYPE, LABEL_TYPE >, VALUE_TYPE, INDEX_TYPE, LABEL_TYPE >::LinearConstraintType

Definition at line 131 of file lp_functiontransfer.hxx.

template<class VALUE_TYPE , class INDEX_TYPE , class LABEL_TYPE >
typedef LPFunctionTransfer<ValueType, IndexType, LabelType> opengm::LPFunctionTransfer_impl< LabelCostFunction< VALUE_TYPE, INDEX_TYPE, LABEL_TYPE >, VALUE_TYPE, INDEX_TYPE, LABEL_TYPE >::LPFunctionTransferType

Definition at line 130 of file lp_functiontransfer.hxx.

template<class VALUE_TYPE , class INDEX_TYPE , class LABEL_TYPE >
typedef LPFunctionTransferType:: SlackVariablesObjectiveCoefficientsContainerType opengm::LPFunctionTransfer_impl< LabelCostFunction< VALUE_TYPE, INDEX_TYPE, LABEL_TYPE >, VALUE_TYPE, INDEX_TYPE, LABEL_TYPE >::SlackVariablesObjectiveCoefficientsContainerType

Definition at line 135 of file lp_functiontransfer.hxx.

template<class VALUE_TYPE , class INDEX_TYPE , class LABEL_TYPE >
typedef VALUE_TYPE opengm::LPFunctionTransfer_impl< LabelCostFunction< VALUE_TYPE, INDEX_TYPE, LABEL_TYPE >, VALUE_TYPE, INDEX_TYPE, LABEL_TYPE >::ValueType

Definition at line 126 of file lp_functiontransfer.hxx.

Member Function Documentation

template<class VALUE_TYPE , class INDEX_TYPE , class LABEL_TYPE >
void opengm::LPFunctionTransfer_impl< LabelCostFunction< VALUE_TYPE, INDEX_TYPE, LABEL_TYPE >, VALUE_TYPE, INDEX_TYPE, LABEL_TYPE >::getIndicatorVariables ( const FunctionType function,
IndicatorVariablesContainerType variables 
)
inlinestatic

Definition at line 823 of file lp_functiontransfer.hxx.

+ Here is the call graph for this function:

template<class VALUE_TYPE , class INDEX_TYPE , class LABEL_TYPE >
void opengm::LPFunctionTransfer_impl< LabelCostFunction< VALUE_TYPE, INDEX_TYPE, LABEL_TYPE >, VALUE_TYPE, INDEX_TYPE, LABEL_TYPE >::getLinearConstraints ( const FunctionType function,
LinearConstraintsContainerType constraints 
)
inlinestatic

Definition at line 872 of file lp_functiontransfer.hxx.

+ Here is the call graph for this function:

template<class VALUE_TYPE , class INDEX_TYPE , class LABEL_TYPE >
void opengm::LPFunctionTransfer_impl< LabelCostFunction< VALUE_TYPE, INDEX_TYPE, LABEL_TYPE >, VALUE_TYPE, INDEX_TYPE, LABEL_TYPE >::getSlackVariablesObjectiveCoefficients ( const FunctionType function,
SlackVariablesObjectiveCoefficientsContainerType coefficients 
)
inlinestatic

Definition at line 803 of file lp_functiontransfer.hxx.

+ Here is the call graph for this function:

template<class VALUE_TYPE , class INDEX_TYPE , class LABEL_TYPE >
void opengm::LPFunctionTransfer_impl< LabelCostFunction< VALUE_TYPE, INDEX_TYPE, LABEL_TYPE >, VALUE_TYPE, INDEX_TYPE, LABEL_TYPE >::getSlackVariablesOrder ( const FunctionType function,
IndicatorVariablesContainerType order 
)
inlinestatic

Definition at line 793 of file lp_functiontransfer.hxx.

+ Here is the call graph for this function:

template<class VALUE_TYPE , class INDEX_TYPE , class LABEL_TYPE >
bool opengm::LPFunctionTransfer_impl< LabelCostFunction< VALUE_TYPE, INDEX_TYPE, LABEL_TYPE >, VALUE_TYPE, INDEX_TYPE, LABEL_TYPE >::isTransferable ( )
inlinestatic

Definition at line 769 of file lp_functiontransfer.hxx.

template<class VALUE_TYPE , class INDEX_TYPE , class LABEL_TYPE >
LPFunctionTransfer_impl< LabelCostFunction< VALUE_TYPE, INDEX_TYPE, LABEL_TYPE >, VALUE_TYPE, INDEX_TYPE, LABEL_TYPE >::IndexType opengm::LPFunctionTransfer_impl< LabelCostFunction< VALUE_TYPE, INDEX_TYPE, LABEL_TYPE >, VALUE_TYPE, INDEX_TYPE, LABEL_TYPE >::numSlackVariables ( const FunctionType function)
inlinestatic

Definition at line 775 of file lp_functiontransfer.hxx.