Gecode::Set::RelOp::IntersectionN< View0, View1 > Class Template Reference
[Set propagators]
Propagator for nary intersection More...
#include <rel-op.hh>
Public Member Functions | |
| virtual PropCost | cost (const Space &home, const ModEventDelta &med) const |
| Cost function. | |
| virtual Actor * | copy (Space &home) |
| 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, 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). | |
Detailed Description
template<class View0, class View1>
class Gecode::Set::RelOp::IntersectionN< View0, View1 >
Propagator for nary intersection
Requires
#include <gecode/set/rel-op.hh>
Definition at line 182 of file rel-op.hh.
Constructor & Destructor Documentation
template<class View0 , class View1 >
| Gecode::Set::RelOp::IntersectionN< View0, View1 >::IntersectionN | ( | Space & | home, | |
| IntersectionN< View0, View1 > & | p | |||
| ) | [inline, protected] |
template<class View0 , class View1 >
| Gecode::Set::RelOp::IntersectionN< View0, View1 >::IntersectionN | ( | Home | home, | |
| ViewArray< View0 > & | x, | |||
| View1 | y | |||
| ) | [inline, protected] |
template<class View0 , class View1 >
| Gecode::Set::RelOp::IntersectionN< View0, View1 >::IntersectionN | ( | Home | home, | |
| ViewArray< View0 > & | x, | |||
| const IntSet & | z, | |||
| View1 | y | |||
| ) | [inline, protected] |
Member Function Documentation
template<class View0 , class View1 >
| PropCost Gecode::Set::RelOp::IntersectionN< View0, View1 >::cost | ( | const Space & | home, | |
| const ModEventDelta & | med | |||
| ) | const [inline, virtual] |
Cost function.
Reimplemented from Gecode::MixNaryOnePropagator< View0, PC_SET_ANY, View1, PC_SET_ANY >.
template<class View0 , class View1 >
| Actor * Gecode::Set::RelOp::IntersectionN< View0, View1 >::copy | ( | Space & | home | ) | [inline, virtual] |
template<class View0 , class View1 >
| ExecStatus Gecode::Set::RelOp::IntersectionN< View0, View1 >::propagate | ( | Space & | home, | |
| const ModEventDelta & | med | |||
| ) | [inline, virtual] |
template<class View0 , class View1 >
| ExecStatus Gecode::Set::RelOp::IntersectionN< View0, View1 >::post | ( | Home | home, | |
| ViewArray< View0 > & | y, | |||
| View1 | x | |||
| ) | [inline, static] |
template<class View0 , class View1 >
| ExecStatus Gecode::Set::RelOp::IntersectionN< View0, View1 >::post | ( | Home | home, | |
| ViewArray< View0 > & | y, | |||
| const IntSet & | z, | |||
| View1 | x | |||
| ) | [inline, static] |
Member Data Documentation
template<class View0, class View1>
bool Gecode::Set::RelOp::IntersectionN< View0, View1 >::shared [protected] |
template<class View0, class View1>
LUBndSet Gecode::Set::RelOp::IntersectionN< View0, View1 >::intOfDets [protected] |
Intersection of the determined
(which are dropped).
The documentation for this class was generated from the following files:

.
.