Gecode::Set::Int::ReMinElement< View > Class Template Reference
[Set propagators]
Propagator for reified minimum element More...
#include <int.hh>
Public Member Functions | |
virtual Actor * | copy (Space &home, bool) |
Copy propagator during cloning. | |
virtual ExecStatus | propagate (Space &home, const ModEventDelta &med) |
Perform propagation. | |
Static Public Member Functions | |
static ExecStatus | post (Home home, View s, Gecode::Int::IntView x, Gecode::Int::BoolView b) |
Post reified propagator for b iff x is the minimal element of s. | |
Protected Member Functions | |
ReMinElement (Space &home, bool share, ReMinElement &p) | |
Constructor for cloning p. | |
ReMinElement (Home home, View, Gecode::Int::IntView, Gecode::Int::BoolView) | |
Constructor for posting. |
Detailed Description
template<class View>
class Gecode::Set::Int::ReMinElement< View >
Propagator for reified minimum element
Requires
#include "gecode/set/int.hh"
Definition at line 115 of file int.hh.
Constructor & Destructor Documentation
template<class View >
Gecode::Set::Int::ReMinElement< View >::ReMinElement | ( | Space & | home, | |
bool | share, | |||
ReMinElement< View > & | p | |||
) | [inline, protected] |
Constructor for cloning p.
Definition at line 277 of file minmax.hpp.
template<class View >
Gecode::Set::Int::ReMinElement< View >::ReMinElement | ( | Home | home, | |
View | y0, | |||
Gecode::Int::IntView | y1, | |||
Gecode::Int::BoolView | b2 | |||
) | [inline, protected] |
Constructor for posting.
Definition at line 261 of file minmax.hpp.
Member Function Documentation
template<class View >
Actor * Gecode::Set::Int::ReMinElement< View >::copy | ( | Space & | home, | |
bool | share | |||
) | [inline, virtual] |
Copy propagator during cloning.
Implements Gecode::Actor.
Definition at line 284 of file minmax.hpp.
template<class View >
ExecStatus Gecode::Set::Int::ReMinElement< View >::propagate | ( | Space & | home, | |
const ModEventDelta & | med | |||
) | [inline, virtual] |
template<class View >
ExecStatus Gecode::Set::Int::ReMinElement< View >::post | ( | Home | home, | |
View | s, | |||
Gecode::Int::IntView | x, | |||
Gecode::Int::BoolView | b | |||
) | [inline, static] |
Post reified propagator for b iff x is the minimal element of s.
Definition at line 269 of file minmax.hpp.
The documentation for this class was generated from the following files:
- gecode/set/int.hh (Revision: 11973)
- gecode/set/int/minmax.hpp (Revision: 11192)