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. More... | |
virtual ExecStatus | propagate (Space &home, const ModEventDelta &med) |
Perform propagation. More... | |
![]() | |
virtual PropCost | cost (const Space &home, const ModEventDelta &med) const |
Cost function (defined as high linear) More... | |
virtual size_t | dispose (Space &home) |
Delete propagator and return its size. More... | |
![]() | |
ModEventDelta | modeventdelta (void) const |
Return the modification event delta. More... | |
virtual ExecStatus | advise (Space &home, Advisor &a, const Delta &d) |
Advise function. More... | |
double | afc (const Space &home) const |
Return the accumlated failure count. More... | |
![]() |
Static Public Member Functions | |
static ExecStatus | post (Home home, TaskArray< OptTask > &t) |
Post propagator that schedules tasks on unary resource. More... | |
![]() | |
static void * | operator new (size_t s, Space &home) |
Allocate memory from space. More... | |
static void | operator delete (void *p, Space &home) |
No-op for exceptions. More... | |
Protected Member Functions | |
OptProp (Home home, TaskArray< OptTask > &t) | |
Constructor for creation. More... | |
OptProp (Space &home, bool shared, OptProp &p) | |
Constructor for cloning p. More... | |
![]() | |
TaskProp (Home home, TaskArray< OptTask > &t) | |
Constructor for creation. More... | |
TaskProp (Space &home, bool shared, TaskProp< OptTask, pc > &p) | |
Constructor for cloning p. More... | |
![]() | |
Propagator (Home home) | |
Constructor for posting. More... | |
Propagator (Space &home, bool share, Propagator &p) | |
Constructor for cloning p. More... | |
Propagator * | fwd (void) const |
Return forwarding pointer during copying. More... | |
Additional Inherited Members | |
![]() | |
TaskArray< OptTask > | t |
Tasks. More... | |
Scheduling propagator for unary resource with optional tasks
Requires
|
inlineprotected |
Constructor for creation.
Definition at line 44 of file opt-prop.hpp.
|
inlineprotected |
Constructor for cloning p.
Definition at line 49 of file opt-prop.hpp.
|
virtual |
Perform copying during cloning.
Implements Gecode::Actor.
Definition at line 75 of file opt-prop.hpp.
|
virtual |
|
inlinestatic |
Post propagator that schedules tasks on unary resource.
Definition at line 54 of file opt-prop.hpp.