Propagator for nary union
More...
#include <rel-op.hh>
List of all members.
Public Member Functions |
virtual Actor * | copy (Space &home, bool) |
| Copy propagator during cloning.
|
virtual ExecStatus | propagate (Space &home, const ModEventDelta &med) |
| Perform propagation.
|
virtual PropCost | cost (const Space &home, const ModEventDelta &med) const |
| Cost function (defined as low linear)
|
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 |
| UnionN (Space &home, bool share, UnionN &p) |
| Constructor for cloning p.
|
| UnionN (Home home, ViewArray< View0 > &, View1) |
| Constructor for posting.
|
| UnionN (Home home, ViewArray< View0 > &, const IntSet &, View1) |
| Constructor for posting.
|
Protected Attributes |
bool | shared |
| Whether the any views share a variable implementation.
|
GLBndSet | unionOfDets |
| Union of the determined (which are dropped)
|
Detailed Description
Propagator for nary union
Requires
Constructor & Destructor Documentation
Gecode::Set::RelOp::UnionN::UnionN |
( |
Space & |
home, |
|
|
bool |
share, |
|
|
UnionN & |
p |
|
) |
| [inline, protected] |
Constructor for cloning p.
Definition at line 225 of file union.hpp.
Gecode::Set::RelOp::UnionN::UnionN |
( |
Home |
home, |
|
|
ViewArray< View0 > & |
x, |
|
|
View1 |
y |
|
) |
| [inline, protected] |
Constructor for posting.
Definition at line 208 of file union.hpp.
Gecode::Set::RelOp::UnionN::UnionN |
( |
Home |
home, |
|
|
ViewArray< View0 > & |
x, |
|
|
const IntSet & |
z, |
|
|
View1 |
y |
|
) |
| [inline, protected] |
Constructor for posting.
Definition at line 215 of file union.hpp.
Member Function Documentation
Actor * Gecode::Set::RelOp::UnionN::copy |
( |
Space & |
home, |
|
|
bool |
share |
|
) |
| [virtual] |
Copy propagator during cloning.
Definition at line 233 of file union.hpp.
Perform propagation.
Definition at line 270 of file union.hpp.
Member Data Documentation
Whether the any views share a variable implementation.
Definition at line 227 of file rel-op.hh.
Union of the determined
(which are dropped)
Definition at line 229 of file rel-op.hh.
The documentation for this class was generated from the following files: