
Propagator for element with union of constant sets More...
#include <element.hh>
Public Member Functions | |
| virtual Actor * | copy (Space &home, bool) |
| Copy propagator during cloning. More... | |
| virtual PropCost | cost (const Space &home, const ModEventDelta &med) const |
| Cost function. More... | |
| virtual size_t | dispose (Space &home) |
| Delete propagator and return its size. More... | |
| virtual ExecStatus | propagate (Space &home, const ModEventDelta &med) |
| Perform propagation. More... | |
Public Member Functions inherited from Gecode::Propagator | |
| ModEventDelta | modeventdelta (void) const |
| Return the modification event delta. More... | |
| virtual ExecStatus | advise (Space &home, Advisor &a, const Delta &d) |
| Advise function. More... | |
| double | afc (const Space &home) const |
| Return the accumlated failure count. More... | |
Public Member Functions inherited from Gecode::Actor | |
Static Public Member Functions | |
| static ExecStatus | post (Home home, SView z, const IntSetArgs &x, RView y) |
Static Public Member Functions inherited from Gecode::Actor | |
| static void * | operator new (size_t s, Space &home) |
| Allocate memory from space. More... | |
| static void | operator delete (void *p, Space &home) |
| No-op for exceptions. More... | |
Protected Member Functions | |
| ElementUnionConst (Space &home, bool share, ElementUnionConst &p) | |
| Constructor for cloning p. More... | |
| ElementUnionConst (Home home, SView, const IntSetArgs &, RView) | |
| Constructor for posting. More... | |
Protected Member Functions inherited from Gecode::Propagator | |
| Propagator (Home home) | |
| Constructor for posting. More... | |
| Propagator (Space &home, bool share, Propagator &p) | |
| Constructor for cloning p. More... | |
| Propagator * | fwd (void) const |
| Return forwarding pointer during copying. More... | |
Protected Attributes | |
| SView | x0 |
| IntSet * | iv |
| int | n_iv |
| RView | x1 |
Propagator for element with union of constant sets
Requires
Definition at line 152 of file element.hh.
|
inlineprotected |
Constructor for cloning p.
Definition at line 60 of file unionConst.hpp.
|
inlineprotected |
Constructor for posting.
Definition at line 45 of file unionConst.hpp.
|
virtual |
Copy propagator during cloning.
Implements Gecode::Actor.
Definition at line 107 of file unionConst.hpp.
|
virtual |
|
inlinevirtual |
Delete propagator and return its size.
Reimplemented from Gecode::Actor.
Definition at line 78 of file unionConst.hpp.
|
virtual |
|
static |
Post propagator for ![$ z=\bigcup\langle s_0,\dots,s_{n-1}\rangle[y] $](form_467.png)
If y is empty, z will be constrained to be empty (as an empty union is the empty set).
Definition at line 93 of file unionConst.hpp.
|
protected |
Definition at line 154 of file element.hh.
|
protected |
Definition at line 155 of file element.hh.
|
protected |
Definition at line 156 of file element.hh.
|
protected |
Definition at line 157 of file element.hh.