Gecode::Set::Int::MaxElement< View > Class Template Reference
[Set propagators]
Propagator for maximum 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) |
Post propagator for x is the largest element of s. | |
Protected Member Functions | |
MaxElement (Space &home, bool share, MaxElement &p) | |
Constructor for cloning p. | |
MaxElement (Home home, View, Gecode::Int::IntView) | |
Constructor for posting. |
Detailed Description
template<class View>
class Gecode::Set::Int::MaxElement< View >
Propagator for maximum element
Requires
#include <gecode/set/int.hh>
Definition at line 147 of file int.hh.
Constructor & Destructor Documentation
template<class View >
Gecode::Set::Int::MaxElement< View >::MaxElement | ( | Space & | home, | |
bool | share, | |||
MaxElement< View > & | p | |||
) | [inline, protected] |
Constructor for cloning p.
Definition at line 392 of file minmax.hpp.
template<class View >
Gecode::Set::Int::MaxElement< View >::MaxElement | ( | Home | home, | |
View | y0, | |||
Gecode::Int::IntView | y1 | |||
) | [inline, protected] |
Constructor for posting.
Definition at line 386 of file minmax.hpp.
Member Function Documentation
template<class View >
Actor * Gecode::Set::Int::MaxElement< View >::copy | ( | Space & | home, | |
bool | share | |||
) | [inline, virtual] |
Copy propagator during cloning.
Implements Gecode::Actor.
Definition at line 407 of file minmax.hpp.
template<class View >
ExecStatus Gecode::Set::Int::MaxElement< View >::propagate | ( | Space & | home, | |
const ModEventDelta & | med | |||
) | [inline, virtual] |
template<class View >
ExecStatus Gecode::Set::Int::MaxElement< View >::post | ( | Home | home, | |
View | s, | |||
Gecode::Int::IntView | x | |||
) | [inline, static] |
Post propagator for x is the largest element of s.
Definition at line 398 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)