Generated on Thu Mar 7 2013 10:22:15 for Gecode by doxygen 1.8.3.1
Gecode::Set::Int::ReMinElement< View > Class Template Reference

Propagator for reified minimum element More...

#include <int.hh>

Public Member Functions

virtual Actorcopy (Space &home, bool)
 Copy propagator during cloning. More...
 
virtual ExecStatus propagate (Space &home, const ModEventDelta &med)
 Perform propagation. More...
 
- Public Member Functions inherited from Gecode::Int::ReMixBinaryPropagator< View, PC_SET_ANY, Gecode::Int::IntView, Gecode::Int::PC_INT_DOM, Gecode::Int::BoolView >
virtual PropCost cost (const Space &home, const ModEventDelta &med) const
 Cost function (defined as low binary) More...
 
virtual size_t dispose (Space &home)
 Delete propagator and return its size. More...
 
- Public Member Functions inherited from Gecode::Propagator
ModEventDelta modeventdelta (void) const
 Return the modification event delta. More...
 
virtual ExecStatus advise (Space &home, Advisor &a, const Delta &d)
 Advise function. More...
 
double afc (void) const
 Return the accumlated failure count. More...
 

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 minimal element of s. More...
 

Protected Member Functions

 ReMinElement (Space &home, bool share, ReMinElement &p)
 Constructor for cloning p. More...
 
 ReMinElement (Home home, View, Gecode::Int::IntView, Gecode::Int::BoolView)
 Constructor for posting. More...
 
- Protected Member Functions inherited from Gecode::Int::ReMixBinaryPropagator< View, PC_SET_ANY, Gecode::Int::IntView, Gecode::Int::PC_INT_DOM, Gecode::Int::BoolView >
 ReMixBinaryPropagator (Space &home, bool share, ReMixBinaryPropagator &p)
 Constructor for cloning p. More...
 
 ReMixBinaryPropagator (Space &home, Viewx0, Gecode::Int::IntViewx1, Gecode::Int::BoolViewb)
 Constructor for creation. More...
 
 ReMixBinaryPropagator (Space &home, bool share, Propagator &p, Viewx0, Gecode::Int::IntViewx1, Gecode::Int::BoolViewb)
 Constructor for rewriting p during cloning. More...
 
- Protected Member Functions inherited from Gecode::Propagator
 Propagator (Home home)
 Constructor for posting. More...
 
 Propagator (Space &home, bool share, Propagator &p)
 Constructor for cloning p. More...
 

Additional Inherited Members

- Protected Attributes inherited from Gecode::Int::ReMixBinaryPropagator< View, PC_SET_ANY, Gecode::Int::IntView, Gecode::Int::PC_INT_DOM, Gecode::Int::BoolView >
View x0
 View of type View0. More...
 
Gecode::Int::IntView x1
 View of type View1. More...
 
Gecode::Int::BoolView b
 Boolean control view. More...
 

Detailed Description

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

Propagator for reified minimum element

Requires

#include "gecode/set/int.hh"

Definition at line 115 of file int.hh.

Constructor & Destructor Documentation

template<class View >
Gecode::Set::Int::ReMinElement< View >::ReMinElement ( Space home,
bool  share,
ReMinElement< View > &  p 
)
inlineprotected

Constructor for cloning p.

Definition at line 277 of file minmax.hpp.

template<class View >
Gecode::Set::Int::ReMinElement< View >::ReMinElement ( Home  home,
View  y0,
Gecode::Int::IntView  y1,
Gecode::Int::BoolView  b2 
)
inlineprotected

Constructor for posting.

Definition at line 261 of file minmax.hpp.

Member Function Documentation

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

Copy propagator during cloning.

Implements Gecode::Actor.

Definition at line 284 of file minmax.hpp.

template<class View >
ExecStatus Gecode::Set::Int::ReMinElement< View >::propagate ( Space home,
const ModEventDelta med 
)
virtual

Perform propagation.

Implements Gecode::Propagator.

Definition at line 290 of file minmax.hpp.

template<class View >
ExecStatus Gecode::Set::Int::ReMinElement< View >::post ( Home  home,
View  s,
Gecode::Int::IntView  x,
Gecode::Int::BoolView  b 
)
inlinestatic

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

Definition at line 269 of file minmax.hpp.


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