Gecode::Int::Unary::OptProp< OptTask, PL > Class Template Reference
[Integer propagators]
Scheduling propagator for unary resource with optional tasks More...
#include <unary.hh>
Public Member Functions | |
virtual Actor * | copy (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] |
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:
- gecode/int/unary.hh
- gecode/int/unary/opt-prop.hpp