|
OpenGM
2.3.x
Discrete Graphical Model Library
|
Functor used to access the method challengeRelaxed() of the underlying linear constraint function of a graphical model factor and to add all violated constraints to the LP/MIP model. More...
#include <lp_inference_base.hxx>
Collaboration diagram for opengm::LPInferenceBase< LP_INFERENCE_TYPE >::AddAllViolatedLinearConstraintsRelaxedFunctor:Classes | |
| struct | AddAllViolatedLinearConstraintsRelaxedFunctor_impl |
| 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... | |
| struct | AddAllViolatedLinearConstraintsRelaxedFunctor_impl< FUNCTION_TYPE, true > |
Public Member Functions | |
| template<class LINEAR_CONSTRAINT_FUNCTION_TYPE > | |
| void | operator() (const LINEAR_CONSTRAINT_FUNCTION_TYPE &linearConstraintFunction) |
| Operator used to access the method challengeRelaxed() of the underlying linear constraint function of a graphical model factor and to add all violated constraints to the LP/MIP model. More... | |
Public Attributes | |
| ValueType | tolerance_ |
| The tolerance used for the method challengeRelaxed() of the underlying linear constraint function of a graphical model factor. More... | |
| RelaxedSolutionSubsequenceIterator | labelingBegin_ |
| Iterator used to iterate over the current solution. More... | |
| bool | violatedConstraintAdded_ |
| Indicator used to tell if at least one constraint was added to the LP/MIP model. More... | |
| LPInferenceBaseType * | lpInference_ |
| Pointer pointing to the instance of opengm::LPInferenceBase to get access to the LP/MIP model. More... | |
| IndexType | linearConstraintID_ |
| Index of the linear constraint factor. More... | |
Functor used to access the method challengeRelaxed() of the underlying linear constraint function of a graphical model factor and to add all violated constraints to the LP/MIP model.
Definition at line 197 of file lp_inference_base.hxx.
|
inline |
Operator used to access the method challengeRelaxed() of the underlying linear constraint function of a graphical model factor and to add all violated constraints to the LP/MIP model.
| LINEAR_CONSTRAINT_FUNCTION_TYPE | The underlying linear constraint function type of a graphical model factor. |
| [in] | linearConstraintFunction | The underlying linear constraint function of a graphical model factor. |
Definition at line 3345 of file lp_inference_base.hxx.
| opengm::LPInferenceBase< LP_INFERENCE_TYPE >::AddAllViolatedLinearConstraintsRelaxedFunctor::labelingBegin_ |
Iterator used to iterate over the current solution.
Definition at line 200 of file lp_inference_base.hxx.
| opengm::LPInferenceBase< LP_INFERENCE_TYPE >::AddAllViolatedLinearConstraintsRelaxedFunctor::linearConstraintID_ |
Index of the linear constraint factor.
Definition at line 203 of file lp_inference_base.hxx.
| opengm::LPInferenceBase< LP_INFERENCE_TYPE >::AddAllViolatedLinearConstraintsRelaxedFunctor::lpInference_ |
Pointer pointing to the instance of opengm::LPInferenceBase to get access to the LP/MIP model.
Definition at line 202 of file lp_inference_base.hxx.
| opengm::LPInferenceBase< LP_INFERENCE_TYPE >::AddAllViolatedLinearConstraintsRelaxedFunctor::tolerance_ |
The tolerance used for the method challengeRelaxed() of the underlying linear constraint function of a graphical model factor.
Definition at line 199 of file lp_inference_base.hxx.
| opengm::LPInferenceBase< LP_INFERENCE_TYPE >::AddAllViolatedLinearConstraintsRelaxedFunctor::violatedConstraintAdded_ |
Indicator used to tell if at least one constraint was added to the LP/MIP model.
Definition at line 201 of file lp_inference_base.hxx.
1.8.9.1