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

Gecode::CpltSet::BinaryCpltSetPropagator< View0, View1 > Class Template Reference
[CpltSet propagators]

#include <propagators.hh>

Inherits Gecode::Propagator.

Inherited by Gecode::CpltSet::BinRelDisj< View0, View1 >.

List of all members.


Detailed Description

template<class View0, class View1>
class Gecode::CpltSet::BinaryCpltSetPropagator< View0, View1 >

Binary propagator for CpltSet variables.

Propagates a constraint specified as a bdd.

Requires

Definition at line 108 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, View0 &x0, View1 &y0, bdd &d)

Protected Member Functions

 BinaryCpltSetPropagator (Space *home, bool share, BinaryCpltSetPropagator &p)
 Constructor for cloning p.
 BinaryCpltSetPropagator (Space *home, View0 &x0, View1 &y0, bdd &d)
 Constructor for posting.

Protected Attributes

View0 x
 First view.
View1 y
 Second view.
bdd d
 Bdd representation of the constraint.

Constructor & Destructor Documentation

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

Constructor for cloning p.

Definition at line 53 of file binary.icc.

template<class View0, class View1>
Gecode::CpltSet::BinaryCpltSetPropagator< View0, View1 >::BinaryCpltSetPropagator ( Space home,
View0 &  x0,
View1 &  y0,
bdd &  d 
) [inline, protected]

Constructor for posting.

Definition at line 43 of file binary.icc.


Member Function Documentation

template<class View0, class View1>
PropCost Gecode::CpltSet::BinaryCpltSetPropagator< View0, View1 >::cost ( ModEventDelta  med  )  const [inline, virtual]

Cost function.

Implements Gecode::Propagator.

Definition at line 63 of file binary.icc.

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

Specification for this propagator.

Reimplemented from Gecode::Actor.

Definition at line 80 of file binary.icc.

template<class View0, class View1>
Support::Symbol Gecode::CpltSet::BinaryCpltSetPropagator< View0, View1 >::ati ( void   )  [inline, static]

Name of this propagator.

Definition at line 73 of file binary.icc.

template<class View0, class View1>
size_t Gecode::CpltSet::BinaryCpltSetPropagator< View0, View1 >::dispose ( Space home  )  [inline, virtual]

Delete propagator.

Reimplemented from Gecode::Actor.

Reimplemented in Gecode::CpltSet::BinRelDisj< View0, View1 >.

Definition at line 87 of file binary.icc.

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

Copy propagator during cloning.

Implements Gecode::Actor.

Reimplemented in Gecode::CpltSet::BinRelDisj< View0, View1 >.

Definition at line 108 of file binary.icc.

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

Perform propagation.

Implements Gecode::Propagator.

Reimplemented in Gecode::CpltSet::BinRelDisj< View0, View1 >.

Definition at line 114 of file binary.icc.

template<class View0, class View1>
ExecStatus Gecode::CpltSet::BinaryCpltSetPropagator< View0, View1 >::post ( Space home,
View0 &  x0,
View1 &  y0,
bdd &  d 
) [inline, static]

Reimplemented in Gecode::CpltSet::BinRelDisj< View0, View1 >.

Definition at line 100 of file binary.icc.


Member Data Documentation

template<class View0, class View1>
View0 Gecode::CpltSet::BinaryCpltSetPropagator< View0, View1 >::x [protected]

First view.

Definition at line 111 of file propagators.hh.

template<class View0, class View1>
View1 Gecode::CpltSet::BinaryCpltSetPropagator< View0, View1 >::y [protected]

Second view.

Definition at line 113 of file propagators.hh.

template<class View0, class View1>
bdd Gecode::CpltSet::BinaryCpltSetPropagator< View0, View1 >::d [protected]

Bdd representation of the constraint.

Definition at line 115 of file propagators.hh.


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