Gecode::Int::Order::OrderProp Class Reference
[Integer propagators]
Scheduling propagator for ordering two tasks More...
#include <order.hh>
Public Member Functions | |
virtual Actor * | copy (Space &home) |
Copy propagator during cloning. | |
virtual PropCost | cost (const Space &home, const ModEventDelta &med) const |
Cost function (defined as low binary). | |
virtual void | reschedule (Space &home) |
Schedule function. | |
virtual ExecStatus | propagate (Space &home, const ModEventDelta &med) |
Perform propagation. | |
virtual size_t | dispose (Space &home) |
Delete propagator and return its size. | |
Static Public Member Functions | |
static ExecStatus | post (Home home, IntView s0, int p0, IntView s1, int p1, BoolView b) |
Post order propagator. | |
Protected Member Functions | |
OrderProp (Space &home, OrderProp &p) | |
Constructor for cloning. | |
OrderProp (Home home, IntView s0, int p0, IntView s1, int p1, BoolView b) | |
Constructor for creation. | |
Protected Attributes | |
IntView | s0 |
View for start times. | |
IntView | s1 |
BoolView | b |
Boolean view for order. | |
int | p0 |
Processing times. | |
int | p1 |
Detailed Description
Scheduling propagator for ordering two tasks
Requires
#include <gecode/int/order.hh>
Definition at line 53 of file order.hh.
Constructor & Destructor Documentation
Constructor for cloning.
Definition at line 67 of file propagate.hpp.
Gecode::Int::Order::OrderProp::OrderProp | ( | Home | home, | |
IntView | s0, | |||
int | p0, | |||
IntView | s1, | |||
int | p1, | |||
BoolView | b | |||
) | [inline, protected] |
Constructor for creation.
Definition at line 39 of file propagate.hpp.
Member Function Documentation
Copy propagator during cloning.
Implements Gecode::Actor.
Definition at line 38 of file propagate.cpp.
PropCost Gecode::Int::Order::OrderProp::cost | ( | const Space & | home, | |
const ModEventDelta & | med | |||
) | const [virtual] |
Cost function (defined as low binary).
Implements Gecode::Propagator.
Definition at line 43 of file propagate.cpp.
void Gecode::Int::Order::OrderProp::reschedule | ( | Space & | home | ) | [virtual] |
ExecStatus Gecode::Int::Order::OrderProp::propagate | ( | Space & | home, | |
const ModEventDelta & | med | |||
) | [virtual] |
ExecStatus Gecode::Int::Order::OrderProp::post | ( | Home | home, | |
IntView | s0, | |||
int | p0, | |||
IntView | s1, | |||
int | p1, | |||
BoolView | b | |||
) | [inline, static] |
Post order propagator.
Definition at line 48 of file propagate.hpp.
size_t Gecode::Int::Order::OrderProp::dispose | ( | Space & | home | ) | [virtual] |
Delete propagator and return its size.
Reimplemented from Gecode::Actor.
Definition at line 75 of file propagate.cpp.
Member Data Documentation
IntView Gecode::Int::Order::OrderProp::s0 [protected] |
IntView Gecode::Int::Order::OrderProp::s1 [protected] |
BoolView Gecode::Int::Order::OrderProp::b [protected] |
int Gecode::Int::Order::OrderProp::p0 [protected] |
int Gecode::Int::Order::OrderProp::p1 [protected] |
The documentation for this class was generated from the following files:
- gecode/int/order.hh
- gecode/int/order/propagate.cpp
- gecode/int/order/propagate.hpp