OpenGM  2.3.x
Discrete Graphical Model Library
Public Types | List of all members
opengm::LinearConstraintTraits::LinearConstraintOperator Struct Reference

This struct is used to create an own scope for the LinearConstraintTraits::LinearConstraintOperator::ValueType enum as this is not done in C++ by default. More...

#include <linear_constraint.hxx>

+ Collaboration diagram for opengm::LinearConstraintTraits::LinearConstraintOperator:

Public Types

enum  ValueType { LessEqual, Equal, GreaterEqual }
 This enum defines the operator type for the linear constraint. More...
 

Detailed Description

This struct is used to create an own scope for the LinearConstraintTraits::LinearConstraintOperator::ValueType enum as this is not done in C++ by default.

Definition at line 17 of file linear_constraint.hxx.

Member Enumeration Documentation

This enum defines the operator type for the linear constraint.

Enumerator
LessEqual 

Defines the linear constraint operator type to be $\leq$. Hence the left hand side of the constraint will be compared against the bound using the operator <=.

Equal 

Defines the linear constraint operator type to be $=$. Hence the left hand side of the constraint will be compared against the bound using the operator ==.

GreaterEqual 

Defines the linear constraint operator type to be $\geq$. Hence the left hand side of the constraint will be compared against the bound using the operator >=.

Definition at line 17 of file linear_constraint.hxx.