Generated on Tue Sep 25 2012 20:53:31 for Gecode by doxygen 1.7.5
Gecode::Int::Linear::Lq Class Reference

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

#include <linear.hh>

List of all members.

Public Member Functions

 Lq (Home home, ViewArray< P > &x, ViewArray< N > &y, Val c)
 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)
 Post propagator for $\sum_{i=0}^{|x|-1}x_i-\sum_{i=0}^{|y|-1}y_i\leq c$.

Protected Member Functions

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

Detailed Description

Propagator for 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::Lq::Lq ( Space home,
bool  share,
Lq p 
) [protected]

Constructor for cloning p.

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

Constructor for creation.

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


Member Function Documentation

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

Create copy during cloning.

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

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

Perform propagation.

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

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

Post propagator for $\sum_{i=0}^{|x|-1}x_i-\sum_{i=0}^{|y|-1}y_i\leq c$.

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


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