Gecode::Int::Cumulative::OmegaTree< TaskView > Class Template Reference
Omega trees for computing ect of task sets. More...
#include <cumulative.hh>
Public Member Functions | |
| OmegaTree (Region &r, int c, const TaskViewArray< TaskView > &t) | |
| Initialize tree for tasks t and capacity c. | |
| void | insert (int i) |
| Insert task with index i. | |
| void | remove (int i) |
| Remove task with index i. | |
| long long int | env (void) const |
| Return energy envelope of all tasks. | |
Protected Attributes | |
| int | c |
| Capacity. | |
Detailed Description
template<class TaskView>
class Gecode::Int::Cumulative::OmegaTree< TaskView >
Omega trees for computing ect of task sets.
Definition at line 561 of file cumulative.hh.
Constructor & Destructor Documentation
template<class TaskView >
| Gecode::Int::Cumulative::OmegaTree< TaskView >::OmegaTree | ( | Region & | r, | |
| int | c, | |||
| const TaskViewArray< TaskView > & | t | |||
| ) | [inline] |
Member Function Documentation
template<class TaskView >
| void Gecode::Int::Cumulative::OmegaTree< TaskView >::insert | ( | int | i | ) | [inline] |
template<class TaskView >
| void Gecode::Int::Cumulative::OmegaTree< TaskView >::remove | ( | int | i | ) | [inline] |
template<class TaskView >
| long long int Gecode::Int::Cumulative::OmegaTree< TaskView >::env | ( | void | ) | const [inline] |
Member Data Documentation
template<class TaskView >
int Gecode::Int::Cumulative::OmegaTree< TaskView >::c [protected] |
Capacity.
Definition at line 569 of file cumulative.hh.
The documentation for this class was generated from the following files:
- gecode/int/cumulative.hh
- gecode/int/cumulative/tree.hpp
