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

Gecode::CpltSet::UnaryCpltSetPropagator< View > Class Template Reference

#include <propagators.hh>

Inherits Gecode::Propagator.

List of all members.


Detailed Description

template<class View>
class Gecode::CpltSet::UnaryCpltSetPropagator< View >

Unary propagator for CpltSet variables.

Definition at line 143 of file propagators.hh.


Public Member Functions

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

Static Public Member Functions

static Support::Symbol ati (void)
 Name of this propagator.
static ExecStatus post (Space *home, View &x0, bdd &d)

Protected Member Functions

 UnaryCpltSetPropagator (Space *home, bool share, UnaryCpltSetPropagator &p)
 Constructor for cloning p.
 UnaryCpltSetPropagator (Space *home, View &x0, bdd &d)
 Constructor for posting.

Protected Attributes

View x
 View to propagate on.
bdd d
 Bdd representation of the constraint.

Constructor & Destructor Documentation

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

Constructor for cloning p.

Definition at line 50 of file unary.icc.

template<class View>
Gecode::CpltSet::UnaryCpltSetPropagator< View >::UnaryCpltSetPropagator ( Space home,
View &  x0,
bdd &  d 
) [inline, protected]

Constructor for posting.

Definition at line 42 of file unary.icc.


Member Function Documentation

template<class View>
PropCost Gecode::CpltSet::UnaryCpltSetPropagator< View >::cost ( ModEventDelta  med  )  const [inline, virtual]

Cost function.

Implements Gecode::Propagator.

Definition at line 58 of file unary.icc.

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

Specification for this propagator.

Reimplemented from Gecode::Actor.

Definition at line 76 of file unary.icc.

template<class View>
Support::Symbol Gecode::CpltSet::UnaryCpltSetPropagator< View >::ati ( void   )  [inline, static]

Name of this propagator.

Definition at line 70 of file unary.icc.

template<class View>
size_t Gecode::CpltSet::UnaryCpltSetPropagator< View >::dispose ( Space home  )  [inline, virtual]

Delete propagator.

Reimplemented from Gecode::Actor.

Definition at line 83 of file unary.icc.

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

Copy propagator during cloning.

Implements Gecode::Actor.

Definition at line 103 of file unary.icc.

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

Perform propagation.

Implements Gecode::Propagator.

Definition at line 109 of file unary.icc.

template<class View>
ExecStatus Gecode::CpltSet::UnaryCpltSetPropagator< View >::post ( Space home,
View &  x0,
bdd &  d 
) [inline, static]

Definition at line 96 of file unary.icc.


Member Data Documentation

template<class View>
View Gecode::CpltSet::UnaryCpltSetPropagator< View >::x [protected]

View to propagate on.

Definition at line 146 of file propagators.hh.

template<class View>
bdd Gecode::CpltSet::UnaryCpltSetPropagator< View >::d [protected]

Bdd representation of the constraint.

Definition at line 148 of file propagators.hh.


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