Gecode::Scheduling::TaskProp< Task > Class Template Reference
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 > &p) | |
Constructor for cloning p. | |
Protected Attributes | |
TaskArray< Task > | t |
Tasks. |
Detailed Description
template<class Task>
class Gecode::Scheduling::TaskProp< Task >
Propagator for tasks.
Requires
#include <gecode/scheduling/task.hh>
Definition at line 402 of file task.hh.
Constructor & Destructor Documentation
template<class Task>
Gecode::Scheduling::TaskProp< Task >::TaskProp | ( | Home | home, | |
TaskArray< Task > & | t | |||
) | [inline, protected] |
template<class Task>
Gecode::Scheduling::TaskProp< Task >::TaskProp | ( | Space & | home, | |
bool | shared, | |||
TaskProp< Task > & | p | |||
) | [inline, protected] |
Member Function Documentation
template<class Task >
PropCost Gecode::Scheduling::TaskProp< Task >::cost | ( | const Space & | home, | |
const ModEventDelta & | med | |||
) | const [inline, virtual] |
Cost function (defined as high linear).
Implements Gecode::Propagator.
template<class Task >
size_t Gecode::Scheduling::TaskProp< Task >::dispose | ( | Space & | home | ) | [inline, virtual] |
Delete propagator and return its size.
Reimplemented from Gecode::Actor.
Member Data Documentation
template<class Task>
TaskArray<Task> Gecode::Scheduling::TaskProp< Task >::t [protected] |
The documentation for this class was generated from the following files:
- gecode/scheduling/task.hh (Revision: 9878)
- gecode/scheduling/task/prop.hpp (Revision: 9878)