Generated on Mon Aug 25 11:35:51 2008 for Gecode by doxygen 1.5.6

Gecode::Int::Dom::ReRange< View > Class Template Reference
[Integer propagators]

#include <dom.hh>

Inherits Gecode::ReUnaryPropagator< View, PC_INT_BND, Gecode::Int::BoolView >.

List of all members.


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.


Public Member Functions

virtual Actorcopy (Space *home, bool share)
 Copy propagator during cloning.
virtual ExecStatus propagate (Space *home, ModEventDelta med)
 Perform propagation.
virtual Reflection::ActorSpec spec (const Space *home, Reflection::VarMap &m) const
 Specification for this propagator.

Static Public Member Functions

static Support::Symbol ati (void)
 Mangled name.
static void post (Space *home, Reflection::VarMap &vars, const Reflection::ActorSpec &spec)
 Post propagator according to specification.
static ExecStatus post (Space *home, View x, int min, int max, BoolView b)
 Post propagator for $ (l\leq x \leq m) \Leftrightarrow b$.

Protected Member Functions

 ReRange (Space *home, bool share, ReRange &p)
 Constructor for cloning p.
 ReRange (Space *home, View x, int min, int max, BoolView b)
 Constructor for creation.

Protected Attributes

int min
 Minimum of range.
int max
 Maximum of range.

Constructor & Destructor Documentation

template<class View>
Gecode::Int::Dom::ReRange< View >::ReRange ( Space home,
bool  share,
ReRange< View > &  p 
) [inline, protected]

Constructor for cloning p.

Definition at line 64 of file range.icc.

template<class View>
Gecode::Int::Dom::ReRange< View >::ReRange ( Space home,
View  x,
int  min,
int  max,
BoolView  b 
) [inline, protected]

Constructor for creation.

Definition at line 42 of file range.icc.


Member Function Documentation

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

Copy propagator during cloning.

Implements Gecode::Actor.

Definition at line 70 of file range.icc.

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

Perform propagation.

Implements Gecode::Propagator.

Definition at line 102 of file range.icc.

template<class View>
Reflection::ActorSpec Gecode::Int::Dom::ReRange< View >::spec ( const Space home,
Reflection::VarMap m 
) const [inline, virtual]

Specification for this propagator.

Reimplemented from Gecode::Actor.

Definition at line 82 of file range.icc.

template<class View>
Support::Symbol Gecode::Int::Dom::ReRange< View >::ati ( void   )  [inline, static]

Mangled name.

Definition at line 76 of file range.icc.

template<class View>
void Gecode::Int::Dom::ReRange< View >::post ( Space home,
Reflection::VarMap vars,
const Reflection::ActorSpec spec 
) [inline, static]

Post propagator according to specification.

Definition at line 90 of file range.icc.

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

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

Definition at line 48 of file range.icc.


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: