Bounds consistent positive division propagator. More...
#include <arithmetic.hh>
Public Member Functions | |
DivPlusBnd (Home home, VA x0, VB x1, VC x2) | |
Constructor for posting. | |
DivPlusBnd (Space &home, bool share, DivPlusBnd< Val, VA, VB, VC > &p) | |
Constructor for cloning p. | |
virtual Actor * | copy (Space &home, bool share) |
Copy propagator during cloning. | |
virtual ExecStatus | propagate (Space &home, const ModEventDelta &med) |
Perform propagation. | |
Static Public Member Functions | |
static ExecStatus | post (Home home, VA x0, VB x1, VC x2) |
Post propagator ![]() |
Bounds consistent positive division propagator.
This propagator provides division for positive views only.
Gecode::Int::Arithmetic::DivPlusBnd::DivPlusBnd | ( | Home | home, |
VA | x0, | ||
VB | x1, | ||
VC | x2 | ||
) | [inline] |
Constructor for posting.
Definition at line 50 of file divmod.hpp.
Gecode::Int::Arithmetic::DivPlusBnd::DivPlusBnd | ( | Space & | home, |
bool | share, | ||
DivPlusBnd< Val, VA, VB, VC > & | p | ||
) | [inline] |
Constructor for cloning p.
Definition at line 57 of file divmod.hpp.
ExecStatus Gecode::Int::Arithmetic::DivPlusBnd::post | ( | Home | home, |
VA | x0, | ||
VB | x1, | ||
VC | x2 | ||
) | [inline, static] |
Post propagator (rounding towards 0)
Definition at line 96 of file divmod.hpp.
Copy propagator during cloning.
Definition at line 64 of file divmod.hpp.
ExecStatus Gecode::Int::Arithmetic::DivPlusBnd::propagate | ( | Space & | home, |
const ModEventDelta & | med | ||
) | [virtual] |
Perform propagation.
Definition at line 71 of file divmod.hpp.