Generated on Tue Apr 18 10:23:56 2017 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, bool share)
 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, bool share, 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 191 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 45 of file int-eq.hpp.

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

Constructor for cloning p.

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


Member Function Documentation

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

Copy propagator during cloning.

Implements Gecode::Actor.

Definition at line 106 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 120 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 52 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 112 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 202 of file nvalues.hh.


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