Domain consistent power propagator. More...
#include <arithmetic.hh>
Public Member Functions | |
virtual Actor * | copy (Space &home, bool share) |
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. 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, IntView x0, IntView x1, Ops ops) |
Post propagator. More... | |
![]() | |
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 | |
PowDom (Space &home, bool share, PowDom< Ops > &p) | |
Constructor for cloning p. More... | |
PowDom (Home home, IntView x0, IntView x1, const Ops &ops) | |
Constructor for posting. More... | |
![]() | |
BinaryPropagator (Space &home, bool share, BinaryPropagator &p) | |
Constructor for cloning p. More... | |
BinaryPropagator (Home home, IntViewx0, IntViewx1) | |
Constructor for creation. More... | |
BinaryPropagator (Space &home, bool share, Propagator &p, IntViewx0, IntViewx1) | |
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 | |
Ops | ops |
Operations. More... | |
![]() | |
IntView | x0 |
Two views. More... | |
IntView | x1 |
Domain consistent power propagator.
Requires
Definition at line 456 of file arithmetic.hh.
|
inlineprotected |
|
inlineprotected |
|
virtual |
|
virtual |
|
virtual |
Cost function.
If a view has been assigned, the cost is low unary. If in stage for bounds propagation, the cost is low binary. Otherwise it is high binary.
Reimplemented from Gecode::BinaryPropagator< IntView, PC_INT_DOM >.
|
inlinestatic |
|
protected |
Operations.
Definition at line 461 of file arithmetic.hh.