Gecode::Int::Arithmetic::DivPlusBnd< Val, VA, VB, VC, towardsMinInf > Class Template Reference
#include <arithmetic.hh>
Inherits Gecode::MixTernaryPropagator< VA, PC_INT_BND, Gecode::VB< P, b >, PC_INT_BND, VC, PC_INT_BND >.
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 715 of file 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, ModEventDelta med) |
Perform propagation. | |
virtual Reflection::ActorSpec | spec (const Space *home, Reflection::VarMap &m) const |
Specification for this propagator. | |
Static Public Member Functions | |
static ExecStatus | post (Space *home, VA x0, VB x1, VC x2) |
Post propagator (rounding to ). | |
static void | post (Space *home, Reflection::VarMap &vars, const Reflection::ActorSpec &spec) |
Post propagator for specification. | |
static Support::Symbol | ati (void) |
Name of this propagator. |
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>
void Gecode::Int::Arithmetic::DivPlusBnd< Val, VA, VB, VC, towardsMinInf >::post | ( | Space * | home, | |
Reflection::VarMap & | vars, | |||
const Reflection::ActorSpec & | spec | |||
) | [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.icc.
template<class Val, class VA, class VB, class VC, bool towardsMinInf>
ExecStatus Gecode::Int::Arithmetic::DivPlusBnd< Val, VA, VB, VC, towardsMinInf >::propagate | ( | Space * | home, | |
ModEventDelta | med | |||
) | [inline, virtual] |
template<class Val, class VA, class VB, class VC, bool towardsMinInf>
Reflection::ActorSpec Gecode::Int::Arithmetic::DivPlusBnd< Val, VA, VB, VC, towardsMinInf >::spec | ( | const Space * | home, | |
Reflection::VarMap & | m | |||
) | const [inline, virtual] |
Specification for this propagator.
Reimplemented from Gecode::Actor.
Definition at line 193 of file divmod.icc.
template<class Val, class VA, class VB, class VC, bool towardsMinInf>
Support::Symbol Gecode::Int::Arithmetic::DivPlusBnd< Val, VA, VB, VC, towardsMinInf >::ati | ( | void | ) | [inline, static] |
The documentation for this class was generated from the following files:
- gecode/int/arithmetic.hh (Revision: 7352)
- gecode/int/arithmetic/divmod.icc (Revision: 7368)