Generated on Fri Oct 19 11:26:14 2018 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)
 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, 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 1078 of file linear.hh.


Constructor & Destructor Documentation

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

Constructor for cloning p.

Definition at line 210 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 172 of file bool-view.hpp.


Member Function Documentation

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

Create copy during cloning.

Implements Gecode::Actor.

Definition at line 215 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 221 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 177 of file bool-view.hpp.


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