|
OpenGM
2.3.x
Discrete Graphical Model Library
|
Functor used to access the method challenge() 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 >::AddAllViolatedLinearConstraintsFunctor:Classes | |
| struct | AddAllViolatedLinearConstraintsFunctor_impl |
| 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... | |
| struct | AddAllViolatedLinearConstraintsFunctor_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 challenge() 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 challenge() of the underlying linear constraint function of a graphical model factor. More... | |
| IntegerSolutionSubsequenceIterator | 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 challenge() 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 177 of file lp_inference_base.hxx.
|
inline |
Operator used to access the method challenge() 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 3317 of file lp_inference_base.hxx.
| opengm::LPInferenceBase< LP_INFERENCE_TYPE >::AddAllViolatedLinearConstraintsFunctor::labelingBegin_ |
Iterator used to iterate over the current solution.
Definition at line 180 of file lp_inference_base.hxx.
| opengm::LPInferenceBase< LP_INFERENCE_TYPE >::AddAllViolatedLinearConstraintsFunctor::linearConstraintID_ |
Index of the linear constraint factor.
Definition at line 183 of file lp_inference_base.hxx.
| opengm::LPInferenceBase< LP_INFERENCE_TYPE >::AddAllViolatedLinearConstraintsFunctor::lpInference_ |
Pointer pointing to the instance of opengm::LPInferenceBase to get access to the LP/MIP model.
Definition at line 182 of file lp_inference_base.hxx.
| opengm::LPInferenceBase< LP_INFERENCE_TYPE >::AddAllViolatedLinearConstraintsFunctor::tolerance_ |
The tolerance used for the method challenge() of the underlying linear constraint function of a graphical model factor.
Definition at line 179 of file lp_inference_base.hxx.
| opengm::LPInferenceBase< LP_INFERENCE_TYPE >::AddAllViolatedLinearConstraintsFunctor::violatedConstraintAdded_ |
Indicator used to tell if at least one constraint was added to the LP/MIP model.
Definition at line 181 of file lp_inference_base.hxx.
1.8.9.1