Generated on Thu Apr 11 13:59:57 2019 for Gecode by doxygen 1.6.3

Gecode::Int::Arithmetic::NaryMaxDom< View > Class Template Reference
[Integer propagators]

Domain consistent n-ary maximum propagator. More...

#include <arithmetic.hh>

List of all members.

Public Member Functions

virtual Actorcopy (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 $ \max x=y$.

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

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]

Constructor for cloning p.

Definition at line 345 of file max.hpp.

template<class View >
Gecode::Int::Arithmetic::NaryMaxDom< View >::NaryMaxDom ( Home  home,
ViewArray< View > &  x,
View  y 
) [inline, protected]

Constructor for posting.

Definition at line 313 of file max.hpp.


Member Function Documentation

template<class View >
Actor * Gecode::Int::Arithmetic::NaryMaxDom< View >::copy ( Space home  )  [inline, virtual]

Copy propagator during cloning.

Implements Gecode::Actor.

Definition at line 350 of file max.hpp.

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 >.

Definition at line 360 of file max.hpp.

template<class View >
ExecStatus Gecode::Int::Arithmetic::NaryMaxDom< View >::propagate ( Space home,
const ModEventDelta med 
) [inline, virtual]

Perform propagation.

Implements Gecode::Propagator.

Definition at line 369 of file max.hpp.

template<class View >
ExecStatus Gecode::Int::Arithmetic::NaryMaxDom< View >::post ( Home  home,
ViewArray< View > &  x,
View  y 
) [inline, static]

Post propagator $ \max x=y$.

Definition at line 318 of file max.hpp.


The documentation for this class was generated from the following files: