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, Cap c, TaskArray< ManTask > &t) |
Post propagator that schedules tasks on cumulative resource. | |
Protected Member Functions | |
ManProp (Home home, Cap c, TaskArray< ManTask > &t) | |
Constructor for creation. | |
ManProp (Space &home, bool shared, ManProp &p) | |
Constructor for cloning p. | |
Protected Attributes | |
Cap | c |
Resource capacity. |
Scheduling propagator for cumulative resource with mandatory tasks.
Requires
#include <gecode/int/cumulative.hh>
Gecode::Int::Cumulative::ManProp::ManProp | ( | Home | home, |
Cap | c, | ||
TaskArray< ManTask > & | t | ||
) | [inline, protected] |
Constructor for creation.
Definition at line 44 of file man-prop.hpp.
Constructor for cloning p.
Perform copying during cloning.
Definition at line 84 of file man-prop.hpp.
ExecStatus Gecode::Int::Cumulative::ManProp::propagate | ( | Space & | home, |
const ModEventDelta & | med | ||
) | [virtual] |
Perform propagation.
Definition at line 98 of file man-prop.hpp.
ExecStatus Gecode::Int::Cumulative::ManProp::post | ( | Home | home, |
Cap | c, | ||
TaskArray< ManTask > & | t | ||
) | [inline, static] |
Post propagator that schedules tasks on cumulative resource.
Definition at line 59 of file man-prop.hpp.
size_t Gecode::Int::Cumulative::ManProp::dispose | ( | Space & | home | ) | [inline, virtual] |
Delete propagator and return its size.
Reimplemented from Gecode::Int::TaskProp< ManTask, Int::PC_INT_DOM >.
Definition at line 90 of file man-prop.hpp.
Cap Gecode::Int::Cumulative::ManProp::c [protected] |
Resource capacity.
Definition at line 692 of file cumulative.hh.