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. |
Propagator for maximum element
Requires
#include <gecode/set/int.hh>
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.
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.
Actor * Gecode::Set::Int::MaxElement< View >::copy | ( | Space & | home, |
bool | share | ||
) | [virtual] |
Copy propagator during cloning.
Implements Gecode::Actor.
Definition at line 407 of file minmax.hpp.
ExecStatus Gecode::Set::Int::MaxElement< View >::propagate | ( | Space & | home, |
const ModEventDelta & | med | ||
) | [virtual] |
ExecStatus Gecode::Set::Int::MaxElement< View >::post | ( | Home | home, |
View | s, | ||
Gecode::Int::IntView | x | ||
) | [static] |
Post propagator for x is the largest element of s.
Definition at line 398 of file minmax.hpp.