Generated on Sun Feb 17 15:25:27 2019 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)
 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, 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 219 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 41 of file int-lq.hpp.

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

Constructor for cloning p.

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


Member Function Documentation

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

Copy propagator during cloning.

Implements Gecode::Actor.

Definition at line 98 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 112 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 48 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 104 of file int-lq.hpp.


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