Propagator for tasks More...
#include <task.hh>
Public Member Functions | |
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... | |
![]() | |
virtual ExecStatus | propagate (Space &home, const ModEventDelta &med)=0 |
Propagation function. 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... | |
![]() | |
virtual Actor * | copy (Space &home, bool share)=0 |
Create copy. More... | |
Protected Member Functions | |
TaskProp (Home home, TaskArray< Task > &t) | |
Constructor for creation. More... | |
TaskProp (Space &home, bool shared, TaskProp< Task, 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... | |
Protected Attributes | |
TaskArray< Task > | t |
Tasks. More... | |
Additional Inherited Members | |
![]() | |
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... | |
Propagator for tasks
Requires
|
inlineprotected |
|
inlineprotected |
|
virtual |
Cost function (defined as high linear)
Implements Gecode::Propagator.
|
inlinevirtual |
Delete propagator and return its size.
Reimplemented from Gecode::Actor.
Reimplemented in Gecode::Int::Cumulative::OptProp< OptTask, Cap >, and Gecode::Int::Cumulative::ManProp< ManTask, Cap >.
|
protected |