Propagator for element with union More...
#include <element.hh>
Public Types | |
typedef Gecode::Int::Element::IdxViewArray < SView > | 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, SView z, IdxViewArray &x, RView y) |
Protected Member Functions | |
ElementUnion (Space &home, bool share, ElementUnion &p) | |
Constructor for cloning p. | |
ElementUnion (Home home, SView, IdxViewArray &, RView) | |
Constructor for posting. | |
Protected Attributes | |
SView | x0 |
IdxViewArray | iv |
RView | x1 |
Propagator for element with union
Requires
#include <gecode/set/element.hh>
Definition at line 110 of file element.hh.
typedef Gecode::Int::Element::IdxViewArray<SView> Gecode::Set::Element::ElementUnion< SView, RView >::IdxViewArray |
Definition at line 112 of file element.hh.
Gecode::Set::Element::ElementUnion< SView, RView >::ElementUnion | ( | Space & | home, |
bool | share, | ||
ElementUnion< SView, RView > & | p | ||
) | [inline, protected] |
Gecode::Set::Element::ElementUnion< SView, RView >::ElementUnion | ( | Home | home, |
SView | y0, | ||
IdxViewArray & | iv0, | ||
RView | y1 | ||
) | [inline, protected] |
Actor * Gecode::Set::Element::ElementUnion< SView, RView >::copy | ( | Space & | home, |
bool | share | ||
) | [virtual] |
PropCost Gecode::Set::Element::ElementUnion< SView, RView >::cost | ( | const Space & | home, |
const ModEventDelta & | med | ||
) | const [virtual] |
size_t Gecode::Set::Element::ElementUnion< SView, RView >::dispose | ( | Space & | home | ) | [inline, virtual] |
Delete propagator and return its size.
Reimplemented from Gecode::Actor.
ExecStatus Gecode::Set::Element::ElementUnion< SView, RView >::propagate | ( | Space & | home, |
const ModEventDelta & | med | ||
) | [virtual] |
ExecStatus Gecode::Set::Element::ElementUnion< SView, RView >::post | ( | Home | home, |
SView | z, | ||
IdxViewArray & | x, | ||
RView | y | ||
) | [static] |
SView Gecode::Set::Element::ElementUnion< SView, RView >::x0 [protected] |
Definition at line 114 of file element.hh.
IdxViewArray Gecode::Set::Element::ElementUnion< SView, RView >::iv [protected] |
Definition at line 115 of file element.hh.
RView Gecode::Set::Element::ElementUnion< SView, RView >::x1 [protected] |
Definition at line 116 of file element.hh.