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, bool share) |
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, bool shared, 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 818 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 44 of file opt-prop.hpp.
template<class OptTask , class PL >
Gecode::Int::Unary::OptProp< OptTask, PL >::OptProp | ( | Space & | home, | |
bool | shared, | |||
OptProp< OptTask, PL > & | p | |||
) | [inline, protected] |
Constructor for cloning p.
Definition at line 49 of file opt-prop.hpp.
Member Function Documentation
template<class OptTask , class PL >
Actor * Gecode::Int::Unary::OptProp< OptTask, PL >::copy | ( | Space & | home, | |
bool | share | |||
) | [inline, virtual] |
Perform copying during cloning.
Implements Gecode::Actor.
Definition at line 76 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 55 of file opt-prop.hpp.
The documentation for this class was generated from the following files:
- gecode/int/unary.hh (Revision: 15137)
- gecode/int/unary/opt-prop.hpp (Revision: 14967)