Gecode::Int::Arithmetic::NaryMaxDom< View > Class Template Reference
[Integer propagators]
Domain consistent n-ary maximum propagator. More...
#include <arithmetic.hh>
Public Member Functions | |
| virtual Actor * | copy (Space &home) |
| 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, NaryMaxDom &p) | |
| Constructor for cloning p. | |
| NaryMaxDom (Home home, ViewArray< View > &x, View y) | |
| Constructor for posting. | |
Detailed Description
template<class View>
class Gecode::Int::Arithmetic::NaryMaxDom< View >
Domain consistent n-ary maximum propagator.
Requires
#include <gecode/int/arithmetic.hh>
Definition at line 219 of file arithmetic.hh.
Constructor & Destructor Documentation
template<class View >
| Gecode::Int::Arithmetic::NaryMaxDom< View >::NaryMaxDom | ( | Space & | home, | |
| NaryMaxDom< View > & | p | |||
| ) | [inline, protected] |
template<class View >
| Gecode::Int::Arithmetic::NaryMaxDom< View >::NaryMaxDom | ( | Home | home, | |
| ViewArray< View > & | x, | |||
| View | y | |||
| ) | [inline, protected] |
Member Function Documentation
template<class View >
| Actor * Gecode::Int::Arithmetic::NaryMaxDom< View >::copy | ( | Space & | home | ) | [inline, virtual] |
template<class View >
| PropCost Gecode::Int::Arithmetic::NaryMaxDom< View >::cost | ( | const Space & | home, | |
| const ModEventDelta & | med | |||
| ) | const [inline, 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 >.
template<class View >
| ExecStatus Gecode::Int::Arithmetic::NaryMaxDom< View >::propagate | ( | Space & | home, | |
| const ModEventDelta & | med | |||
| ) | [inline, virtual] |
template<class View >
| ExecStatus Gecode::Int::Arithmetic::NaryMaxDom< View >::post | ( | Home | home, | |
| ViewArray< View > & | x, | |||
| View | y | |||
| ) | [inline, static] |
The documentation for this class was generated from the following files:
- gecode/int/arithmetic.hh
- gecode/int/arithmetic/max.hpp

.