Generated on Sat Feb 7 2015 02:01:44 for Gecode by doxygen 1.8.9.1
Gecode::Int::ManTaskViewIter< OptTaskView, sto, inc > Class Template Reference

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...
 

Detailed Description

template<class OptTaskView, SortTaskOrder sto, bool inc>
class Gecode::Int::ManTaskViewIter< OptTaskView, sto, inc >

Allows to iterate over mandatory task views according to a specified order.

Definition at line 339 of file task.hh.

Constructor & Destructor Documentation

template<class OptTaskView , SortTaskOrder sto, bool inc>
Gecode::Int::ManTaskViewIter< OptTaskView, sto, inc >::ManTaskViewIter ( Region r,
const TaskViewArray< OptTaskView > &  t 
)
inline

Initialize iterator with mandatory tasks.

Definition at line 80 of file iter.hpp.


The documentation for this class was generated from the following files: