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. | |
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. | |
Protected Attributes | |
TaskArray< Task > | t |
Tasks. |
PropCost Gecode::Int::TaskProp::cost | ( | const Space & | home, |
const ModEventDelta & | med | ||
) | const [virtual] |
Cost function (defined as high linear)
Implements Gecode::Propagator.
size_t Gecode::Int::TaskProp::dispose | ( | Space & | home | ) | [inline, virtual] |
Delete propagator and return its size.
Reimplemented from Gecode::Actor.
Reimplemented in Gecode::Int::Cumulative::OptProp, and Gecode::Int::Cumulative::ManProp.
TaskArray<Task> Gecode::Int::TaskProp::t [protected] |