Gecode::SetExprCode Class Reference
[Projector constraints]
#include <projectors.hh>
Detailed Description
Code representing set-valued expressions for finite set projectors.Set-valued expressions are represented using a simple stack-based language.
Definition at line 45 of file projectors.hh.
Construction and initialization | |
SetExprCode (void) | |
Default constructor. | |
SetExprCode (const SetExprCode &sc) | |
Copy constructor. | |
Public Types | |
enum | Instruction { COMPLEMENT, INTER, UNION, GLB, LUB, EMPTY, UNIVERSE, LAST } |
Instructions for set-valued expression code. More... | |
Public Member Functions | |
void | update (bool share, SetExprCode &sc) |
Copying. | |
void | add (int i) |
Add instruction i to the end of the current code. | |
int | size (void) const |
Return number of instructions. | |
int | operator[] (int i) const |
Return instruction at position i. |
Member Enumeration Documentation
|
Instructions for set-valued expression code.
Definition at line 53 of file projectors.hh. |
Constructor & Destructor Documentation
|
Default constructor.
Definition at line 30 of file set-expr.icc. |
|
Copy constructor.
Definition at line 33 of file set-expr.icc. |
Member Function Documentation
|
Copying.
Definition at line 36 of file set-expr.icc. |
|
Add instruction i to the end of the current code.
Definition at line 41 of file set-expr.icc. |
|
Return number of instructions.
Definition at line 48 of file set-expr.icc. |
|
Return instruction at position i.
Definition at line 51 of file set-expr.icc. |
The documentation for this class was generated from the following files:
- gecode/set/projectors.hh (Revision: 3573)
- gecode/set/projectors/set-expr.icc (Revision: 3548)