
Propagator for element with union More...
#include <element.hh>
Public Types | |
| typedef Gecode::Int::Element::IdxViewArray < View > | IdxViewArray |
Public Member Functions | |
| virtual Actor * | copy (Space &home, bool) |
| Copy propagator during cloning. | |
| virtual PropCost | cost (const Space &home, const ModEventDelta &med) const |
| Cost function. | |
| virtual size_t | dispose (Space &home) |
| Delete propagator and return its size. | |
| virtual ExecStatus | propagate (Space &home, const ModEventDelta &med) |
| Perform propagation. | |
Static Public Member Functions | |
| static ExecStatus | post (Home home, IdxViewArray &x, View0 y, View1 z) |
Protected Member Functions | |
| ElementUnion (Space &home, bool share, ElementUnion &p) | |
| Constructor for cloning p. | |
| ElementUnion (Home home, IdxViewArray &, View0, View1) | |
| Constructor for posting. | |
Protected Attributes | |
| IdxViewArray | iv |
| View0 | x0 |
| View1 | x1 |
Definition at line 118 of file element.hh.
| Gecode::Set::Element::ElementUnion::ElementUnion | ( | Space & | home, |
| bool | share, | ||
| ElementUnion & | p | ||
| ) | [protected] |
Constructor for cloning p.
| Gecode::Set::Element::ElementUnion::ElementUnion | ( | Home | home, |
| IdxViewArray & | iv0, | ||
| View0 | y0, | ||
| View1 | y1 | ||
| ) | [inline, protected] |
| PropCost Gecode::Set::Element::ElementUnion::cost | ( | const Space & | home, |
| const ModEventDelta & | med | ||
| ) | const [virtual] |
| size_t Gecode::Set::Element::ElementUnion::dispose | ( | Space & | home | ) | [inline, virtual] |
Delete propagator and return its size.
Reimplemented from Gecode::Actor.
| ExecStatus Gecode::Set::Element::ElementUnion::propagate | ( | Space & | home, |
| const ModEventDelta & | med | ||
| ) | [virtual] |
| ExecStatus Gecode::Set::Element::ElementUnion::post | ( | Home | home, |
| IdxViewArray & | x, | ||
| View0 | y, | ||
| View1 | z | ||
| ) | [static] |
IdxViewArray Gecode::Set::Element::ElementUnion::iv [protected] |
Definition at line 120 of file element.hh.
View0 Gecode::Set::Element::ElementUnion::x0 [protected] |
Definition at line 121 of file element.hh.
View1 Gecode::Set::Element::ElementUnion::x1 [protected] |
Definition at line 122 of file element.hh.