Generated on Tue Apr 18 10:23:56 2017 for Gecode by doxygen 1.6.3

Gecode::Int::NValues::EqBool< VY > Class Template Reference
[Integer propagators]

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}\}=y$.

Protected Member Functions

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

Detailed Description

template<class VY>
class Gecode::Int::NValues::EqBool< VY >

Equal to number of values propagator for Boolean views.

Requires

Definition at line 333 of file nvalues.hh.


Constructor & Destructor Documentation

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

Constructor for posting.

Definition at line 45 of file bool-eq.hpp.

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

Constructor for cloning p.

Definition at line 50 of file bool-eq.hpp.


Member Function Documentation

template<class VY >
Actor * Gecode::Int::NValues::EqBool< VY >::copy ( Space home,
bool  share 
) [inline, virtual]

Copy propagator during cloning.

Implements Gecode::Actor.

Definition at line 55 of file bool-eq.hpp.

template<class VY >
ExecStatus Gecode::Int::NValues::EqBool< VY >::propagate ( Space home,
const ModEventDelta med 
) [inline, virtual]

Perform propagation.

Implements Gecode::Propagator.

Definition at line 122 of file bool-eq.hpp.

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

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

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

Definition at line 61 of file bool-eq.hpp.


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