Generated on Thu Mar 22 10:39:56 2012 for Gecode by doxygen 1.6.3

Gecode::Int::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::Int::Cumulative::OmegaTree< TaskView >

Omega trees for computing ect of task sets.

Definition at line 553 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]

Initialize tree for tasks t and capacity c.

Definition at line 60 of file tree.hpp.


Member Function Documentation

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

Insert task with index i.

Definition at line 71 of file tree.hpp.

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

Remove task with index i.

Definition at line 79 of file tree.hpp.

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

Return energy envelope of all tasks.

Definition at line 86 of file tree.hpp.


Member Data Documentation

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

Capacity.

Definition at line 561 of file cumulative.hh.


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