Gecode::Set::Int::MaxElement< View > Class Template Reference
[Set propagators]
#include <int.hh>
Inherits IntSetPropagator< View, PC_SET_ANY, Gecode::Int::PC_INT_BND >.
Detailed Description
template<class View>
class Gecode::Set::Int::MaxElement< View >
Propator for maximum element
Requires
#include "gecode/set/int.hh"
Definition at line 93 of file int.hh.
Public Member Functions | |
| virtual Actor * | copy (Space *home, bool) |
| Copy propagator during cloning. | |
| virtual ExecStatus | propagate (Space *home, ModEventDelta med) |
| Perform propagation. | |
| virtual Reflection::ActorSpec | spec (const Space *home, Reflection::VarMap &m) const |
| Specification for this propagator. | |
Static Public Member Functions | |
| static ExecStatus | post (Space *home, View s, Gecode::Int::IntView x) |
| Post propagator for x is the largest element of s. | |
| static void | post (Space *home, Reflection::VarMap &vars, const Reflection::ActorSpec &spec) |
| Post using specification. | |
| static Support::Symbol | ati (void) |
| Name of this propagator. | |
Protected Member Functions | |
| MaxElement (Space *home, bool share, MaxElement &p) | |
| Constructor for cloning p. | |
| MaxElement (Space *home, View, Gecode::Int::IntView) | |
| Constructor for posting. | |
Constructor & Destructor Documentation
template<class View>
| Gecode::Set::Int::MaxElement< View >::MaxElement | ( | Space * | home, | |
| bool | share, | |||
| MaxElement< View > & | p | |||
| ) | [inline, protected] |
template<class View>
| Gecode::Set::Int::MaxElement< View >::MaxElement | ( | Space * | home, | |
| View | y0, | |||
| Gecode::Int::IntView | y1 | |||
| ) | [inline, protected] |
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 179 of file minmax.icc.
template<class View>
| ExecStatus Gecode::Set::Int::MaxElement< View >::propagate | ( | Space * | home, | |
| ModEventDelta | med | |||
| ) | [inline, virtual] |
template<class View>
| ExecStatus Gecode::Set::Int::MaxElement< View >::post | ( | Space * | home, | |
| View | s, | |||
| Gecode::Int::IntView | x | |||
| ) | [inline, static] |
template<class View>
| Reflection::ActorSpec Gecode::Set::Int::MaxElement< View >::spec | ( | const Space * | home, | |
| Reflection::VarMap & | m | |||
| ) | const [inline, virtual] |
Specification for this propagator.
Reimplemented from Gecode::Actor.
Definition at line 191 of file minmax.icc.
template<class View>
| void Gecode::Set::Int::MaxElement< View >::post | ( | Space * | home, | |
| Reflection::VarMap & | vars, | |||
| const Reflection::ActorSpec & | spec | |||
| ) | [inline, static] |
template<class View>
| Support::Symbol Gecode::Set::Int::MaxElement< View >::ati | ( | void | ) | [inline, static] |
The documentation for this class was generated from the following files:
- gecode/set/int.hh (Revision: 5993)
- gecode/set/int/minmax.icc (Revision: 6241)
