Propagator for nary partition More...
#include <rel-op.hh>
Public Member Functions | |
virtual Actor * | copy (Space &home, bool) |
Copy propagator during cloning. More... | |
virtual ExecStatus | propagate (Space &home, const ModEventDelta &med) |
Perform propagation. More... | |
virtual PropCost | cost (const Space &home, const ModEventDelta &med) const |
Cost function (defined as low linear) More... | |
![]() | |
virtual size_t | dispose (Space &home) |
Delete propagator and return its size. More... | |
![]() | |
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... | |
![]() |
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 ![]() | |
![]() | |
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 | |
PartitionN (Space &home, bool share, PartitionN &p) | |
Constructor for cloning p. More... | |
PartitionN (Home home, ViewArray< View0 > &, View1) | |
Constructor for posting. More... | |
PartitionN (Home home, ViewArray< View0 > &, const IntSet &, View1) | |
Constructor for posting. More... | |
![]() | |
MixNaryOnePropagator (Space &home, bool share, MixNaryOnePropagator &p) | |
Constructor for cloning p. More... | |
MixNaryOnePropagator (Home home, ViewArray< View0 > &x, View1 y) | |
Constructor for creation. More... | |
MixNaryOnePropagator (Space &home, bool share, Propagator &p, ViewArray< View0 > &x, View1 y) | |
Constructor for rewriting p during cloning. More... | |
![]() | |
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 | |
bool | shared |
Whether the any views share a variable implementation. More... | |
GLBndSet | unionOfDets |
Union of the determined ![]() | |
![]() | |
ViewArray< View0 > | x |
Array of views. More... | |
View1 | y |
Single view. More... | |
Propagator for nary partition
Requires
|
inlineprotected |
Constructor for cloning p.
Definition at line 70 of file partition.hpp.
|
inlineprotected |
Constructor for posting.
Definition at line 53 of file partition.hpp.
|
inlineprotected |
Constructor for posting.
Definition at line 60 of file partition.hpp.
|
virtual |
Copy propagator during cloning.
Implements Gecode::Actor.
Definition at line 78 of file partition.hpp.
|
virtual |
|
virtual |
Cost function (defined as low linear)
Reimplemented from Gecode::MixNaryOnePropagator< View0, PC_SET_ANY, View1, PC_SET_ANY >.
Definition at line 105 of file partition.hpp.
|
static |
Post propagator .
Definition at line 83 of file partition.hpp.
|
static |
Post propagator .
Definition at line 98 of file partition.hpp.
|
protected |
|
protected |