Generated on Mon Nov 30 23:53:54 2009 for Gecode by doxygen 1.6.1

Gecode::Scheduling::TaskProp< Task > Class Template Reference

Propagator for tasks. More...

#include <task.hh>

List of all members.

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

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]

Constructor for creation.

Definition at line 42 of file prop.hpp.

template<class Task>
Gecode::Scheduling::TaskProp< Task >::TaskProp ( Space home,
bool  shared,
TaskProp< Task > &  p 
) [inline, protected]

Constructor for cloning p.

Definition at line 49 of file prop.hpp.


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.

Definition at line 56 of file prop.hpp.

template<class Task >
size_t Gecode::Scheduling::TaskProp< Task >::dispose ( Space home  )  [inline, virtual]

Delete propagator and return its size.

Reimplemented from Gecode::Actor.

Definition at line 62 of file prop.hpp.


Member Data Documentation

template<class Task>
TaskArray<Task> Gecode::Scheduling::TaskProp< Task >::t [protected]

Tasks.

Definition at line 405 of file task.hh.


The documentation for this class was generated from the following files: