
Domain consistent n-ary maximum propagator. More...
#include <arithmetic.hh>
Public Member Functions | |
| virtual Actor * | copy (Space &home, bool share) |
| Copy propagator during cloning. | |
| virtual PropCost | cost (const Space &home, const ModEventDelta &med) const |
| Cost function. | |
| virtual ExecStatus | propagate (Space &home, const ModEventDelta &med) |
| Perform propagation. | |
Static Public Member Functions | |
| static ExecStatus | post (Home home, ViewArray< View > &x, View y) |
Post propagator . | |
Protected Member Functions | |
| NaryMaxDom (Space &home, bool share, NaryMaxDom &p) | |
| Constructor for cloning p. | |
| NaryMaxDom (Home home, ViewArray< View > &x, View y) | |
| Constructor for posting. | |
| Gecode::Int::Arithmetic::NaryMaxDom::NaryMaxDom | ( | Space & | home, |
| bool | share, | ||
| NaryMaxDom & | p | ||
| ) | [protected] |
Constructor for cloning p.
| PropCost Gecode::Int::Arithmetic::NaryMaxDom::cost | ( | const Space & | home, |
| const ModEventDelta & | med | ||
| ) | const [virtual] |
Cost function.
If in stage for bounds propagation, the cost is low linear. Otherwise it is high linear.
Reimplemented from Gecode::NaryOnePropagator< View, PC_INT_DOM >.
| ExecStatus Gecode::Int::Arithmetic::NaryMaxDom::propagate | ( | Space & | home, |
| const ModEventDelta & | med | ||
| ) | [virtual] |
| ExecStatus Gecode::Int::Arithmetic::NaryMaxDom::post | ( | Home | home, |
| ViewArray< View > & | x, | ||
| View | y | ||
| ) | [static] |