Integer valued set expressions. More...
Public Types | |
enum | SetNonLinExprType { SNLE_CARD, SNLE_MIN, SNLE_MAX } |
The expression type. More... | |
Public Member Functions | |
SetNonLinExpr (const SetExpr &e0, SetNonLinExprType t0) | |
Constructor. | |
virtual IntVar | post (Home home, IntVar *ret, IntConLevel) const |
Post expression. | |
virtual void | post (Home home, IntRelType irt, int c, IntConLevel icl) const |
Post expression to be in relation irt with c. | |
virtual void | post (Home home, IntRelType irt, int c, BoolVar b, IntConLevel icl) const |
Post reified expression to be in relation irt with c. | |
Public Attributes | |
enum Gecode::MiniModel::SetNonLinExpr::SetNonLinExprType | t |
SetExpr | e |
The expression. |
Integer valued set expressions.
The expression type.
SNLE_CARD |
Cardinality expression. |
SNLE_MIN |
Minimum element expression. |
SNLE_MAX |
Maximum element expression. |
Definition at line 586 of file set-expr.cpp.
Gecode::MiniModel::SetNonLinExpr::SetNonLinExpr | ( | const SetExpr & | e0, |
SetNonLinExprType | t0 | ||
) | [inline] |
Constructor.
Definition at line 594 of file set-expr.cpp.
virtual IntVar Gecode::MiniModel::SetNonLinExpr::post | ( | Home | home, |
IntVar * | ret, | ||
IntConLevel | |||
) | const [inline, virtual] |
virtual void Gecode::MiniModel::SetNonLinExpr::post | ( | Home | home, |
IntRelType | irt, | ||
int | c, | ||
IntConLevel | icl | ||
) | const [inline, virtual] |
Post expression to be in relation irt with c.
Implements Gecode::NonLinExpr.
Definition at line 615 of file set-expr.cpp.
virtual void Gecode::MiniModel::SetNonLinExpr::post | ( | Home | home, |
IntRelType | irt, | ||
int | c, | ||
BoolVar | b, | ||
IntConLevel | icl | ||
) | const [inline, virtual] |
Post reified expression to be in relation irt with c.
Implements Gecode::NonLinExpr.
Definition at line 657 of file set-expr.cpp.
The expression.
Definition at line 592 of file set-expr.cpp.