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

Propagator for equality 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 = y+c$.

Protected Member Functions

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

Detailed Description

Propagator for equality to Boolean sum (cardinality)

Requires


Constructor & Destructor Documentation

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

Constructor for cloning p.

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

Constructor for creation.

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


Member Function Documentation

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

Create copy during cloning.

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

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

Perform propagation.

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

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

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

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


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