Gecode::CpltSet::BinaryCpltSetPropagator< View0, View1 > Class Template Reference
[CpltSet propagators]
#include <propagators.hh>
Inherits Gecode::Propagator.
Inherited by Gecode::CpltSet::BinRelDisj< View0, View1 >.
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
#include "gecode/cpltset/propagators.hh"
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 Actor * | copy (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
| Gecode::CpltSet::BinaryCpltSetPropagator< View0, View1 >::BinaryCpltSetPropagator | ( | Space * | home, | |
| bool | share, | |||
| BinaryCpltSetPropagator< View0, View1 > & | p | |||
| ) | [inline, protected] |
| Gecode::CpltSet::BinaryCpltSetPropagator< View0, View1 >::BinaryCpltSetPropagator | ( | Space * | home, | |
| View0 & | x0, | |||
| View1 & | y0, | |||
| bdd & | d | |||
| ) | [inline, protected] |
Member Function Documentation
| PropCost Gecode::CpltSet::BinaryCpltSetPropagator< View0, View1 >::cost | ( | ModEventDelta | med | ) | const [inline, virtual] |
| 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.
| Support::Symbol Gecode::CpltSet::BinaryCpltSetPropagator< View0, View1 >::ati | ( | void | ) | [inline, static] |
| 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.
| 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.
| 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.
| 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
View0 Gecode::CpltSet::BinaryCpltSetPropagator< View0, View1 >::x [protected] |
View1 Gecode::CpltSet::BinaryCpltSetPropagator< View0, View1 >::y [protected] |
bdd Gecode::CpltSet::BinaryCpltSetPropagator< View0, View1 >::d [protected] |
The documentation for this class was generated from the following files:
- gecode/cpltset/propagators.hh (Revision: 5993)
- gecode/cpltset/propagators/binary.icc (Revision: 6017)
