Domain consistent square root propagator. More...
#include <arithmetic.hh>
Public Member Functions | |
virtual Actor * | copy (Space &home, bool share) |
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. | |
![]() | |
virtual size_t | dispose (Space &home) |
Delete propagator and return its size. | |
![]() | |
ModEventDelta | modeventdelta (void) const |
Return the modification event delta. | |
virtual ExecStatus | advise (Space &home, Advisor &a, const Delta &d) |
Advise function. | |
double | afc (void) const |
Return the accumlated failure count. |
Static Public Member Functions | |
static ExecStatus | post (Home home, View x0, View x1) |
Post propagator ![]() |
Protected Member Functions | |
SqrtDom (Space &home, bool share, SqrtDom< View > &p) | |
Constructor for cloning p. | |
SqrtDom (Home home, View x0, View x1) | |
Constructor for posting. | |
![]() | |
BinaryPropagator (Space &home, bool share, BinaryPropagator &p) | |
Constructor for cloning p. | |
BinaryPropagator (Home home, View x0, View x1) | |
Constructor for creation. | |
BinaryPropagator (Space &home, bool share, Propagator &p, View x0, View x1) | |
Constructor for rewriting p during cloning. | |
![]() | |
Propagator (Home home) | |
Constructor for posting. | |
Propagator (Space &home, bool share, Propagator &p) | |
Constructor for cloning p. |
Additional Inherited Members | |
![]() | |
View | x0 |
Two views. | |
View | x1 |
Domain consistent square root propagator.
Requires
Definition at line 394 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< View, PC_INT_DOM >.
|
inlinestatic |