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) | |
virtual size_t | dispose (Space &home) |
Delete propagator and return its size. | |
![]() | |
virtual ExecStatus | propagate (Space &home, const ModEventDelta &med)=0 |
Propagation function. | |
ModEventDelta | modeventdelta (void) const |
Return the modification event delta. | |
virtual ExecStatus | advise (Space &home, Advisor &a, const Delta &d) |
Advise function. | |
double | afc (void) const |
Return the accumlated failure count. |
Protected Member Functions | |
TaskProp (Home home, TaskArray< Task > &t) | |
Constructor for creation. | |
TaskProp (Space &home, bool shared, TaskProp< Task, pc > &p) | |
Constructor for cloning p. | |
![]() | |
Propagator (Home home) | |
Constructor for posting. | |
Propagator (Space &home, bool share, Propagator &p) | |
Constructor for cloning p. |
Protected Attributes | |
TaskArray< Task > | t |
Tasks. |
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 |