Generated on Tue Sep 25 2012 20:53:34 for Gecode by doxygen 1.7.5
Gecode::Set::Int::ReMaxElement Class Reference

Reified 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, Gecode::Int::BoolView b)
 Post reified propagator for b iff x is the largest element of s.

Protected Member Functions

 ReMaxElement (Space &home, bool share, ReMaxElement &p)
 Constructor for cloning p.
 ReMaxElement (Home home, View, Gecode::Int::IntView, Gecode::Int::BoolView)
 Constructor for posting.

Detailed Description

Reified propagator for maximum element

Requires

 #include "gecode/set/int.hh" 

Constructor & Destructor Documentation

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

Constructor for cloning p.

Definition at line 548 of file minmax.hpp.

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

Constructor for posting.

Definition at line 540 of file minmax.hpp.


Member Function Documentation

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

Copy propagator during cloning.

Definition at line 564 of file minmax.hpp.

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

Perform propagation.

Definition at line 570 of file minmax.hpp.

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

Post reified propagator for b iff x is the largest element of s.

Definition at line 555 of file minmax.hpp.


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