Generated on Tue Jul 27 2010 21:59:30 for Gecode by doxygen 1.7.1

Gecode::Scheduling::Cumulative::OmegaTree< TaskView > Class Template Reference

Omega trees for computing ect of task sets. More...

#include <cumulative.hh>

List of all members.

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.

Detailed Description

template<class TaskView>
class Gecode::Scheduling::Cumulative::OmegaTree< TaskView >

Omega trees for computing ect of task sets.

Definition at line 533 of file cumulative.hh.


Constructor & Destructor Documentation

template<class TaskView >
Gecode::Scheduling::Cumulative::OmegaTree< TaskView >::OmegaTree ( Region r,
int  c,
const TaskViewArray< TaskView > &  t 
)

Initialize tree for tasks t and capacity c.

Definition at line 58 of file tree.hpp.


Member Function Documentation

template<class TaskView >
void Gecode::Scheduling::Cumulative::OmegaTree< TaskView >::insert ( int  i  )  [inline]

Insert task with index i.

Definition at line 69 of file tree.hpp.

template<class TaskView >
void Gecode::Scheduling::Cumulative::OmegaTree< TaskView >::remove ( int  i  )  [inline]

Remove task with index i.

Definition at line 77 of file tree.hpp.

template<class TaskView >
double Gecode::Scheduling::Cumulative::OmegaTree< TaskView >::env ( void   )  const [inline]

Return energy envelope of all tasks.

Definition at line 84 of file tree.hpp.


Member Data Documentation

template<class TaskView >
int Gecode::Scheduling::Cumulative::OmegaTree< TaskView >::c [protected]

Capacity.

Definition at line 541 of file cumulative.hh.


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