Gecode::MiniModel::LinExpr Class Reference
#include <minimodel.hh>
Detailed Description
Linear expressions.
Definition at line 70 of file minimodel.hh.
Public Member Functions | |
| LinExpr (void) | |
| Default constructor. | |
| LinExpr (const LinExpr &e) | |
| Copy constructor. | |
| LinExpr (const IntVar &x, int a=1, int c=0) | |
Create expression . | |
| LinExpr (const LinExpr &e0, const LinExpr &e1, int s) | |
Create expression (where s is the sign). | |
| LinExpr (const LinExpr &e, int c, int s) | |
Create expression (where s is the sign). | |
| LinExpr (int a, const LinExpr &e) | |
Create expression . | |
| const LinExpr & | operator= (const LinExpr &e) |
| Assignment operator. | |
| void | post (Space *home, IntRelType irt, IntConLevel icl) const |
| Post propagator. | |
| void | post (Space *home, IntRelType irt, const BoolVar &b) const |
| Post reified propagator. | |
| IntVar | post (Space *home, IntConLevel icl) const |
| Post propagator and return variable for value. | |
| ~LinExpr (void) | |
| Destructor. | |
Public Attributes | |
| unsigned int | n |
| Number of variables in sub terms. | |
| int | c |
| Constant for expression. | |
| int | sign |
| Sign for expression. | |
Constructor & Destructor Documentation
|
|
Default constructor.
Definition at line 64 of file lin-expr.icc. |
|
|
Copy constructor.
|
|
||||||||||||||||
|
Create expression
Definition at line 68 of file lin-expr.icc. |
|
||||||||||||||||
|
Create expression
Definition at line 73 of file lin-expr.icc. |
|
||||||||||||||||
|
Create expression
Definition at line 79 of file lin-expr.icc. |
|
||||||||||||
|
Create expression
Definition at line 85 of file lin-expr.icc. |
|
|
Destructor.
Definition at line 105 of file lin-expr.icc. |
Member Function Documentation
|
|
Assignment operator.
Definition at line 91 of file lin-expr.icc. |
|
||||||||||||||||
|
Post propagator.
Definition at line 60 of file lin-expr.cc. |
|
||||||||||||||||
|
Post reified propagator.
Definition at line 67 of file lin-expr.cc. |
|
||||||||||||
|
Post propagator and return variable for value.
Definition at line 74 of file lin-expr.cc. |
Member Data Documentation
|
|
Number of variables in sub terms.
Definition at line 107 of file minimodel.hh. |
|
|
Constant for expression.
Definition at line 108 of file minimodel.hh. |
|
|
Sign for expression.
Definition at line 109 of file minimodel.hh. |
The documentation for this class was generated from the following files:
- gecode/minimodel.hh (Revision: 3579)
- gecode/minimodel/lin-expr.cc (Revision: 3513)
- gecode/minimodel/lin-expr.icc (Revision: 3553)

.
(where s is the sign).
(where s is the sign).
.