Scheduling propagator for unary resource with optional tasks More...
#include <unary.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. | |
Static Public Member Functions | |
static ExecStatus | post (Home home, TaskArray< OptTask > &t) |
Post propagator that schedules tasks on unary resource. | |
Protected Member Functions | |
OptProp (Home home, TaskArray< OptTask > &t) | |
Constructor for creation. | |
OptProp (Space &home, bool shared, OptProp &p) | |
Constructor for cloning p. |
Scheduling propagator for unary resource with optional tasks
Requires
#include <gecode/int/unary.hh>
Constructor for creation.
Definition at line 44 of file opt-prop.hpp.
Constructor for cloning p.
Perform copying during cloning.
Definition at line 75 of file opt-prop.hpp.
ExecStatus Gecode::Int::Unary::OptProp::propagate | ( | Space & | home, |
const ModEventDelta & | med | ||
) | [virtual] |
Perform propagation.
Definition at line 81 of file opt-prop.hpp.
ExecStatus Gecode::Int::Unary::OptProp::post | ( | Home | home, |
TaskArray< OptTask > & | t | ||
) | [inline, static] |
Post propagator that schedules tasks on unary resource.
Definition at line 54 of file opt-prop.hpp.