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

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

Reified range dom-propagator. More...

#include <dom.hh>

List of all members.

Public Member Functions

virtual Actorcopy (Space &home, bool share)
 Copy propagator during cloning.
virtual ExecStatus propagate (Space &home, const ModEventDelta &med)
 Perform propagation.

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$.

Protected Member Functions

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

Protected Attributes

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

Detailed Description

template<class View, ReifyMode rm>
class Gecode::Int::Dom::ReRange< View, rm >

Reified range dom-propagator.

Requires

 #include <gecode/int/dom.hh> 

Definition at line 60 of file dom.hh.


Constructor & Destructor Documentation

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

Constructor for cloning p.

Definition at line 80 of file range.hpp.

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

Constructor for creation.

Definition at line 44 of file range.hpp.


Member Function Documentation

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

Copy propagator during cloning.

Implements Gecode::Actor.

Definition at line 86 of file range.hpp.

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

Perform propagation.

Implements Gecode::Propagator.

Definition at line 92 of file range.hpp.

template<class View , ReifyMode rm>
ExecStatus Gecode::Int::Dom::ReRange< View, rm >::post ( Home  home,
View  x,
int  min,
int  max,
BoolView  b 
) [inline, 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, ReifyMode rm>
int Gecode::Int::Dom::ReRange< View, rm >::min [protected]

Minimum of range.

Definition at line 65 of file dom.hh.

template<class View, ReifyMode rm>
int Gecode::Int::Dom::ReRange< View, rm >::max [protected]

Maximum of range.

Definition at line 67 of file dom.hh.


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