Generated on Sat Aug 25 2012 15:53:11 for Gecode by doxygen 1.7.5
Gecode::Int::Arithmetic::NaryMaxDom Class Reference

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

#include <arithmetic.hh>

List of all members.

Public Member Functions

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

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.

Detailed Description

Domain consistent n-ary maximum propagator.

Requires


Constructor & Destructor Documentation

Gecode::Int::Arithmetic::NaryMaxDom::NaryMaxDom ( Space home,
bool  share,
NaryMaxDom p 
) [protected]

Constructor for cloning p.

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

Constructor for posting.

Definition at line 313 of file max.hpp.


Member Function Documentation

Actor * Gecode::Int::Arithmetic::NaryMaxDom::copy ( Space home,
bool  share 
) [virtual]

Copy propagator during cloning.

Definition at line 350 of file max.hpp.

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

Definition at line 360 of file max.hpp.

ExecStatus Gecode::Int::Arithmetic::NaryMaxDom::propagate ( Space home,
const ModEventDelta med 
) [virtual]

Perform propagation.

Definition at line 369 of file max.hpp.

ExecStatus Gecode::Int::Arithmetic::NaryMaxDom::post ( Home  home,
ViewArray< View > &  x,
View  y 
) [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: