Generated on Sat Feb 12 2011 17:41:30 for Gecode by doxygen 1.7.3

Gecode::Scheduling::Cumulative::ManProp< ManTask > Class Template Reference

Scheduling propagator for cumulative resource with mandatory tasks. More...

#include <cumulative.hh>

List of all members.

Public Member Functions

virtual Actorcopy (Space &home, bool share)
 Perform copying during cloning.
virtual ExecStatus propagate (Space &home, const ModEventDelta &med)
 Perform propagation.
virtual size_t dispose (Space &home)
 Delete propagator and return its size.

Static Public Member Functions

static ExecStatus post (Home home, int c, TaskArray< ManTask > &t)
 Post propagator that schedules tasks on cumulative resource.

Protected Member Functions

 ManProp (Home home, int c, TaskArray< ManTask > &t)
 Constructor for creation.
 ManProp (Space &home, bool shared, ManProp &p)
 Constructor for cloning p.

Protected Attributes

int c
 Resource capacity.

Detailed Description

template<class ManTask>
class Gecode::Scheduling::Cumulative::ManProp< ManTask >

Scheduling propagator for cumulative resource with mandatory tasks.

Requires

Definition at line 670 of file cumulative.hh.


Constructor & Destructor Documentation

template<class ManTask >
Gecode::Scheduling::Cumulative::ManProp< ManTask >::ManProp ( Home  home,
int  c,
TaskArray< ManTask > &  t 
) [inline, protected]

Constructor for creation.

Definition at line 44 of file man-prop.hpp.

template<class ManTask >
Gecode::Scheduling::Cumulative::ManProp< ManTask >::ManProp ( Space home,
bool  shared,
ManProp< ManTask > &  p 
) [inline, protected]

Constructor for cloning p.

Definition at line 49 of file man-prop.hpp.


Member Function Documentation

template<class ManTask >
Actor * Gecode::Scheduling::Cumulative::ManProp< ManTask >::copy ( Space home,
bool  share 
) [virtual]

Perform copying during cloning.

Implements Gecode::Actor.

Definition at line 67 of file man-prop.hpp.

template<class ManTask >
ExecStatus Gecode::Scheduling::Cumulative::ManProp< ManTask >::propagate ( Space home,
const ModEventDelta med 
) [virtual]

Perform propagation.

Implements Gecode::Propagator.

Definition at line 80 of file man-prop.hpp.

template<class ManTask >
ExecStatus Gecode::Scheduling::Cumulative::ManProp< ManTask >::post ( Home  home,
int  c,
TaskArray< ManTask > &  t 
) [inline, static]

Post propagator that schedules tasks on cumulative resource.

Definition at line 55 of file man-prop.hpp.

template<class ManTask >
size_t Gecode::Scheduling::Cumulative::ManProp< ManTask >::dispose ( Space home) [inline, virtual]

Delete propagator and return its size.

Reimplemented from Gecode::Scheduling::TaskProp< ManTask, Int::PC_INT_DOM >.

Definition at line 73 of file man-prop.hpp.


Member Data Documentation

template<class ManTask>
int Gecode::Scheduling::Cumulative::ManProp< ManTask >::c [protected]

Resource capacity.

Definition at line 674 of file cumulative.hh.


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