Gecode::Set::Projection::CardProjection Class Reference
#include <propagator.hh>
Inherits Gecode::Propagator.
List of all members.
Detailed Description
Nary cardinality projection propagator.
Definition at line 126 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::IntView i, Projector &p) |
Protected Member Functions |
| | CardProjection (Space *home, bool share, CardProjection &p) |
| | Constructor for cloning p.
|
| | CardProjection (Space *home, ViewArray< SetView > &x, Gecode::Int::IntView i, Projector &ps) |
| | Constructor for creation.
|
Protected Attributes |
| ViewArray< SetView > | x |
| | Array of views.
|
| Gecode::Int::IntView | i |
| | Integer view for cardinality.
|
| SharedArray< PropCond > | pc |
| | Array of PropConds.
|
| Projector | proj |
| | The projector to propagate.
|
Constructor & Destructor Documentation
| Gecode::Set::Projection::CardProjection::CardProjection |
( |
Space * |
home, |
|
|
bool |
share, |
|
|
CardProjection & |
p | |
|
) |
| | [inline, protected] |
Constructor for cloning p.
Definition at line 58 of file card.icc.
Constructor for creation.
Definition at line 42 of file card.icc.
Member Function Documentation
| size_t Gecode::Set::Projection::CardProjection::dispose |
( |
Space * |
home |
) |
[inline, virtual] |
| Actor * Gecode::Set::Projection::CardProjection::copy |
( |
Space * |
home, |
|
|
bool |
share | |
|
) |
| | [inline, virtual] |
| Support::Symbol Gecode::Set::Projection::CardProjection::ati |
( |
void |
|
) |
[inline, static] |
Name of this propagator.
Definition at line 76 of file card.icc.
Member Data Documentation
The documentation for this class was generated from the following files: