Gecode::CpltSet::NaryOneCpltSetPropagator< View0, View1 > Class Template Reference
[CpltSet propagators]
#include <propagators.hh>
Inherits MixNaryOnePropagator< View0, PC_CPLTSET_DOM, View1, PC_CPLTSET_DOM >.
Detailed Description
template<class View0, class View1>
class Gecode::CpltSet::NaryOneCpltSetPropagator< View0, View1 >
Propagator for CpltSet variables with n+1 arguments.
Propagates a constraint specified as a bdd.
Requires
#include "gecode/cpltset/propagators.hh"
Definition at line 180 of file propagators.hh.
Public Member Functions | |
| 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, ViewArray< View0 > &x, View1 &y, bdd &d) |
Protected Types | |
| typedef MixNaryOnePropagator < View0, PC_CPLTSET_DOM, View1, PC_CPLTSET_DOM > | Super |
Protected Member Functions | |
| NaryOneCpltSetPropagator (Space *home, bool share, NaryOneCpltSetPropagator &p) | |
| Constructor for cloning p. | |
| NaryOneCpltSetPropagator (Space *home, ViewArray< View0 > &, View1 &, bdd &) | |
| Constructor for posting. | |
| ExecStatus | divide_conquer (Space *home, bdd &p, int l, int r, int ypos) |
| Divide and conquer method including additional view y. | |
Protected Attributes | |
| bdd | d |
| Bdd representation of the constraint. | |
Member Typedef Documentation
template<class View0, class View1>
typedef MixNaryOnePropagator<View0, PC_CPLTSET_DOM, View1, PC_CPLTSET_DOM> Gecode::CpltSet::NaryOneCpltSetPropagator< View0, View1 >::Super [protected] |
Definition at line 184 of file propagators.hh.
Constructor & Destructor Documentation
template<class View0, class View1>
| Gecode::CpltSet::NaryOneCpltSetPropagator< View0, View1 >::NaryOneCpltSetPropagator | ( | Space * | home, | |
| bool | share, | |||
| NaryOneCpltSetPropagator< View0, View1 > & | p | |||
| ) | [inline, protected] |
template<class View0, class View1>
| Gecode::CpltSet::NaryOneCpltSetPropagator< View0, View1 >::NaryOneCpltSetPropagator | ( | Space * | home, | |
| ViewArray< View0 > & | x, | |||
| View1 & | y, | |||
| bdd & | d0 | |||
| ) | [inline, protected] |
Member Function Documentation
template<class View0, class View1>
| ExecStatus Gecode::CpltSet::NaryOneCpltSetPropagator< View0, View1 >::divide_conquer | ( | Space * | home, | |
| bdd & | p, | |||
| int | l, | |||
| int | r, | |||
| int | ypos | |||
| ) | [inline, protected] |
template<class View0, class View1>
| Reflection::ActorSpec Gecode::CpltSet::NaryOneCpltSetPropagator< View0, View1 >::spec | ( | const Space * | home, | |
| Reflection::VarMap & | m | |||
| ) | const [inline, virtual] |
Specification for this propagator.
Reimplemented from Gecode::Actor.
Definition at line 75 of file naryone.icc.
template<class View0, class View1>
| Support::Symbol Gecode::CpltSet::NaryOneCpltSetPropagator< View0, View1 >::ati | ( | void | ) | [inline, static] |
template<class View0, class View1>
| size_t Gecode::CpltSet::NaryOneCpltSetPropagator< View0, View1 >::dispose | ( | Space * | home | ) | [inline, virtual] |
Delete propagator.
Reimplemented from Gecode::MixNaryOnePropagator< View0, PC_CPLTSET_DOM, View1, PC_CPLTSET_DOM >.
Definition at line 152 of file naryone.icc.
template<class View0, class View1>
| Actor * Gecode::CpltSet::NaryOneCpltSetPropagator< View0, View1 >::copy | ( | Space * | home, | |
| bool | share | |||
| ) | [inline, virtual] |
Copy propagator during cloning.
Implements Gecode::Actor.
Definition at line 82 of file naryone.icc.
template<class View0, class View1>
| ExecStatus Gecode::CpltSet::NaryOneCpltSetPropagator< View0, View1 >::propagate | ( | Space * | home, | |
| ModEventDelta | med | |||
| ) | [inline, virtual] |
template<class View0, class View1>
| ExecStatus Gecode::CpltSet::NaryOneCpltSetPropagator< View0, View1 >::post | ( | Space * | home, | |
| ViewArray< View0 > & | x, | |||
| View1 & | y, | |||
| bdd & | d | |||
| ) | [inline, static] |
Definition at line 59 of file naryone.icc.
Member Data Documentation
template<class View0, class View1>
bdd Gecode::CpltSet::NaryOneCpltSetPropagator< View0, View1 >::d [protected] |
The documentation for this class was generated from the following files:
- gecode/cpltset/propagators.hh (Revision: 5993)
- gecode/cpltset/propagators/naryone.icc (Revision: 6017)
