Generated on Sat Aug 25 2012 03:33:10 for Gecode by doxygen 1.8.1.2
Gecode::Int::NValues::GqInt< VY > Class Template Reference

Greater or equal to number of values propagator for integer views. More...

#include <nvalues.hh>

Public Member Functions

virtual Propagatorcopy (Space &home, bool share)
 Copy propagator during cloning.
virtual ExecStatus propagate (Space &home, const ModEventDelta &med)
 Perform propagation.
- Public Member Functions inherited from Gecode::Int::NValues::IntBase< VY >
virtual PropCost cost (const Space &, const ModEventDelta &) const
 Cost function.
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}\}\geq y$.

Protected Member Functions

 GqInt (Home home, ValSet &vs, ViewArray< IntView > &x, VY y)
 Constructor for posting.
 GqInt (Space &home, bool share, GqInt< VY > &p)
 Constructor for cloning p.
- Protected Member Functions inherited from Gecode::Int::NValues::IntBase< VY >
 IntBase (Home home, ValSet &vs, ViewArray< IntView > &x, VY y)
 Constructor for posting.
 IntBase (Space &home, bool share, IntBase< VY > &p)
 Constructor for cloning p.
void add (Space &home)
 Add values of assigned views to value set.
void disjoint (Space &home, Region &r, int *&dis, int &n_dis)
void eliminate (Space &home)
 Eliminate subsumed views (all values included in the value set vs)
int size (Space &home) const
 Return a size estimate based on the union of all values.
ExecStatus all_in_valset (Space &home)
 Propagate that all views must take values from value set.
ExecStatus prune_lower (Space &home, int *dis, int n_dis)
ExecStatus prune_upper (Space &home, Graph &g)
- Protected Member Functions inherited from Gecode::MixNaryOnePropagator< IntView, PC_INT_DOM, VY, PC_INT_BND >
 MixNaryOnePropagator (Space &home, bool share, MixNaryOnePropagator &p)
 Constructor for cloning p.
 MixNaryOnePropagator (Home home, ViewArray< IntView > &x, VYy)
 Constructor for creation.
 MixNaryOnePropagator (Space &home, bool share, Propagator &p, ViewArray< IntView > &x, VYy)
 Constructor for rewriting p during cloning.
- Protected Member Functions inherited from Gecode::Propagator
 Propagator (Home home)
 Constructor for posting.
 Propagator (Space &home, bool share, Propagator &p)
 Constructor for cloning p.

Protected Attributes

Graph g
 View-value graph.
- Protected Attributes inherited from Gecode::Int::NValues::IntBase< VY >
ValSet vs
 Value set storing the values of already assigned views.
- Protected Attributes inherited from Gecode::MixNaryOnePropagator< IntView, PC_INT_DOM, VY, PC_INT_BND >
ViewArray< IntViewx
 Array of views.
VY y
 Single view.

Detailed Description

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

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

Requires

Definition at line 257 of file nvalues.hh.

Constructor & Destructor Documentation

template<class VY >
Gecode::Int::NValues::GqInt< VY >::GqInt ( Home  home,
ValSet vs,
ViewArray< IntView > &  x,
VY  y 
)
inlineprotected

Constructor for posting.

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

template<class VY >
Gecode::Int::NValues::GqInt< VY >::GqInt ( Space home,
bool  share,
GqInt< VY > &  p 
)
inlineprotected

Constructor for cloning p.

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

Member Function Documentation

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

Copy propagator during cloning.

Implements Gecode::Actor.

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

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

Perform propagation.

Implements Gecode::Propagator.

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

template<class VY >
ExecStatus Gecode::Int::NValues::GqInt< VY >::post ( Home  home,
ViewArray< IntView > &  x,
VY  y 
)
inlinestatic

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

Definition at line 50 of file int-gq.hpp.

Member Data Documentation

template<class VY>
Graph Gecode::Int::NValues::GqInt< VY >::g
protected

View-value graph.

Definition at line 269 of file nvalues.hh.


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