Generated on Sun Aug 26 2012 08:44:16 for Gecode by doxygen 1.8.1.1
Gecode::Int::Member::ReProp< View > Class Template Reference

Reified membership propagator. More...

#include <member.hh>

List of all members.

Public Member Functions

virtual Propagatorcopy (Space &home, bool share)
 Copy propagator during cloning.
virtual ExecStatus propagate (Space &home, const ModEventDelta &med)
 Perform propagation.
virtual size_t dispose (Space &home)
 Delete propagator and return its size.
- Public Member Functions inherited from Gecode::Int::Member::Prop< View >
virtual PropCost cost (const Space &, const ModEventDelta &med) const
 Cost function.

Static Public Member Functions

static ExecStatus post (Home home, ViewArray< View > &x, View y, BoolView b)
 Post propagator for $\left(y\in \{x_0,\ldots,x_{|x|-1}\}\right)\Leftrightarrow b$.
- Static Public Member Functions inherited from Gecode::Int::Member::Prop< View >
static ExecStatus post (Home home, ViewArray< View > &x, View y)
 Post propagator for $y\in \{x_0,\ldots,x_{|x|-1}\}$.
static ExecStatus post (Home home, ValSet &vs, ViewArray< View > &x, View y)
 Post propagator for $y\in vs\cup \{x_0,\ldots,x_{|x|-1}\}$.

Protected Member Functions

 ReProp (Home home, ValSet &vs, ViewArray< View > &x, View y, BoolView b)
 Constructor for posting.
 ReProp (Space &home, bool share, ReProp< View > &p)
 Constructor for cloning p.
- Protected Member Functions inherited from Gecode::Int::Member::Prop< View >
void eliminate (Space &home)
 Eliminate views from x that are not equal to y or ar subsumed by vs.
 Prop (Home home, ValSet &vs, ViewArray< View > &x, View y)
 Constructor for posting.
 Prop (Space &home, bool share, Prop< View > &p)
 Constructor for cloning p.
- Protected Member Functions inherited from Gecode::NaryOnePropagator< View, PC_INT_DOM >
 NaryOnePropagator (Space &home, bool share, NaryOnePropagator &p)
 Constructor for cloning p.
 NaryOnePropagator (Space &home, bool share, Propagator &p, ViewArray< View > &x, View y)
 Constructor for rewriting p during cloning.
 NaryOnePropagator (Home home, ViewArray< View > &x, View y)
 Constructor for creation.
- Protected Member Functions inherited from Gecode::Propagator
 Propagator (Home home)
 Constructor for posting.
 Propagator (Space &home, bool share, Propagator &p)
 Constructor for cloning p.

Protected Attributes

BoolView b
 Boolean control variable.
- Protected Attributes inherited from Gecode::Int::Member::Prop< View >
ValSet vs
 Value set storing the values of already assigned views.
- Protected Attributes inherited from Gecode::NaryOnePropagator< View, PC_INT_DOM >
ViewArray< View > x
 Array of views.
View y
 Single view.

Additional Inherited Members

- Static Protected Member Functions inherited from Gecode::Int::Member::Prop< View >
static void add (Space &home, ValSet &vs, ViewArray< View > &x)
 Add values of assigned views in x to value set va.

Detailed Description

template<class View>
class Gecode::Int::Member::ReProp< View >

Reified membership propagator.

Requires

Definition at line 94 of file member.hh.


Constructor & Destructor Documentation

template<class View >
Gecode::Int::Member::ReProp< View >::ReProp ( Home  home,
ValSet vs,
ViewArray< View > &  x,
View  y,
BoolView  b 
)
inlineprotected

Constructor for posting.

Definition at line 44 of file re-prop.hpp.

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

Constructor for cloning p.

Definition at line 94 of file re-prop.hpp.


Member Function Documentation

template<class View >
Propagator * Gecode::Int::Member::ReProp< View >::copy ( Space home,
bool  share 
)
virtual

Copy propagator during cloning.

Reimplemented from Gecode::Int::Member::Prop< View >.

Definition at line 101 of file re-prop.hpp.

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

Perform propagation.

Reimplemented from Gecode::Int::Member::Prop< View >.

Definition at line 115 of file re-prop.hpp.

template<class View >
ExecStatus Gecode::Int::Member::ReProp< View >::post ( Home  home,
ViewArray< View > &  x,
View  y,
BoolView  b 
)
inlinestatic

Post propagator for $\left(y\in \{x_0,\ldots,x_{|x|-1}\}\right)\Leftrightarrow b$.

Definition at line 52 of file re-prop.hpp.

template<class View >
size_t Gecode::Int::Member::ReProp< View >::dispose ( Space home)
inlinevirtual

Delete propagator and return its size.

Reimplemented from Gecode::Int::Member::Prop< View >.

Definition at line 107 of file re-prop.hpp.


Member Data Documentation

template<class View>
BoolView Gecode::Int::Member::ReProp< View >::b
protected

Boolean control variable.

Definition at line 102 of file member.hh.


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