
Propagator for nary intersection More...
#include <rel-op.hh>
Public Member Functions | |
| virtual PropCost | cost (const Space &home, const ModEventDelta &med) const |
| Cost function (defined as low linear) | |
| virtual Actor * | copy (Space &home, bool) |
| Copy propagator during cloning. | |
| virtual ExecStatus | propagate (Space &home, const ModEventDelta &med) |
| Perform propagation. | |
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 | |
| IntersectionN (Space &home, bool share, IntersectionN &p) | |
| Constructor for cloning p. | |
| IntersectionN (Home home, ViewArray< View0 > &, View1) | |
| Constructor for posting. | |
| IntersectionN (Home home, ViewArray< View0 > &, const IntSet &, View1) | |
| Constructor for posting. | |
Protected Attributes | |
| bool | shared |
| Whether the any views share a variable implementation. | |
| LUBndSet | intOfDets |
Intersection of the determined (which are dropped) | |
Propagator for nary intersection
Requires
#include <gecode/set/rel-op.hh>
| Gecode::Set::RelOp::IntersectionN< View0, View1 >::IntersectionN | ( | Space & | home, |
| bool | share, | ||
| IntersectionN< View0, View1 > & | p | ||
| ) | [inline, protected] |
| Gecode::Set::RelOp::IntersectionN< View0, View1 >::IntersectionN | ( | Home | home, |
| ViewArray< View0 > & | x, | ||
| View1 | y | ||
| ) | [inline, protected] |
| Gecode::Set::RelOp::IntersectionN< View0, View1 >::IntersectionN | ( | Home | home, |
| ViewArray< View0 > & | x, | ||
| const IntSet & | z, | ||
| View1 | y | ||
| ) | [inline, protected] |
| PropCost Gecode::Set::RelOp::IntersectionN< 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 >.
| Actor * Gecode::Set::RelOp::IntersectionN< View0, View1 >::copy | ( | Space & | home, |
| bool | share | ||
| ) | [virtual] |
| ExecStatus Gecode::Set::RelOp::IntersectionN< View0, View1 >::propagate | ( | Space & | home, |
| const ModEventDelta & | med | ||
| ) | [virtual] |
| ExecStatus Gecode::Set::RelOp::IntersectionN< View0, View1 >::post | ( | Home | home, |
| ViewArray< View0 > & | y, | ||
| View1 | x | ||
| ) | [static] |
| ExecStatus Gecode::Set::RelOp::IntersectionN< View0, View1 >::post | ( | Home | home, |
| ViewArray< View0 > & | y, | ||
| const IntSet & | z, | ||
| View1 | x | ||
| ) | [static] |
bool Gecode::Set::RelOp::IntersectionN< View0, View1 >::shared [protected] |
LUBndSet Gecode::Set::RelOp::IntersectionN< View0, View1 >::intOfDets [protected] |
Intersection of the determined
(which are dropped)