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

Propagator for disequality to Boolean sum (cardinality) More...

#include <linear.hh>

List of all members.

Public Member Functions

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< XV > &x, YV y, int c)
 Post propagator for $\sum_{i=0}^{|x|-1}x_i \neq y+c$.

Protected Member Functions

 NqBoolView (Space &home, bool share, NqBoolView &p)
 Constructor for cloning p.
 NqBoolView (Home home, ViewArray< XV > &x, YV y, int c)
 Constructor for creation.

Detailed Description

Propagator for disequality to Boolean sum (cardinality)

Requires


Constructor & Destructor Documentation

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

Constructor for cloning p.

Gecode::Int::Linear::NqBoolView::NqBoolView ( Home  home,
ViewArray< XV > &  x,
YV  y,
int  c 
) [inline, protected]

Constructor for creation.

Definition at line 168 of file bool-view.hpp.


Member Function Documentation

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

Create copy during cloning.

Definition at line 211 of file bool-view.hpp.

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

Perform propagation.

Definition at line 217 of file bool-view.hpp.

ExecStatus Gecode::Int::Linear::NqBoolView::post ( Home  home,
ViewArray< XV > &  x,
YV  y,
int  c 
) [static]

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

Definition at line 173 of file bool-view.hpp.


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