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