Gecode::Int::Dom::ReRange< View > Class Template Reference
[Integer propagators]
#include <dom.hh>
Inherits Gecode::ReUnaryPropagator< View, pc, CtrlView >< View, PC_INT_BND, Gecode::Int::BoolView >.
Detailed Description
template<class View>
class Gecode::Int::Dom::ReRange< View >
Reified range dom-propagator.
Requires
#include "gecode/int/dom.hh"
Definition at line 45 of file dom.hh.
Public Member Functions | |
virtual Actor * | copy (Space *home, bool share) |
Copy propagator during cloning. | |
virtual ExecStatus | propagate (Space *home) |
Perform propagation. | |
Static Public Member Functions | |
static ExecStatus | post (Space *home, View x, int min, int max, BoolView b) |
Post propagator for ![]() | |
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] |
template<class View>
Gecode::Int::Dom::ReRange< View >::ReRange | ( | Space * | home, | |
View | x, | |||
int | min, | |||
int | max, | |||
BoolView | b | |||
) | [inline, protected] |
Member Function Documentation
template<class View>
Actor * Gecode::Int::Dom::ReRange< View >::copy | ( | Space * | home, | |
bool | share | |||
) | [virtual] |
template<class View>
ExecStatus Gecode::Int::Dom::ReRange< View >::propagate | ( | Space * | home | ) | [virtual] |
template<class View>
ExecStatus Gecode::Int::Dom::ReRange< View >::post | ( | Space * | home, | |
View | x, | |||
int | min, | |||
int | max, | |||
BoolView | b | |||
) | [static] |
Member Data Documentation
template<class View>
int Gecode::Int::Dom::ReRange< View >::min [protected] |
template<class View>
int Gecode::Int::Dom::ReRange< View >::max [protected] |
The documentation for this class was generated from the following files:
- gecode/int/dom.hh (Revision: 3512)
- gecode/int/dom/range.icc (Revision: 3512)