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