Generated on Mon Aug 25 11:35:53 2008 for Gecode by doxygen 1.5.6

Gecode::Set::Int::MinElement< View > Class Template Reference
[Set propagators]

#include <int.hh>

Inherits IntSetPropagator< View, PC_SET_ANY, Gecode::Int::PC_INT_BND >.

List of all members.


Detailed Description

template<class View>
class Gecode::Set::Int::MinElement< View >

Propator for minimum element

Requires

 #include "gecode/set/int.hh" 

Definition at line 59 of file int.hh.


Public Member Functions

virtual Actorcopy (Space *home, bool)
 Copy propagator during cloning.
virtual ExecStatus propagate (Space *home, ModEventDelta med)
 Perform propagation.
virtual Reflection::ActorSpec spec (const Space *home, Reflection::VarMap &m) const
 Specification for this propagator.

Static Public Member Functions

static ExecStatus post (Space *home, View s, Gecode::Int::IntView x)
 Post propagator for x is the minimal element of s.
static void post (Space *home, Reflection::VarMap &vars, const Reflection::ActorSpec &spec)
 Post using specification.
static Support::Symbol ati (void)
 Name of this propagator.

Protected Member Functions

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

Constructor & Destructor Documentation

template<class View>
Gecode::Set::Int::MinElement< View >::MinElement ( Space home,
bool  share,
MinElement< View > &  p 
) [inline, protected]

Constructor for cloning p.

Definition at line 65 of file minmax.icc.

template<class View>
Gecode::Set::Int::MinElement< View >::MinElement ( Space home,
View  y0,
Gecode::Int::IntView  y1 
) [inline, protected]

Constructor for posting.

Definition at line 51 of file minmax.icc.


Member Function Documentation

template<class View>
Actor * Gecode::Set::Int::MinElement< View >::copy ( Space home,
bool  share 
) [inline, virtual]

Copy propagator during cloning.

Implements Gecode::Actor.

Definition at line 71 of file minmax.icc.

template<class View>
ExecStatus Gecode::Set::Int::MinElement< View >::propagate ( Space home,
ModEventDelta  med 
) [inline, virtual]

Perform propagation.

Compute n-th largest element in x0.lub for n = x0.cardMin()-1

Implements Gecode::Propagator.

Definition at line 100 of file minmax.icc.

template<class View>
ExecStatus Gecode::Set::Int::MinElement< View >::post ( Space home,
View  s,
Gecode::Int::IntView  x 
) [inline, static]

Post propagator for x is the minimal element of s.

Definition at line 57 of file minmax.icc.

template<class View>
Reflection::ActorSpec Gecode::Set::Int::MinElement< View >::spec ( const Space home,
Reflection::VarMap m 
) const [inline, virtual]

Specification for this propagator.

Reimplemented from Gecode::Actor.

Definition at line 83 of file minmax.icc.

template<class View>
void Gecode::Set::Int::MinElement< View >::post ( Space home,
Reflection::VarMap vars,
const Reflection::ActorSpec spec 
) [inline, static]

Post using specification.

Definition at line 90 of file minmax.icc.

template<class View>
Support::Symbol Gecode::Set::Int::MinElement< View >::ati ( void   )  [inline, static]

Name of this propagator.

Definition at line 77 of file minmax.icc.


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