Gecode::Set::Select::IdxViewArray< View > Class Template Reference
#include <idxarray.hh>
Detailed Description
template<class View>
class Gecode::Set::Select::IdxViewArray< View >
An array of IndexView pairs.
Definition at line 46 of file idxarray.hh.
Public Member Functions | |
| IdxViewArray (void) | |
| Default constructor. | |
| IdxViewArray (const IdxViewArray< View > &) | |
| Copy constructor. | |
| IdxViewArray (Space *home, const SetVarArgs &x) | |
| Construct an IdxViewArray from x. | |
| int | size (void) const |
| Return the current size. | |
| void | size (int n) |
| Set the size to n. | |
| IdxView< View > & | operator[] (int n) |
| Access element n. | |
| const IdxView< View > & | operator[] (int) const |
| Access element n. | |
| void | subscribe (Space *home, Propagator *p, PropCond pc, bool process=true) |
| void | cancel (Space *home, Propagator *p, PropCond pc) |
| void | update (Space *home, bool share, IdxViewArray< View > &x) |
| Cloning. | |
Constructor & Destructor Documentation
|
||||||||||
|
Default constructor.
Definition at line 34 of file idxarray.icc. |
|
||||||||||
|
Copy constructor.
Definition at line 37 of file idxarray.icc. |
|
||||||||||||||||
|
Construct an IdxViewArray from x.
Definition at line 42 of file idxarray.icc. |
Member Function Documentation
|
||||||||||
|
Return the current size.
Definition at line 57 of file idxarray.icc. |
|
||||||||||
|
Set the size to n.
Definition at line 63 of file idxarray.icc. |
|
||||||||||
|
Access element n.
Definition at line 69 of file idxarray.icc. |
|
||||||||||
|
Access element n.
Definition at line 76 of file idxarray.icc. |
|
||||||||||||||||||||||||
|
Subscribe propagator p with propagation condition pc to all elements of the array. Definition at line 83 of file idxarray.icc. |
|
||||||||||||||||||||
|
Cancel subscription of propagator p with propagation condition pc for all elements of the array. Definition at line 91 of file idxarray.icc. |
|
||||||||||||||||||||
|
Cloning.
Definition at line 98 of file idxarray.icc. |
The documentation for this class was generated from the following files:
- gecode/set/select/idxarray.hh (Revision: 3559)
- gecode/set/select/idxarray.icc (Revision: 3559)
