
Allows to iterate over mandatory task views according to a specified order. More...
#include <task.hh>
Public Member Functions | |
| ManTaskViewIter (Region &r, const TaskViewArray< OptTaskView > &t) | |
| Initialize iterator with mandatory tasks. More... | |
Public Member Functions inherited from Gecode::Int::TaskViewIter< OptTaskView, sto, inc > | |
| TaskViewIter (Region &r, const TaskViewArray< OptTaskView > &t) | |
| Initialize iterator. More... | |
| bool | operator() (void) const |
| Test whether iterator is still at a task. More... | |
| int | left (void) const |
| How many tasks are left to be iterated. More... | |
| void | operator++ (void) |
| Move iterator to next task. More... | |
| int | task (void) const |
| Return current task position. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from Gecode::Int::TaskViewIter< OptTaskView, sto, inc > | |
| TaskViewIter (void) | |
| Default constructor (no initialization) More... | |
Protected Attributes inherited from Gecode::Int::TaskViewIter< OptTaskView, sto, inc > | |
| int * | map |
| Map for iteration order. More... | |
| int | i |
| Current position. More... | |
Allows to iterate over mandatory task views according to a specified order.
|
inline |