Gecode::Set::Int::MaxElement Class Reference
[Set propagators]
#include <int.hh>
Inherits Gecode::IntSetPropagator< SetView, PC_SET_ANY, Gecode::Int::PC_INT_BND >.
Detailed Description
Propator for maximum elementRequires
#include "gecode/set/int.hh"
Definition at line 64 of file int.hh.
Public Member Functions | |
virtual Actor * | copy (Space *home, bool) |
Copy propagator during cloning. | |
virtual ExecStatus | propagate (Space *home) |
Perform propagation. | |
Static Public Member Functions | |
static ExecStatus | post (Space *home, SetView 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 (Space *home, SetView, Gecode::Int::IntView) | |
Constructor for posting. |
Constructor & Destructor Documentation
|
Constructor for cloning p.
Definition at line 57 of file minmax.icc. |
|
Constructor for posting.
Definition at line 52 of file minmax.icc. |
Member Function Documentation
|
Copy propagator during cloning.
Implements Gecode::Actor. |
|
Perform propagation.
Implements Gecode::Propagator. |
|
Post propagator for x is the largest element of s.
|
The documentation for this class was generated from the following files:
- gecode/set/int.hh (Revision: 3246)
- gecode/set/int/minmax.cc (Revision: 3188)
- gecode/set/int/minmax.icc (Revision: 3188)