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. | |
double | env (void) const |
Return energy envelope of all tasks. | |
Protected Attributes | |
int | c |
Capacity. |
Omega trees for computing ect of task sets.
Definition at line 535 of file cumulative.hh.
Gecode::Scheduling::Cumulative::OmegaTree< TaskView >::OmegaTree | ( | Region & | r, |
int | c, | ||
const TaskViewArray< TaskView > & | t | ||
) |
void Gecode::Scheduling::Cumulative::OmegaTree< TaskView >::insert | ( | int | i | ) | [inline] |
void Gecode::Scheduling::Cumulative::OmegaTree< TaskView >::remove | ( | int | i | ) | [inline] |
double Gecode::Scheduling::Cumulative::OmegaTree< TaskView >::env | ( | void | ) | const [inline] |
int Gecode::Scheduling::Cumulative::OmegaTree< TaskView >::c [protected] |
Capacity.
Definition at line 543 of file cumulative.hh.