Generated on Sat Aug 25 2012 15:53:14 for Gecode by doxygen 1.7.5
Gecode::Set::Int::MaxElement Class Reference

Propagator for maximum element More...

#include <int.hh>

List of all members.

Public Member Functions

virtual Actorcopy (Space &home, bool)
 Copy propagator during cloning.
virtual ExecStatus propagate (Space &home, const ModEventDelta &med)
 Perform propagation.

Static Public Member Functions

static ExecStatus post (Home home, View 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 (Home home, View, Gecode::Int::IntView)
 Constructor for posting.

Detailed Description

Propagator for maximum element

Requires

 #include <gecode/set/int.hh> 

Constructor & Destructor Documentation

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

Constructor for cloning p.

Definition at line 392 of file minmax.hpp.

Gecode::Set::Int::MaxElement::MaxElement ( Home  home,
View  y0,
Gecode::Int::IntView  y1 
) [inline, protected]

Constructor for posting.

Definition at line 386 of file minmax.hpp.


Member Function Documentation

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

Copy propagator during cloning.

Definition at line 407 of file minmax.hpp.

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

Perform propagation.

Definition at line 413 of file minmax.hpp.

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

Post propagator for x is the largest element of s.

Definition at line 398 of file minmax.hpp.


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