OpenGM  2.3.x
Discrete Graphical Model Library
Static Public Member Functions | List of all members
opengm::LPInferenceBase< LP_INFERENCE_TYPE >::AddAllViolatedLinearConstraintsFunctor::AddAllViolatedLinearConstraintsFunctor_impl< FUNCTION_TYPE, IS_LINEAR_CONSTRAINT_FUNCTION > Struct Template Reference

Helper struct to distinguish between linear constraint functions and other function types. This is necessary as only linear constraint functions provide the method challenge(). More...

#include <lp_inference_base.hxx>

+ Collaboration diagram for opengm::LPInferenceBase< LP_INFERENCE_TYPE >::AddAllViolatedLinearConstraintsFunctor::AddAllViolatedLinearConstraintsFunctor_impl< FUNCTION_TYPE, IS_LINEAR_CONSTRAINT_FUNCTION >:

Static Public Member Functions

static void addAllViolatedLinearConstraintsFunctor_impl (AddAllViolatedLinearConstraintsFunctor &myself, const FUNCTION_TYPE &function)
 Actual access to the method challenge() of the underlying linear constraint function of a graphical model factor. More...
 

Detailed Description

template<class LP_INFERENCE_TYPE>
template<class FUNCTION_TYPE, bool IS_LINEAR_CONSTRAINT_FUNCTION>
struct opengm::LPInferenceBase< LP_INFERENCE_TYPE >::AddAllViolatedLinearConstraintsFunctor::AddAllViolatedLinearConstraintsFunctor_impl< FUNCTION_TYPE, IS_LINEAR_CONSTRAINT_FUNCTION >

Helper struct to distinguish between linear constraint functions and other function types. This is necessary as only linear constraint functions provide the method challenge().

Template Parameters
FUNCTION_TYPEThe function type used with LPInferenceBase::AddAllViolatedLinearConstraintsFunctor.
IS_LINEAR_CONSTRAINT_FUNCTIONIndicator to tell if FUNCTION_TYPE is a linear constraint function type.

Definition at line 189 of file lp_inference_base.hxx.

Member Function Documentation

template<class LP_INFERENCE_TYPE >
template<class FUNCTION_TYPE , bool IS_LINEAR_CONSTRAINT_FUNCTION>
void opengm::LPInferenceBase< LP_INFERENCE_TYPE >::AddAllViolatedLinearConstraintsFunctor::AddAllViolatedLinearConstraintsFunctor_impl< FUNCTION_TYPE, IS_LINEAR_CONSTRAINT_FUNCTION >::addAllViolatedLinearConstraintsFunctor_impl ( AddAllViolatedLinearConstraintsFunctor myself,
const FUNCTION_TYPE &  function 
)
inlinestatic

Actual access to the method challenge() of the underlying linear constraint function of a graphical model factor.

Parameters
[out]myselfReference to the functor LPInferenceBase::AddAllViolatedLinearConstraintsFunctor to access the variables of the functor.
[in]functionThe function which will be accessed.

Definition at line 3323 of file lp_inference_base.hxx.

+ Here is the call graph for this function: