Generated on Sun Feb 17 15:25:29 2019 for Gecode by doxygen 1.6.3

Gecode::Int::Unary::OptProp< OptTask, PL > Class Template Reference
[Integer propagators]

Scheduling propagator for unary resource with optional tasks More...

#include <unary.hh>

List of all members.

Public Member Functions

virtual Actorcopy (Space &home)
 Perform copying during cloning.
virtual ExecStatus propagate (Space &home, const ModEventDelta &med)
 Perform propagation.

Static Public Member Functions

static ExecStatus post (Home home, TaskArray< OptTask > &t)
 Post propagator that schedules tasks on unary resource.

Protected Member Functions

 OptProp (Home home, TaskArray< OptTask > &t)
 Constructor for creation.
 OptProp (Space &home, OptProp &p)
 Constructor for cloning p.

Detailed Description

template<class OptTask, class PL>
class Gecode::Int::Unary::OptProp< OptTask, PL >

Scheduling propagator for unary resource with optional tasks

Requires

 #include <gecode/int/unary.hh> 

Definition at line 814 of file unary.hh.


Constructor & Destructor Documentation

template<class OptTask , class PL >
Gecode::Int::Unary::OptProp< OptTask, PL >::OptProp ( Home  home,
TaskArray< OptTask > &  t 
) [inline, protected]

Constructor for creation.

Definition at line 40 of file opt-prop.hpp.

template<class OptTask , class PL >
Gecode::Int::Unary::OptProp< OptTask, PL >::OptProp ( Space home,
OptProp< OptTask, PL > &  p 
) [inline, protected]

Constructor for cloning p.

Definition at line 45 of file opt-prop.hpp.


Member Function Documentation

template<class OptTask , class PL >
Actor * Gecode::Int::Unary::OptProp< OptTask, PL >::copy ( Space home  )  [inline, virtual]

Perform copying during cloning.

Implements Gecode::Actor.

Definition at line 71 of file opt-prop.hpp.

template<class OptTask , class PL >
ExecStatus Gecode::Int::Unary::OptProp< OptTask, PL >::propagate ( Space home,
const ModEventDelta med 
) [inline, virtual]

Perform propagation.

Implements Gecode::Propagator.

Definition at line 77 of file opt-prop.hpp.

template<class OptTask , class PL >
ExecStatus Gecode::Int::Unary::OptProp< OptTask, PL >::post ( Home  home,
TaskArray< OptTask > &  t 
) [inline, static]

Post propagator that schedules tasks on unary resource.

Definition at line 50 of file opt-prop.hpp.


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