Domain consistent positive square propagator. More...
#include <arithmetic.hh>
Public Member Functions | |
virtual Actor * | copy (Space &home, bool share) |
Copy propagator during cloning. | |
virtual PropCost | cost (const Space &home, const ModEventDelta &med) const |
Cost function. | |
virtual ExecStatus | propagate (Space &home, const ModEventDelta &med) |
Perform propagation. | |
![]() | |
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, VA x0, VB x1) |
Post propagator ![]() |
Protected Member Functions | |
SqrPlusDom (Home home, VA x0, VB x1) | |
Constructor for posting. | |
SqrPlusDom (Space &home, bool share, SqrPlusDom< VA, VB > &p) | |
Constructor for cloning p. | |
![]() | |
MixBinaryPropagator (Space &home, bool, MixBinaryPropagator &) | |
Constructor for cloning. | |
MixBinaryPropagator (Home home, VA, VB) | |
Constructor for creation. | |
MixBinaryPropagator (Space &home, bool share, Propagator &p, VAx0, VBx1) | |
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 | |
![]() | |
VA | x0 |
View of type View0. | |
VB | x1 |
View of type View1. |
Domain consistent positive square propagator.
This propagator provides multiplication for positive views only.
Definition at line 302 of file arithmetic.hh.
|
inlineprotected |
|
inlineprotected |
|
inlinestatic |
|
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::MixBinaryPropagator< VA, PC_INT_DOM, VB, PC_INT_DOM >.
|
virtual |