Generated on Sat Aug 25 2012 15:53:12 for Gecode by doxygen 1.7.5
Gecode::Int::Linear::ReLq Class Reference

Propagator for reified bounds consistent n-ary linear less or equal More...

#include <linear.hh>

List of all members.

Public Member Functions

 ReLq (Home home, ViewArray< P > &x, ViewArray< N > &y, Val c, BoolView b)
 Constructor for creation.
virtual Actorcopy (Space &home, bool share)
 Create copy during cloning.
virtual ExecStatus propagate (Space &home, const ModEventDelta &med)
 Perform propagation.

Static Public Member Functions

static ExecStatus post (Home home, ViewArray< P > &x, ViewArray< N > &y, Val c, BoolView b)
 Post propagator for $\left(\sum_{i=0}^{|x|-1}x_i-\sum_{i=0}^{|y|-1}y_i\leq c\right)\Leftrightarrow b$.

Protected Member Functions

 ReLq (Space &home, bool share, ReLq &p)
 Constructor for cloning p.

Detailed Description

Propagator for reified bounds consistent n-ary linear less or equal

The type Val can be either double or int, defining the numerical precision during propagation. The types P and N give the types of the views.

The propagation condition pc refers to both views.

Requires


Constructor & Destructor Documentation

Gecode::Int::Linear::ReLq::ReLq ( Space home,
bool  share,
ReLq p 
) [protected]

Constructor for cloning p.

Gecode::Int::Linear::ReLq::ReLq ( Home  home,
ViewArray< P > &  x,
ViewArray< N > &  y,
Val  c,
BoolView  b 
) [inline]

Constructor for creation.

Definition at line 804 of file int-nary.hpp.


Member Function Documentation

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

Create copy during cloning.

Definition at line 830 of file int-nary.hpp.

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

Perform propagation.

Definition at line 836 of file int-nary.hpp.

ExecStatus Gecode::Int::Linear::ReLq::post ( Home  home,
ViewArray< P > &  x,
ViewArray< N > &  y,
Val  c,
BoolView  b 
) [static]

Post propagator for $\left(\sum_{i=0}^{|x|-1}x_i-\sum_{i=0}^{|y|-1}y_i\leq c\right)\Leftrightarrow b$.

Definition at line 810 of file int-nary.hpp.


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