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 33 of file propagator.hh.
Public Member Functions | |
| virtual PropCost | cost (void) 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) |
| Perform propagation. | |
Static Public Member Functions | |
| 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. | |
| Support::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 | ( | void | ) | const [inline, virtual] |
template<bool negated>
| size_t Gecode::Set::Projection::NaryProjection< negated >::dispose | ( | Space * | home | ) | [virtual] |
template<bool negated>
| Actor * Gecode::Set::Projection::NaryProjection< negated >::copy | ( | Space * | home, | |
| bool | ||||
| ) | [virtual] |
template<bool negated>
| ExecStatus Gecode::Set::Projection::NaryProjection< negated >::propagate | ( | Space * | home | ) | [virtual] |
template<bool negated>
| ExecStatus Gecode::Set::Projection::NaryProjection< negated >::post | ( | Space * | home, | |
| ViewArray< SetView > & | x, | |||
| ProjectorSet & | ps | |||
| ) | [static] |
Member Data Documentation
template<bool negated>
ViewArray<SetView> Gecode::Set::Projection::NaryProjection< negated >::x [protected] |
template<bool negated>
Support::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: 3544)
- gecode/set/projectors/propagator/nary.icc (Revision: 3544)
