Generated on Thu Mar 22 10:39:57 2012 for Gecode by doxygen 1.6.3

Gecode::Int::Linear::NqBoolView< XV, YV > Class Template Reference
[Integer propagators]

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

template<class XV, class YV>
class Gecode::Int::Linear::NqBoolView< XV, YV >

Propagator for disequality to Boolean sum (cardinality)

Requires

Definition at line 1058 of file linear.hh.


Constructor & Destructor Documentation

template<class XV , class YV >
Gecode::Int::Linear::NqBoolView< XV, YV >::NqBoolView ( Space home,
bool  share,
NqBoolView< XV, YV > &  p 
) [inline, protected]

Constructor for cloning p.

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

template<class XV , class YV >
Gecode::Int::Linear::NqBoolView< XV, YV >::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

template<class XV , class YV >
Actor * Gecode::Int::Linear::NqBoolView< XV, YV >::copy ( Space home,
bool  share 
) [inline, virtual]

Create copy during cloning.

Implements Gecode::Actor.

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

template<class XV , class YV >
ExecStatus Gecode::Int::Linear::NqBoolView< XV, YV >::propagate ( Space home,
const ModEventDelta med 
) [inline, virtual]

Perform propagation.

Implements Gecode::Propagator.

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

template<class XV , class YV >
ExecStatus Gecode::Int::Linear::NqBoolView< XV, YV >::post ( Home  home,
ViewArray< XV > &  x,
YV  y,
int  c 
) [inline, 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: