Gecode::SetExprRanges Class Reference
List of all members.Detailed Description
Range iterator for set expressions.
Definition at line 82 of file set-expr.icc.
Constructors and destructor | |
SetExprRanges (const SetExprRanges &) | |
Copy constructor. | |
SetExprRanges (const ViewArray< Set::SetView > &x, SetExpr &s, bool monotone) | |
SetExprRanges (const ViewArray< Set::SetView > &x, const SetExprCode &s, bool monotone) | |
~SetExprRanges (void) | |
Destructor. | |
Iteration control | |
bool | operator() (void) |
Move iterator to next range (if possible). | |
void | operator++ (void) |
Test whether iterator is still at a range or done. | |
Range access | |
int | min (void) const |
Return smallest value of range. | |
int | max (void) const |
Return largest value of range. | |
unsigned int | width (void) const |
Return width of range (distance between minimum and maximum). | |
Classes | |
class | Iter |
Reference-counted range iterators with virtual member functions. More... |
Constructor & Destructor Documentation
|
Copy constructor.
Definition at line 165 of file set-expr.icc. |
|
Initialize with the views x, a set expression s, and a flag whether s is to be interpreted in a monotone or anti-monotone way Definition at line 292 of file set-expr.cc. |
|
Initialize with the views x, a set expression code c, and a flag whether c is to be interpreted in a monotone or anti-monotone way Definition at line 298 of file set-expr.cc. |
|
Destructor.
Definition at line 170 of file set-expr.icc. |
Member Function Documentation
|
Move iterator to next range (if possible).
Definition at line 176 of file set-expr.icc. |
|
Test whether iterator is still at a range or done.
Definition at line 179 of file set-expr.icc. |
|
Return smallest value of range.
Definition at line 182 of file set-expr.icc. |
|
Return largest value of range.
Definition at line 185 of file set-expr.icc. |
|
Return width of range (distance between minimum and maximum).
Definition at line 188 of file set-expr.icc. |
The documentation for this class was generated from the following files:
- gecode/set/projectors/set-expr.icc (Revision: 3548)
- gecode/set/projectors/set-expr.cc (Revision: 3548)