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

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

Less or 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}\}\leq y$.

Protected Member Functions

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

Detailed Description

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

Less or equal to number of values propagator for integer views.

Requires

Definition at line 225 of file nvalues.hh.


Constructor & Destructor Documentation

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

Constructor for posting.

Definition at line 45 of file int-lq.hpp.

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

Constructor for cloning p.

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


Member Function Documentation

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

Copy propagator during cloning.

Implements Gecode::Actor.

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

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

Perform propagation.

Implements Gecode::Propagator.

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

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

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

Definition at line 52 of file int-lq.hpp.

template<class VY >
size_t Gecode::Int::NValues::LqInt< 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-lq.hpp.


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