Generated on Sat Nov 11 01:12:22 2006 for Gecode by doxygen 1.5.1

Gecode::Set::Int::MaxElement Class Reference
[Set propagators]

#include <int.hh>

Inherits Gecode::IntSetPropagator< View, pcs, pci >< Gecode::Set::SetView, PC_SET_ANY, Gecode::Int::PC_INT_BND >.

List of all members.


Detailed Description

Propator for maximum element

Requires

 #include "gecode/set/int.hh" 

Definition at line 64 of file int.hh.

Public Member Functions

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

Static Public Member Functions

static ExecStatus post (Space *home, SetView s, Gecode::Int::IntView x)
 Post propagator for x is the largest element of s.

Protected Member Functions

 MaxElement (Space *home, bool share, MaxElement &p)
 Constructor for cloning p.
 MaxElement (Space *home, SetView, Gecode::Int::IntView)
 Constructor for posting.


Constructor & Destructor Documentation

Gecode::Set::Int::MaxElement::MaxElement ( Space home,
bool  share,
MaxElement p 
) [inline, protected]

Constructor for cloning p.

Definition at line 57 of file minmax.icc.

Gecode::Set::Int::MaxElement::MaxElement ( Space home,
SetView  ,
Gecode::Int::IntView   
) [inline, protected]

Constructor for posting.

Definition at line 52 of file minmax.icc.


Member Function Documentation

Actor * Gecode::Set::Int::MaxElement::copy ( Space home,
bool   
) [virtual]

Copy propagator during cloning.

Implements Gecode::Actor.

Definition at line 83 of file minmax.cc.

ExecStatus Gecode::Set::Int::MaxElement::propagate ( Space home  )  [virtual]

Perform propagation.

Implements Gecode::Propagator.

Definition at line 88 of file minmax.cc.

ExecStatus Gecode::Set::Int::MaxElement::post ( Space home,
SetView  s,
Gecode::Int::IntView  x 
) [static]

Post propagator for x is the largest element of s.

Definition at line 75 of file minmax.cc.


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