Gecode::Int::Arithmetic::DivBnd< View > Class Template Reference
[Integer propagators]
Bounds consistent division propagator. More...
#include <arithmetic.hh>
Public Member Functions | |
DivBnd (Home home, View x0, View x1, View x2) | |
Constructor for posting. | |
virtual Actor * | copy (Space &home) |
Copy propagator during cloning. | |
virtual ExecStatus | propagate (Space &home, const ModEventDelta &med) |
Perform propagation. | |
Static Public Member Functions | |
static ExecStatus | post (Home home, View x0, View x1, View x2) |
Post propagator (rounding towards 0). | |
Protected Member Functions | |
DivBnd (Space &home, DivBnd< View > &p) | |
Constructor for cloning p. |
Detailed Description
template<class View>
class Gecode::Int::Arithmetic::DivBnd< View >
Bounds consistent division propagator.
Requires
#include <gecode/int/arithmetic.hh>
Definition at line 804 of file arithmetic.hh.
Constructor & Destructor Documentation
template<class View >
Gecode::Int::Arithmetic::DivBnd< View >::DivBnd | ( | Space & | home, | |
DivBnd< View > & | p | |||
) | [inline, protected] |
Constructor for cloning p.
Definition at line 106 of file divmod.hpp.
template<class View >
Gecode::Int::Arithmetic::DivBnd< View >::DivBnd | ( | Home | home, | |
View | x0, | |||
View | x1, | |||
View | x2 | |||
) | [inline] |
Constructor for posting.
Definition at line 101 of file divmod.hpp.
Member Function Documentation
template<class View >
ExecStatus Gecode::Int::Arithmetic::DivBnd< View >::post | ( | Home | home, | |
View | x0, | |||
View | x1, | |||
View | x2 | |||
) | [inline, static] |
Post propagator (rounding towards 0).
Definition at line 234 of file divmod.hpp.
template<class View >
Actor * Gecode::Int::Arithmetic::DivBnd< View >::copy | ( | Space & | home | ) | [inline, virtual] |
Copy propagator during cloning.
Implements Gecode::Actor.
Definition at line 111 of file divmod.hpp.
template<class View >
ExecStatus Gecode::Int::Arithmetic::DivBnd< View >::propagate | ( | Space & | home, | |
const ModEventDelta & | med | |||
) | [inline, virtual] |
The documentation for this class was generated from the following files:
- gecode/int/arithmetic.hh
- gecode/int/arithmetic/divmod.hpp