OpenGM  2.3.x
Discrete Graphical Model Library
Classes
opengm::LinearConstraintTraits Class Reference

Traits class for LinearConstraint to provide template independent enum for ConstraintOperatorType. More...

#include <linear_constraint.hxx>

+ Collaboration diagram for opengm::LinearConstraintTraits:

Classes

struct  LinearConstraintOperator
 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...
 

Detailed Description

Traits class for LinearConstraint to provide template independent enum for ConstraintOperatorType.

This is a traits class for the class LinearConstraint to provide an enum for ConstraintOperatorType. This has to be done outside the LinearConstraint class. Otherwise there would be several different types defining the same enum. One for each instantiation of LinearConstraint, as LinearConstraint is a template class.

Definition at line 14 of file linear_constraint.hxx.