Gecode::MiniModel::LinRel< Var > Class Template Reference
#include <minimodel.hh>
Detailed Description
template<class Var>
class Gecode::MiniModel::LinRel< Var >
Linear relations.
Definition at line 156 of file minimodel.hh.
Public Member Functions | |
| LinRel (void) | |
| Default constructor. | |
| LinRel (const LinExpr< Var > &l, IntRelType irt, const LinExpr< Var > &r) | |
| Create linear relation for expressions l and r. | |
| LinRel (const LinExpr< Var > &l, IntRelType irt, int r) | |
| Create linear relation for expression l and integer r. | |
| LinRel (int l, IntRelType irt, const LinExpr< Var > &r) | |
| Create linear relation for integer l and expression r. | |
| void | post (Space *home, bool t, IntConLevel icl, PropKind pk) const |
| Post propagator for relation (if t is false for negated relation). | |
| void | post (Space *home, const BoolVar &b, IntConLevel icl, PropKind pk) const |
| Post reified propagator for relation. | |
Constructor & Destructor Documentation
template<class Var>
| Gecode::MiniModel::LinRel< Var >::LinRel | ( | void | ) | [inline] |
template<class Var>
| Gecode::MiniModel::LinRel< Var >::LinRel | ( | const LinExpr< Var > & | l, | |
| IntRelType | irt, | |||
| const LinExpr< Var > & | r | |||
| ) | [inline] |
template<class Var>
| Gecode::MiniModel::LinRel< Var >::LinRel | ( | const LinExpr< Var > & | l, | |
| IntRelType | irt, | |||
| int | r | |||
| ) | [inline] |
template<class Var>
| Gecode::MiniModel::LinRel< Var >::LinRel | ( | int | l, | |
| IntRelType | irt, | |||
| const LinExpr< Var > & | r | |||
| ) | [inline] |
Member Function Documentation
template<class Var>
| void Gecode::MiniModel::LinRel< Var >::post | ( | Space * | home, | |
| bool | t, | |||
| IntConLevel | icl, | |||
| PropKind | pk | |||
| ) | const [inline] |
Post propagator for relation (if t is false for negated relation).
Definition at line 83 of file lin-rel.icc.
template<class Var>
| void Gecode::MiniModel::LinRel< Var >::post | ( | Space * | home, | |
| const BoolVar & | b, | |||
| IntConLevel | icl, | |||
| PropKind | pk | |||
| ) | const [inline] |
The documentation for this class was generated from the following files:
- gecode/minimodel.hh (Revision: 7354)
- gecode/minimodel/lin-rel.icc (Revision: 6311)
