OpenGM  2.3.x
Discrete Graphical Model Library
Static Public Member Functions | List of all members
opengm::AddViolatedLinearConstraintsRelaxedFunctor< LP_INFERENCE_BASE_TYPE, HEURISTIC >::AddViolatedLinearConstraintsRelaxedFunctor_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 challengeRelaxed(). More...

#include <lp_inference_base.hxx>

+ Collaboration diagram for opengm::AddViolatedLinearConstraintsRelaxedFunctor< LP_INFERENCE_BASE_TYPE, HEURISTIC >::AddViolatedLinearConstraintsRelaxedFunctor_impl< FUNCTION_TYPE, IS_LINEAR_CONSTRAINT_FUNCTION >:

Static Public Member Functions

static void addViolatedLinearConstraintsRelaxedFunctor_impl (AddViolatedLinearConstraintsRelaxedFunctor< LP_INFERENCE_BASE_TYPE, HEURISTIC > &myself, const FUNCTION_TYPE &function)
 Actual access to the method challengeRelaxed() of the underlying linear constraint function of a graphical model factor. More...
 

Detailed Description

template<class LP_INFERENCE_BASE_TYPE, typename LP_INFERENCE_BASE_TYPE::Parameter::ChallengeHeuristic HEURISTIC>
template<class FUNCTION_TYPE, bool IS_LINEAR_CONSTRAINT_FUNCTION>
struct opengm::AddViolatedLinearConstraintsRelaxedFunctor< LP_INFERENCE_BASE_TYPE, HEURISTIC >::AddViolatedLinearConstraintsRelaxedFunctor_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 challengeRelaxed().

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

Definition at line 345 of file lp_inference_base.hxx.

Member Function Documentation

template<class LP_INFERENCE_BASE_TYPE , typename LP_INFERENCE_BASE_TYPE::Parameter::ChallengeHeuristic HEURISTIC>
template<class FUNCTION_TYPE , bool IS_LINEAR_CONSTRAINT_FUNCTION>
void opengm::AddViolatedLinearConstraintsRelaxedFunctor< LP_INFERENCE_BASE_TYPE, HEURISTIC >::AddViolatedLinearConstraintsRelaxedFunctor_impl< FUNCTION_TYPE, IS_LINEAR_CONSTRAINT_FUNCTION >::addViolatedLinearConstraintsRelaxedFunctor_impl ( AddViolatedLinearConstraintsRelaxedFunctor< LP_INFERENCE_BASE_TYPE, HEURISTIC > &  myself,
const FUNCTION_TYPE &  function 
)
inlinestatic

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

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

Definition at line 3421 of file lp_inference_base.hxx.

+ Here is the call graph for this function: