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

Propagator for bounds consistent n-ary linear disequality More...

#include <linear.hh>

List of all members.

Public Member Functions

 Nq (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\neq c$.

Protected Member Functions

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

Detailed Description

Propagator for bounds consistent n-ary linear disequality

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

Constructor for cloning p.

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

Constructor for creation.

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


Member Function Documentation

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

Create copy during cloning.

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

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

Perform propagation.

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

ExecStatus Gecode::Int::Linear::Nq::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\neq c$.

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


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