Generated on Tue May 22 09:41:26 2018 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.
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]

Initialize tree for tasks t and capacity c.

Definition at line 56 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 67 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 76 of file tree.hpp.

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

Return energy envelope of all tasks.

Definition at line 83 of file tree.hpp.


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: