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>
Gecode::Int::Unary::OptProp< OptTask >::OptProp | ( | Home | home, |
TaskArray< OptTask > & | t | ||
) | [inline, protected] |
Constructor for creation.
Definition at line 44 of file opt-prop.hpp.
Gecode::Int::Unary::OptProp< OptTask >::OptProp | ( | Space & | home, |
bool | shared, | ||
OptProp< OptTask > & | p | ||
) | [inline, protected] |
Constructor for cloning p.
Definition at line 49 of file opt-prop.hpp.
Actor * Gecode::Int::Unary::OptProp< OptTask >::copy | ( | Space & | home, |
bool | share | ||
) | [virtual] |
Perform copying during cloning.
Implements Gecode::Actor.
Definition at line 75 of file opt-prop.hpp.
ExecStatus Gecode::Int::Unary::OptProp< OptTask >::propagate | ( | Space & | home, |
const ModEventDelta & | med | ||
) | [virtual] |
ExecStatus Gecode::Int::Unary::OptProp< OptTask >::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.