
Propagator for nary partition More...
#include <rel-op.hh>
Public Member Functions | |
| virtual Actor * | copy (Space &home, bool) |
| Copy propagator during cloning. | |
| virtual ExecStatus | propagate (Space &home, const ModEventDelta &med) |
| Perform propagation. | |
| virtual PropCost | cost (const Space &home, const ModEventDelta &med) const |
| Cost function (defined as low linear) | |
Static Public Member Functions | |
| static ExecStatus | post (Home home, ViewArray< View0 > &y, View1 x) |
Post propagator . | |
| static ExecStatus | post (Home home, ViewArray< View0 > &y, const IntSet &z, View1 x) |
Post propagator . | |
Protected Member Functions | |
| PartitionN (Space &home, bool share, PartitionN &p) | |
| Constructor for cloning p. | |
| PartitionN (Home home, ViewArray< View0 > &, View1) | |
| Constructor for posting. | |
| PartitionN (Home home, ViewArray< View0 > &, const IntSet &, View1) | |
| Constructor for posting. | |
Protected Attributes | |
| bool | shared |
| Whether the any views share a variable implementation. | |
| GLBndSet | unionOfDets |
Union of the determined (which are dropped) | |
Propagator for nary partition
Requires
#include <gecode/set/rel-op.hh>
| Gecode::Set::RelOp::PartitionN< View0, View1 >::PartitionN | ( | Space & | home, |
| bool | share, | ||
| PartitionN< View0, View1 > & | p | ||
| ) | [inline, protected] |
Constructor for cloning p.
Definition at line 70 of file partition.hpp.
| Gecode::Set::RelOp::PartitionN< View0, View1 >::PartitionN | ( | Home | home, |
| ViewArray< View0 > & | x, | ||
| View1 | y | ||
| ) | [inline, protected] |
Constructor for posting.
Definition at line 53 of file partition.hpp.
| Gecode::Set::RelOp::PartitionN< View0, View1 >::PartitionN | ( | Home | home, |
| ViewArray< View0 > & | x, | ||
| const IntSet & | z, | ||
| View1 | y | ||
| ) | [inline, protected] |
Constructor for posting.
Definition at line 60 of file partition.hpp.
| Actor * Gecode::Set::RelOp::PartitionN< View0, View1 >::copy | ( | Space & | home, |
| bool | share | ||
| ) | [virtual] |
Copy propagator during cloning.
Implements Gecode::Actor.
Definition at line 78 of file partition.hpp.
| ExecStatus Gecode::Set::RelOp::PartitionN< View0, View1 >::propagate | ( | Space & | home, |
| const ModEventDelta & | med | ||
| ) | [virtual] |
| PropCost Gecode::Set::RelOp::PartitionN< View0, View1 >::cost | ( | const Space & | home, |
| const ModEventDelta & | med | ||
| ) | const [virtual] |
Cost function (defined as low linear)
Reimplemented from Gecode::MixNaryOnePropagator< View0, PC_SET_ANY, View1, PC_SET_ANY >.
Definition at line 105 of file partition.hpp.
| ExecStatus Gecode::Set::RelOp::PartitionN< View0, View1 >::post | ( | Home | home, |
| ViewArray< View0 > & | y, | ||
| View1 | x | ||
| ) | [static] |
Post propagator
.
Definition at line 83 of file partition.hpp.
| ExecStatus Gecode::Set::RelOp::PartitionN< View0, View1 >::post | ( | Home | home, |
| ViewArray< View0 > & | y, | ||
| const IntSet & | z, | ||
| View1 | x | ||
| ) | [static] |
Post propagator
.
Definition at line 98 of file partition.hpp.
bool Gecode::Set::RelOp::PartitionN< View0, View1 >::shared [protected] |
GLBndSet Gecode::Set::RelOp::PartitionN< View0, View1 >::unionOfDets [protected] |