Generated on Sat Aug 25 2012 15:53:14 for Gecode by doxygen 1.7.5
Gecode::Set::Rel::ReLq Class Reference

Reified propagator for set less than or equal More...

#include <rel.hh>

List of all members.

Public Member Functions

virtual Actorcopy (Space &home, bool)
 Copy propagator during cloning.
virtual PropCost cost (const Space &home, const ModEventDelta &med) const
 Cost function (defined as PC_TERNARY_LO)
virtual size_t dispose (Space &home)
 Delete propagator and return its size.
virtual ExecStatus propagate (Space &home, const ModEventDelta &med)
 Perform propagation.

Static Public Member Functions

static ExecStatus post (Home home, View0 x, View1 y, Gecode::Int::BoolView b)
 Post propagator for $ (x\leq y) \Leftrightarrow b$.

Protected Member Functions

 ReLq (Space &home, bool share, ReLq &)
 Constructor for cloning p.
 ReLq (Home home, View0, View1, Gecode::Int::BoolView)
 Constructor for posting.

Protected Attributes

View0 x0
View1 x1
Gecode::Int::BoolView b

Detailed Description

Reified propagator for set less than or equal

Propagates strict inequality if strict is true.

Requires

 #include <gecode/set/rel.hh> 

Constructor & Destructor Documentation

Gecode::Set::Rel::ReLq::ReLq ( Space home,
bool  share,
ReLq p 
) [inline, protected]

Constructor for cloning p.

Definition at line 52 of file re-lq.hpp.

Gecode::Set::Rel::ReLq::ReLq ( Home  home,
View0  y0,
View1  y1,
Gecode::Int::BoolView  y2 
) [inline, protected]

Constructor for posting.

Definition at line 42 of file re-lq.hpp.


Member Function Documentation

Actor * Gecode::Set::Rel::ReLq::copy ( Space home,
bool  share 
) [virtual]

Copy propagator during cloning.

Implements Gecode::Actor.

Definition at line 85 of file re-lq.hpp.

PropCost Gecode::Set::Rel::ReLq::cost ( const Space home,
const ModEventDelta med 
) const [virtual]

Cost function (defined as PC_TERNARY_LO)

Implements Gecode::Propagator.

Definition at line 61 of file re-lq.hpp.

size_t Gecode::Set::Rel::ReLq::dispose ( Space home) [inline, virtual]

Delete propagator and return its size.

Reimplemented from Gecode::Actor.

Definition at line 67 of file re-lq.hpp.

ExecStatus Gecode::Set::Rel::ReLq::propagate ( Space home,
const ModEventDelta med 
) [virtual]

Perform propagation.

Implements Gecode::Propagator.

Definition at line 91 of file re-lq.hpp.

ExecStatus Gecode::Set::Rel::ReLq::post ( Home  home,
View0  x,
View1  y,
Gecode::Int::BoolView  b 
) [static]

Post propagator for $ (x\leq y) \Leftrightarrow b$.

Definition at line 77 of file re-lq.hpp.


Member Data Documentation

View0 Gecode::Set::Rel::ReLq::x0 [protected]

Definition at line 231 of file rel.hh.

View1 Gecode::Set::Rel::ReLq::x1 [protected]

Definition at line 232 of file rel.hh.

Definition at line 233 of file rel.hh.


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