Gecode::Set::Int::ReMaxElement< View, rm > Class Template Reference
[Set propagators]
Reified propagator for maximum element More...
#include <int.hh>
Public Member Functions | |
| virtual Actor * | copy (Space &home) |
| 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, ReMaxElement &p) | |
| Constructor for cloning p. | |
| ReMaxElement (Home home, View, Gecode::Int::IntView, Gecode::Int::BoolView) | |
| Constructor for posting. | |
Detailed Description
template<class View, ReifyMode rm>
class Gecode::Set::Int::ReMaxElement< View, rm >
Reified propagator for maximum element
Requires
#include <gecode/set/int.hh>
Definition at line 198 of file int.hh.
Constructor & Destructor Documentation
template<class View , ReifyMode rm>
| Gecode::Set::Int::ReMaxElement< View, rm >::ReMaxElement | ( | Space & | home, | |
| ReMaxElement< View, rm > & | p | |||
| ) | [inline, protected] |
Constructor for cloning p.
Definition at line 558 of file minmax.hpp.
template<class View , ReifyMode rm>
| 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 549 of file minmax.hpp.
Member Function Documentation
template<class View , ReifyMode rm>
| Actor * Gecode::Set::Int::ReMaxElement< View, rm >::copy | ( | Space & | home | ) | [inline, virtual] |
Copy propagator during cloning.
Implements Gecode::Actor.
Definition at line 574 of file minmax.hpp.
template<class View , ReifyMode rm>
| ExecStatus Gecode::Set::Int::ReMaxElement< View, rm >::propagate | ( | Space & | home, | |
| const ModEventDelta & | med | |||
| ) | [inline, virtual] |
template<class View , ReifyMode rm>
| ExecStatus Gecode::Set::Int::ReMaxElement< View, rm >::post | ( | Home | home, | |
| View | s, | |||
| Gecode::Int::IntView | x, | |||
| Gecode::Int::BoolView | b | |||
| ) | [inline, static] |
Post reified propagator for b iff x is the largest element of s.
Definition at line 565 of file minmax.hpp.
The documentation for this class was generated from the following files:
- gecode/set/int.hh
- gecode/set/int/minmax.hpp
