Gecode::Int::Arithmetic::DivPlusBnd< Val, VA, VB, VC, towardsMinInf > Class Template Reference
Bounds consistent positive division propagator. More...
#include <arithmetic.hh>
Public Member Functions | |
| DivPlusBnd (Space &home, VA x0, VB x1, VC x2) | |
| Constructor for posting. | |
| DivPlusBnd (Space &home, bool share, DivPlusBnd< Val, VA, VB, VC, towardsMinInf > &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 (Space &home, VA x0, VB x1, VC x2) |
Post propagator (rounding to ). | |
Detailed Description
template<class Val, class VA, class VB, class VC, bool towardsMinInf = true>
class Gecode::Int::Arithmetic::DivPlusBnd< Val, VA, VB, VC, towardsMinInf >
Bounds consistent positive division propagator.
This propagator provides division for positive views only.
Definition at line 577 of file arithmetic.hh.
Constructor & Destructor Documentation
template<class Val , class VA , class VB , class VC , bool towardsMinInf>
| Gecode::Int::Arithmetic::DivPlusBnd< Val, VA, VB, VC, towardsMinInf >::DivPlusBnd | ( | Space & | home, | |
| VA | x0, | |||
| VB | x1, | |||
| VC | x2 | |||
| ) | [inline] |
template<class Val , class VA , class VB , class VC , bool towardsMinInf>
| Gecode::Int::Arithmetic::DivPlusBnd< Val, VA, VB, VC, towardsMinInf >::DivPlusBnd | ( | Space & | home, | |
| bool | share, | |||
| DivPlusBnd< Val, VA, VB, VC, towardsMinInf > & | p | |||
| ) | [inline] |
Member Function Documentation
template<class Val , class VA , class VB , class VC , bool towardsMinInf>
| ExecStatus Gecode::Int::Arithmetic::DivPlusBnd< Val, VA, VB, VC, towardsMinInf >::post | ( | Space & | home, | |
| VA | x0, | |||
| VB | x1, | |||
| VC | x2 | |||
| ) | [inline, static] |
template<class Val , class VA , class VB , class VC , bool towardsMinInf>
| Actor * Gecode::Int::Arithmetic::DivPlusBnd< Val, VA, VB, VC, towardsMinInf >::copy | ( | Space & | home, | |
| bool | share | |||
| ) | [inline, virtual] |
Copy propagator during cloning.
Implements Gecode::Actor.
Definition at line 141 of file divmod.hpp.
template<class Val , class VA , class VB , class VC , bool towardsMinInf>
| ExecStatus Gecode::Int::Arithmetic::DivPlusBnd< Val, VA, VB, VC, towardsMinInf >::propagate | ( | Space & | home, | |
| const ModEventDelta & | med | |||
| ) | [inline, virtual] |
The documentation for this class was generated from the following files:
- gecode/int/arithmetic.hh (Revision: 8270)
- gecode/int/arithmetic/divmod.hpp (Revision: 8082)

(rounding to
).