Gecode::Set::Projection::ReNaryProjection Class Reference
#include <propagator.hh>
Inherits Gecode::Propagator.
Detailed Description
Reified Nary projection propagator.Definition at line 88 of file propagator.hh.
Public Member Functions | |
virtual PropCost | cost (ModEventDelta med) const |
Cost function. | |
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. | |
virtual Reflection::ActorSpec | spec (const Space *home, Reflection::VarMap &m) const |
Specification for this propagator. | |
Static Public Member Functions | |
static Support::Symbol | ati (void) |
Name of this propagator. | |
static ExecStatus | post (Space *home, ViewArray< SetView > &x, Gecode::Int::BoolView b, ProjectorSet &ps) |
Protected Member Functions | |
ReNaryProjection (Space *home, bool share, ReNaryProjection &p) | |
Constructor for cloning p. | |
ReNaryProjection (Space *home, ViewArray< SetView > &x, Gecode::Int::BoolView, ProjectorSet &ps) | |
Constructor for creation. | |
Protected Attributes | |
ViewArray< SetView > | x |
Array of views. | |
Gecode::Int::BoolView | b |
Boolean control view. | |
ProjectorSet | ps |
The projector set to propagate. |
Constructor & Destructor Documentation
Gecode::Set::Projection::ReNaryProjection::ReNaryProjection | ( | Space * | home, | |
bool | share, | |||
ReNaryProjection & | p | |||
) | [inline, protected] |
Gecode::Set::Projection::ReNaryProjection::ReNaryProjection | ( | Space * | home, | |
ViewArray< SetView > & | x, | |||
Gecode::Int::BoolView | b0, | |||
ProjectorSet & | ps | |||
) | [inline, protected] |
Member Function Documentation
PropCost Gecode::Set::Projection::ReNaryProjection::cost | ( | ModEventDelta | med | ) | const [inline, virtual] |
size_t Gecode::Set::Projection::ReNaryProjection::dispose | ( | Space * | home | ) | [virtual] |
ExecStatus Gecode::Set::Projection::ReNaryProjection::propagate | ( | Space * | home, | |
ModEventDelta | med | |||
) | [virtual] |
Reflection::ActorSpec Gecode::Set::Projection::ReNaryProjection::spec | ( | const Space * | home, | |
Reflection::VarMap & | m | |||
) | const [virtual] |
Specification for this propagator.
Reimplemented from Gecode::Actor.
Definition at line 74 of file re-nary.cc.
Support::Symbol Gecode::Set::Projection::ReNaryProjection::ati | ( | void | ) | [static] |
ExecStatus Gecode::Set::Projection::ReNaryProjection::post | ( | Space * | home, | |
ViewArray< SetView > & | x, | |||
Gecode::Int::BoolView | b, | |||
ProjectorSet & | ps | |||
) | [static] |
Definition at line 55 of file re-nary.cc.
Member Data Documentation
ViewArray<SetView> Gecode::Set::Projection::ReNaryProjection::x [protected] |
The documentation for this class was generated from the following files:
- gecode/set/projectors/propagator.hh (Revision: 5993)
- gecode/set/projectors/propagator/re-nary.cc (Revision: 5993)
- gecode/set/projectors/propagator/re-nary.icc (Revision: 6105)