Reified 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, Gecode::Int::BoolView b) |
Post reified propagator for b iff x is the largest element of s. | |
Protected Member Functions | |
ReMaxElement (Space &home, bool share, ReMaxElement &p) | |
Constructor for cloning p. | |
ReMaxElement (Home home, View, Gecode::Int::IntView, Gecode::Int::BoolView) | |
Constructor for posting. |
Reified propagator for maximum element
Requires
#include <gecode/set/int.hh>
Gecode::Set::Int::ReMaxElement< View, rm >::ReMaxElement | ( | Space & | home, |
bool | share, | ||
ReMaxElement< View, rm > & | p | ||
) | [inline, protected] |
Constructor for cloning p.
Definition at line 561 of file minmax.hpp.
Gecode::Set::Int::ReMaxElement< View, rm >::ReMaxElement | ( | Home | home, |
View | y0, | ||
Gecode::Int::IntView | y1, | ||
Gecode::Int::BoolView | b2 | ||
) | [inline, protected] |
Constructor for posting.
Definition at line 552 of file minmax.hpp.
Actor * Gecode::Set::Int::ReMaxElement< View, rm >::copy | ( | Space & | home, |
bool | share | ||
) | [virtual] |
Copy propagator during cloning.
Implements Gecode::Actor.
Definition at line 578 of file minmax.hpp.
ExecStatus Gecode::Set::Int::ReMaxElement< View, rm >::propagate | ( | Space & | home, |
const ModEventDelta & | med | ||
) | [virtual] |
ExecStatus Gecode::Set::Int::ReMaxElement< View, rm >::post | ( | Home | home, |
View | s, | ||
Gecode::Int::IntView | x, | ||
Gecode::Int::BoolView | b | ||
) | [static] |
Post reified propagator for b iff x is the largest element of s.
Definition at line 569 of file minmax.hpp.