Protected Types |
typedef TaskViewTraits
< TaskView >::Task | Task |
| | The underlying task type.
|
Protected Attributes |
| TaskArray< Task > & | t |
| | Access to task array.
|
Related Functions |
(Note that these are not member functions.)
|
| template<class Char , class Traits , class TaskView > |
std::basic_ostream< Char,
Traits > & | operator<< (std::basic_ostream< Char, Traits > &os, const TaskViewArray< TaskView > &t) |
| | Print array elements enclosed in curly brackets.
|
Constructors and initialization |
| | TaskViewArray (TaskArray< Task > &t) |
| | Initialize from task array a.
|
Array information |
| int | size (void) const |
| | Return size of array (number of elements)
|
| void | size (int n) |
| | Set size of array (number of elements) to n, must not be larger.
|
Array elements |
| TaskView & | operator[] (int i) |
| | Return task view at position i.
|
| const TaskView & | operator[] (int i) const |
| | Return task view at position i.
|
template<class TaskView>
class Gecode::Int::TaskViewArray< TaskView >
Task view array.
Definition at line 233 of file task.hh.