Generated on Wed Nov 1 15:05:16 2006 for Gecode by doxygen 1.4.5

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

#include <arithmetic.hh>

Inherits Gecode::NaryOnePropagator< View, PC_INT_BND >.

List of all members.


Detailed Description

template<class View>
class Gecode::Int::Arithmetic::NaryMax< View >

Bounds-consistent n-ary maximum propagator.

Requires

Definition at line 150 of file arithmetic.hh.

Public Member Functions

virtual Actorcopy (Space *home, bool share)
 Copy propagator during cloning.
virtual ExecStatus propagate (Space *home)
 Perform propagation.

Static Public Member Functions

static ExecStatus post (Space *home, ViewArray< View > &x, View y)
 Post propagator $ \max x=y$.

Protected Member Functions

 NaryMax (Space *home, bool share, NaryMax &p)
 Constructor for cloning p.
 NaryMax (Space *home, ViewArray< View > &x, View y)
 Constructor for posting.


Constructor & Destructor Documentation

template<class View>
Gecode::Int::Arithmetic::NaryMax< View >::NaryMax Space home,
bool  share,
NaryMax< View > &  p
[protected]
 

Constructor for cloning p.

template<class View>
Gecode::Int::Arithmetic::NaryMax< View >::NaryMax Space home,
ViewArray< View > &  x,
View  y
[inline, protected]
 

Constructor for posting.

Definition at line 113 of file max.icc.


Member Function Documentation

template<class View>
Actor * Gecode::Int::Arithmetic::NaryMax< View >::copy Space home,
bool  share
[virtual]
 

Copy propagator during cloning.

Implements Gecode::Actor.

Definition at line 142 of file max.icc.

template<class View>
ExecStatus Gecode::Int::Arithmetic::NaryMax< View >::propagate Space home  )  [virtual]
 

Perform propagation.

Implements Gecode::Propagator.

Definition at line 159 of file max.icc.

template<class View>
ExecStatus Gecode::Int::Arithmetic::NaryMax< View >::post Space home,
ViewArray< View > &  x,
View  y
[static]
 

Post propagator $ \max x=y$.

Definition at line 118 of file max.icc.


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