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. |
Gecode::Set::Int::MaxElement::MaxElement | ( | Space & | home, |
bool | share, | ||
MaxElement & | p | ||
) | [inline, protected] |
Constructor for cloning p.
Definition at line 392 of file minmax.hpp.
Gecode::Set::Int::MaxElement::MaxElement | ( | Home | home, |
View | y0, | ||
Gecode::Int::IntView | y1 | ||
) | [inline, protected] |
Constructor for posting.
Definition at line 386 of file minmax.hpp.
Copy propagator during cloning.
Definition at line 407 of file minmax.hpp.
ExecStatus Gecode::Set::Int::MaxElement::propagate | ( | Space & | home, |
const ModEventDelta & | med | ||
) | [virtual] |
Perform propagation.
Definition at line 413 of file minmax.hpp.
ExecStatus Gecode::Set::Int::MaxElement::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.