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

Less or equal to number of values propagator for Boolean views. More...

#include <nvalues.hh>

List of all members.

Public Member Functions

virtual Actorcopy (Space &home, bool share)
 Copy propagator during cloning.
virtual ExecStatus propagate (Space &home, const ModEventDelta &med)
 Perform propagation.

Static Public Member Functions

static ExecStatus post (Home home, ViewArray< BoolView > &x, VY y)
 Post propagator for $\#\{x_0,\ldots,x_{|x|-1}\}\leq y$.

Protected Member Functions

 LqBool (Home home, int status, ViewArray< BoolView > &x, VY y)
 Constructor for posting.
 LqBool (Space &home, bool share, LqBool< VY > &p)
 Constructor for cloning p.

Detailed Description

Less or equal to number of values propagator for Boolean views.

Requires


Constructor & Destructor Documentation

Gecode::Int::NValues::LqBool::LqBool ( Home  home,
int  status,
ViewArray< BoolView > &  x,
VY  y 
) [inline, protected]

Constructor for posting.

Definition at line 44 of file bool-lq.hpp.

Gecode::Int::NValues::LqBool::LqBool ( Space home,
bool  share,
LqBool< VY > &  p 
) [inline, protected]

Constructor for cloning p.

Definition at line 49 of file bool-lq.hpp.


Member Function Documentation

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

Copy propagator during cloning.

Definition at line 54 of file bool-lq.hpp.

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

Perform propagation.

Definition at line 115 of file bool-lq.hpp.

ExecStatus Gecode::Int::NValues::LqBool::post ( Home  home,
ViewArray< BoolView > &  x,
VY  y 
) [inline, static]

Post propagator for $\#\{x_0,\ldots,x_{|x|-1}\}\leq y$.

The view array x is used only temporarily and hence can be region allocated.

Definition at line 60 of file bool-lq.hpp.


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