Gecode::Set::Projection::NaryProjection< negated > Class Template Reference
#include <propagator.hh>
Inherits Gecode::Propagator.
Detailed Description
template<bool negated>
class Gecode::Set::Projection::NaryProjection< negated >
Nary projection propagator.
Definition at line 54 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, ProjectorSet &ps) |
Protected Member Functions | |
NaryProjection (Space *home, bool share, NaryProjection &p) | |
Constructor for cloning p. | |
NaryProjection (Space *home, ViewArray< SetView > &x, ProjectorSet &ps) | |
Constructor for creation. | |
Protected Attributes | |
ViewArray< SetView > | x |
Array of views. | |
SharedArray< PropCond > | pc |
Array of PropConds. | |
ProjectorSet | ps |
The projector set to propagate. |
Constructor & Destructor Documentation
template<bool negated>
Gecode::Set::Projection::NaryProjection< negated >::NaryProjection | ( | Space * | home, | |
bool | share, | |||
NaryProjection< negated > & | p | |||
) | [inline, protected] |
template<bool negated>
Gecode::Set::Projection::NaryProjection< negated >::NaryProjection | ( | Space * | home, | |
ViewArray< SetView > & | x, | |||
ProjectorSet & | ps | |||
) | [inline, protected] |
Member Function Documentation
template<bool negated>
PropCost Gecode::Set::Projection::NaryProjection< negated >::cost | ( | ModEventDelta | med | ) | const [inline, virtual] |
template<bool negated>
size_t Gecode::Set::Projection::NaryProjection< negated >::dispose | ( | Space * | home | ) | [inline, virtual] |
template<bool negated>
Actor * Gecode::Set::Projection::NaryProjection< negated >::copy | ( | Space * | home, | |
bool | share | |||
) | [inline, virtual] |
template<bool negated>
ExecStatus Gecode::Set::Projection::NaryProjection< negated >::propagate | ( | Space * | home, | |
ModEventDelta | med | |||
) | [inline, virtual] |
template<bool negated>
Reflection::ActorSpec Gecode::Set::Projection::NaryProjection< negated >::spec | ( | const Space * | home, | |
Reflection::VarMap & | m | |||
) | const [inline, virtual] |
template<bool negated>
Support::Symbol Gecode::Set::Projection::NaryProjection< negated >::ati | ( | void | ) | [inline, static] |
template<bool negated>
ExecStatus Gecode::Set::Projection::NaryProjection< negated >::post | ( | Space * | home, | |
ViewArray< SetView > & | x, | |||
ProjectorSet & | ps | |||
) | [inline, static] |
Member Data Documentation
template<bool negated>
ViewArray<SetView> Gecode::Set::Projection::NaryProjection< negated >::x [protected] |
template<bool negated>
SharedArray<PropCond> Gecode::Set::Projection::NaryProjection< negated >::pc [protected] |
template<bool negated>
ProjectorSet Gecode::Set::Projection::NaryProjection< negated >::ps [protected] |
The documentation for this class was generated from the following files:
- gecode/set/projectors/propagator.hh (Revision: 5993)
- gecode/set/projectors/propagator/nary.icc (Revision: 6105)