Generated on Thu Apr 11 14:00:04 2019 for Gecode by doxygen 1.6.3

Gecode::Int::Order::OrderProp Class Reference
[Integer propagators]

Scheduling propagator for ordering two tasks More...

#include <order.hh>

List of all members.

Public Member Functions

virtual Actorcopy (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

Gecode::Int::Order::OrderProp::OrderProp ( Space home,
OrderProp p 
) [inline, protected]

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

Actor * Gecode::Int::Order::OrderProp::copy ( Space home  )  [virtual]

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]

Schedule function.

Implements Gecode::Propagator.

Definition at line 48 of file propagate.cpp.

ExecStatus Gecode::Int::Order::OrderProp::propagate ( Space home,
const ModEventDelta med 
) [virtual]

Perform propagation.

Implements Gecode::Propagator.

Definition at line 55 of file propagate.cpp.

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

View for start times.

Definition at line 56 of file order.hh.

Definition at line 56 of file order.hh.

Boolean view for order.

Definition at line 58 of file order.hh.

Processing times.

Definition at line 60 of file order.hh.

Definition at line 60 of file order.hh.


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