- Gecode
- Set
- RelOp
- PartitionN

Propagator for nary partition More...
#include <rel-op.hh>
Public Member Functions | |
| virtual Actor * | copy (Space &home) |
| Copy propagator during cloning. More... | |
| virtual ExecStatus | propagate (Space &home, const ModEventDelta &med) |
| Perform propagation. More... | |
| virtual PropCost | cost (const Space &home, const ModEventDelta &med) const |
| Cost function. More... | |
Public Member Functions inherited from Gecode::MixNaryOnePropagator< View0, PC_SET_ANY, View1, PC_SET_ANY > | |
| virtual void | reschedule (Space &home) |
| Schedule function. More... | |
| virtual size_t | dispose (Space &home) |
| Delete propagator and return its size. More... | |
Public Member Functions inherited from Gecode::Propagator | |
| ModEventDelta | modeventdelta (void) const |
| Return the modification event delta. More... | |
| virtual ExecStatus | advise (Space &home, Advisor &a, const Delta &d) |
| Advise function. More... | |
| virtual void | advise (Space &home, Advisor &a) |
| Run advisor a to be run on failure in failed space. More... | |
| double | afc (void) const |
| Return the accumlated failure count. More... | |
| unsigned int | id (void) const |
| Return propagator id. More... | |
| PropagatorGroup | group (void) const |
| Return group propagator belongs to. More... | |
| void | group (PropagatorGroup g) |
| Add propagator to group g. More... | |
| bool | disabled (void) const |
| Whether propagator is currently disabled. More... | |
Public Member Functions inherited from Gecode::Actor | |
| virtual | ~Actor (void) |
| To avoid warnings. More... | |
Static Public Member Functions | |
| static ExecStatus | post (Home home, ViewArray< View0 > &y, View1 x) |
Post propagator . More... | |
| static ExecStatus | post (Home home, ViewArray< View0 > &y, const IntSet &z, View1 x) |
Post propagator . More... | |
Static Public Member Functions inherited from Gecode::Actor | |
| static void * | operator new (size_t s, Space &home) |
| Allocate memory from space. More... | |
| static void | operator delete (void *p, Space &home) |
| No-op for exceptions. More... | |
| static void * | operator new (size_t s) |
| Not used. More... | |
| static void | operator delete (void *p) |
| Not used. More... | |
Protected Member Functions | |
| PartitionN (Space &home, PartitionN &p) | |
| Constructor for cloning p. More... | |
| PartitionN (Home home, ViewArray< View0 > &, View1) | |
| Constructor for posting. More... | |
| PartitionN (Home home, ViewArray< View0 > &, const IntSet &, View1) | |
| Constructor for posting. More... | |
Protected Member Functions inherited from Gecode::MixNaryOnePropagator< View0, PC_SET_ANY, View1, PC_SET_ANY > | |
| MixNaryOnePropagator (Space &home, MixNaryOnePropagator &p) | |
| Constructor for cloning p. More... | |
| MixNaryOnePropagator (Home home, ViewArray< View0 > &x, View1 y) | |
| Constructor for creation. More... | |
| MixNaryOnePropagator (Space &home, Propagator &p, ViewArray< View0 > &x, View1 y) | |
| Constructor for rewriting p during cloning. More... | |
Protected Member Functions inherited from Gecode::Propagator | |
| Propagator (Home home) | |
| Constructor for posting. More... | |
| Propagator (Space &home, Propagator &p) | |
| Constructor for cloning p. More... | |
| Propagator * | fwd (void) const |
| Return forwarding pointer during copying. More... | |
| Kernel::GPI::Info & | gpi (void) |
| Provide access to global propagator information. More... | |
Protected Attributes | |
| bool | shared |
| Whether the any views share a variable implementation. More... | |
| GLBndSet | unionOfDets |
Union of the determined (which are dropped) More... | |
Protected Attributes inherited from Gecode::MixNaryOnePropagator< View0, PC_SET_ANY, View1, PC_SET_ANY > | |
| ViewArray< View0 > | x |
| Array of views. More... | |
| View1 | y |
| Single view. More... | |
Propagator for nary partition
Requires
|
inlineprotected |
Constructor for cloning p.
Definition at line 66 of file partition.hpp.
|
inlineprotected |
Constructor for posting.
Definition at line 49 of file partition.hpp.
|
inlineprotected |
Constructor for posting.
Definition at line 56 of file partition.hpp.
|
virtual |
Copy propagator during cloning.
Implements Gecode::Actor.
Definition at line 74 of file partition.hpp.
|
virtual |
|
virtual |
Cost function.
Reimplemented from Gecode::MixNaryOnePropagator< View0, PC_SET_ANY, View1, PC_SET_ANY >.
Definition at line 101 of file partition.hpp.
|
static |
Post propagator
.
Definition at line 79 of file partition.hpp.
|
static |
Post propagator
.
Definition at line 94 of file partition.hpp.
|
protected |
|
protected |