Generated on Tue Mar 5 2013 22:37:45 for Gecode by doxygen 1.8.3.1
Gecode::Int::Dom::ReRange< View > Class Template Reference

Reified range dom-propagator. More...

#include <dom.hh>

Public Member Functions

virtual Actorcopy (Space &home, bool share)
 Copy propagator during cloning. More...
 
virtual ExecStatus propagate (Space &home, const ModEventDelta &med)
 Perform propagation. More...
 
- Public Member Functions inherited from Gecode::Int::ReUnaryPropagator< View, PC_INT_BND, BoolView >
virtual PropCost cost (const Space &home, const ModEventDelta &med) const
 Cost function (defined as low unary) More...
 
virtual size_t dispose (Space &home)
 Delete propagator and return its size. More...
 
- Public Member Functions inherited from Gecode::Propagator
ModEventDelta modeventdelta (void) const
 Return the modification event delta. More...
 
virtual ExecStatus advise (Space &home, Advisor &a, const Delta &d)
 Advise function. More...
 
double afc (void) const
 Return the accumlated failure count. More...
 

Static Public Member Functions

static ExecStatus post (Home home, View x, int min, int max, BoolView b)
 Post propagator for $ (l\leq x \leq m) \Leftrightarrow b$. More...
 

Protected Member Functions

 ReRange (Space &home, bool share, ReRange &p)
 Constructor for cloning p. More...
 
 ReRange (Home home, View x, int min, int max, BoolView b)
 Constructor for creation. More...
 
- Protected Member Functions inherited from Gecode::Int::ReUnaryPropagator< View, PC_INT_BND, BoolView >
 ReUnaryPropagator (Space &home, bool share, ReUnaryPropagator &p)
 Constructor for cloning p. More...
 
 ReUnaryPropagator (Space &home, bool share, Propagator &p, View x0, BoolViewb)
 Constructor for rewriting p during cloning. More...
 
 ReUnaryPropagator (Space &home, View x0, BoolViewb)
 Constructor for creation. More...
 
- Protected Member Functions inherited from Gecode::Propagator
 Propagator (Home home)
 Constructor for posting. More...
 
 Propagator (Space &home, bool share, Propagator &p)
 Constructor for cloning p. More...
 

Protected Attributes

int min
 Minimum of range. More...
 
int max
 Maximum of range. More...
 
- Protected Attributes inherited from Gecode::Int::ReUnaryPropagator< View, PC_INT_BND, BoolView >
View x0
 Single view. More...
 
BoolView b
 Boolean control view. More...
 

Detailed Description

template<class View>
class Gecode::Int::Dom::ReRange< View >

Reified range dom-propagator.

Requires

#include <gecode/int/dom.hh>

Definition at line 60 of file dom.hh.

Constructor & Destructor Documentation

template<class View >
Gecode::Int::Dom::ReRange< View >::ReRange ( Space home,
bool  share,
ReRange< View > &  p 
)
inlineprotected

Constructor for cloning p.

Definition at line 72 of file range.hpp.

template<class View >
Gecode::Int::Dom::ReRange< View >::ReRange ( Home  home,
View  x,
int  min,
int  max,
BoolView  b 
)
inlineprotected

Constructor for creation.

Definition at line 44 of file range.hpp.

Member Function Documentation

template<class View >
Actor * Gecode::Int::Dom::ReRange< View >::copy ( Space home,
bool  share 
)
virtual

Copy propagator during cloning.

Implements Gecode::Actor.

Definition at line 78 of file range.hpp.

template<class View >
ExecStatus Gecode::Int::Dom::ReRange< View >::propagate ( Space home,
const ModEventDelta med 
)
virtual

Perform propagation.

Implements Gecode::Propagator.

Definition at line 84 of file range.hpp.

template<class View >
ExecStatus Gecode::Int::Dom::ReRange< View >::post ( Home  home,
View  x,
int  min,
int  max,
BoolView  b 
)
static

Post propagator for $ (l\leq x \leq m) \Leftrightarrow b$.

Definition at line 50 of file range.hpp.

Member Data Documentation

template<class View>
int Gecode::Int::Dom::ReRange< View >::min
protected

Minimum of range.

Definition at line 65 of file dom.hh.

template<class View>
int Gecode::Int::Dom::ReRange< View >::max
protected

Maximum of range.

Definition at line 67 of file dom.hh.


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