Gecode::Scheduling::Cumulative::ManProp< ManTask > Class Template Reference
Scheduling propagator for cumulative resource with mandatory tasks. More...
#include <cumulative.hh>
Public Member Functions | |
virtual Actor * | copy (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
#include <gecode/scheduling/cumulative.hh>
Definition at line 670 of file cumulative.hh.
Constructor & Destructor Documentation
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.
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
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.
ExecStatus Gecode::Scheduling::Cumulative::ManProp< ManTask >::propagate | ( | Space & | home, |
const ModEventDelta & | med | ||
) | [virtual] |
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.
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
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:
- gecode/scheduling/cumulative.hh (Revision: 11551)
- gecode/scheduling/cumulative/man-prop.hpp (Revision: 11551)