Generated on Thu Apr 11 14:00:04 2019 for Gecode by doxygen 1.6.3

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

Equal to number of values propagator for integer views. More...

#include <nvalues.hh>

List of all members.

Public Member Functions

virtual Propagatorcopy (Space &home)
 Copy propagator during cloning.
virtual ExecStatus propagate (Space &home, const ModEventDelta &med)
 Perform propagation.
virtual size_t dispose (Space &home)
 Delete propagator and return its size.

Static Public Member Functions

static ExecStatus post (Home home, ViewArray< IntView > &x, VY y)
 Post propagator for $\#\{x_0,\ldots,x_{|x|-1}\}=y$.

Protected Member Functions

 EqInt (Home home, ValSet &vs, ViewArray< IntView > &x, VY y)
 Constructor for posting.
 EqInt (Space &home, EqInt< VY > &p)
 Constructor for cloning p.

Protected Attributes

Graph g
 View-value graph.

Detailed Description

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

Equal to number of values propagator for integer views.

Requires

Definition at line 185 of file nvalues.hh.


Constructor & Destructor Documentation

template<class VY >
Gecode::Int::NValues::EqInt< VY >::EqInt ( Home  home,
ValSet vs,
ViewArray< IntView > &  x,
VY  y 
) [inline, protected]

Constructor for posting.

Definition at line 41 of file int-eq.hpp.

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

Constructor for cloning p.

Definition at line 97 of file int-eq.hpp.


Member Function Documentation

template<class VY >
Propagator * Gecode::Int::NValues::EqInt< VY >::copy ( Space home  )  [inline, virtual]

Copy propagator during cloning.

Implements Gecode::Actor.

Definition at line 102 of file int-eq.hpp.

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

Perform propagation.

Implements Gecode::Propagator.

Definition at line 116 of file int-eq.hpp.

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

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

Definition at line 48 of file int-eq.hpp.

template<class VY >
size_t Gecode::Int::NValues::EqInt< VY >::dispose ( Space home  )  [inline, virtual]

Delete propagator and return its size.

Reimplemented from Gecode::Int::NValues::IntBase< VY >.

Definition at line 108 of file int-eq.hpp.


Member Data Documentation

template<class VY>
Graph Gecode::Int::NValues::EqInt< VY >::g [protected]

View-value graph.

Definition at line 196 of file nvalues.hh.


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