Gecode::Scheduling::TaskViewArray< TaskView > Class Template Reference
Task view array. More...
#include <task.hh>
Protected Types | |
typedef TaskViewTraits < TaskView >::Task | Task |
The underlying task type. | |
Protected Attributes | |
TaskArray< Task > & | t |
Access to task array. | |
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. |
Detailed Description
template<class TaskView>
class Gecode::Scheduling::TaskViewArray< TaskView >
Task view array.
Definition at line 227 of file task.hh.
Member Typedef Documentation
template<class TaskView>
typedef TaskViewTraits<TaskView>::Task Gecode::Scheduling::TaskViewArray< TaskView >::Task [protected] |
Constructor & Destructor Documentation
template<class TaskView >
Gecode::Scheduling::TaskViewArray< TaskView >::TaskViewArray | ( | TaskArray< Task > & | t | ) | [inline] |
Member Function Documentation
template<class TaskView >
int Gecode::Scheduling::TaskViewArray< TaskView >::size | ( | void | ) | const [inline] |
template<class TaskView >
void Gecode::Scheduling::TaskViewArray< TaskView >::size | ( | int | n | ) | [inline] |
template<class TaskView >
TaskView & Gecode::Scheduling::TaskViewArray< TaskView >::operator[] | ( | int | i | ) | [inline] |
template<class TaskView >
const TaskView & Gecode::Scheduling::TaskViewArray< TaskView >::operator[] | ( | int | i | ) | const [inline] |
Member Data Documentation
template<class TaskView>
TaskArray<Task>& Gecode::Scheduling::TaskViewArray< TaskView >::t [protected] |
The documentation for this class was generated from the following files:
- gecode/scheduling/task.hh (Revision: 9878)
- gecode/scheduling/task/array.hpp (Revision: 9589)