
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. | |
Domain consistent n-ary maximum propagator.
Requires
#include <gecode/int/arithmetic.hh>
Definition at line 218 of file arithmetic.hh.
| Gecode::Int::Arithmetic::NaryMaxDom< View >::NaryMaxDom | ( | Space & | home, |
| bool | share, | ||
| NaryMaxDom< View > & | p | ||
| ) | [inline, protected] |
| Gecode::Int::Arithmetic::NaryMaxDom< View >::NaryMaxDom | ( | Home | home, |
| ViewArray< View > & | x, | ||
| View | y | ||
| ) | [inline, protected] |
| Actor * Gecode::Int::Arithmetic::NaryMaxDom< View >::copy | ( | Space & | home, |
| bool | share | ||
| ) | [virtual] |
| PropCost Gecode::Int::Arithmetic::NaryMaxDom< View >::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< View >::propagate | ( | Space & | home, |
| const ModEventDelta & | med | ||
| ) | [virtual] |
| ExecStatus Gecode::Int::Arithmetic::NaryMaxDom< View >::post | ( | Home | home, |
| ViewArray< View > & | x, | ||
| View | y | ||
| ) | [static] |