Generated on Thu Mar 22 10:39:55 2012 for Gecode by doxygen 1.6.3

Gecode::Int::TaskProp< Task, pc > Class Template Reference
[Integer propagators]

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, pc > &p)
 Constructor for cloning p.

Protected Attributes

TaskArray< Task > t
 Tasks.

Detailed Description

template<class Task, PropCond pc>
class Gecode::Int::TaskProp< Task, pc >

Propagator for tasks

Requires

 #include <gecode/int/task.hh> 

Definition at line 424 of file task.hh.


Constructor & Destructor Documentation

template<class Task, PropCond pc>
Gecode::Int::TaskProp< Task, pc >::TaskProp ( Home  home,
TaskArray< Task > &  t 
) [inline, protected]

Constructor for creation.

Definition at line 42 of file prop.hpp.

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

Constructor for cloning p.

Definition at line 49 of file prop.hpp.


Member Function Documentation

template<class Task , PropCond pc>
PropCost Gecode::Int::TaskProp< Task, pc >::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 , PropCond pc>
size_t Gecode::Int::TaskProp< Task, pc >::dispose ( Space home  )  [inline, virtual]

Delete propagator and return its size.

Reimplemented from Gecode::Actor.

Reimplemented in Gecode::Int::Cumulative::ManProp< ManTask, Cap >, and Gecode::Int::Cumulative::OptProp< OptTask, Cap >.

Definition at line 62 of file prop.hpp.


Member Data Documentation

template<class Task, PropCond pc>
TaskArray<Task> Gecode::Int::TaskProp< Task, pc >::t [protected]

Tasks.

Definition at line 427 of file task.hh.


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