Gecode::Int::Arithmetic::DivMod< View > Class Template Reference
[Integer propagators]
Integer division/modulo propagator. More...
#include <arithmetic.hh>
Public Member Functions | |
DivMod (Home home, View x0, View x1, View x2) | |
Constructor for posting. | |
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, View x0, View x1, View x2) |
Post propagator . | |
Protected Member Functions | |
DivMod (Space &home, bool share, DivMod< View > &p) | |
Constructor for cloning p. |
Detailed Description
template<class View>
class Gecode::Int::Arithmetic::DivMod< View >
Integer division/modulo propagator.
This propagator implements the relation between divisor and modulo of an integer division.
Requires
#include <gecode/int/arithmetic.hh>
Definition at line 838 of file arithmetic.hh.
Constructor & Destructor Documentation
template<class View >
Gecode::Int::Arithmetic::DivMod< View >::DivMod | ( | Space & | home, | |
bool | share, | |||
DivMod< View > & | p | |||
) | [inline, protected] |
Constructor for cloning p.
Definition at line 292 of file divmod.hpp.
template<class View >
Gecode::Int::Arithmetic::DivMod< View >::DivMod | ( | Home | home, | |
View | x0, | |||
View | x1, | |||
View | x2 | |||
) | [inline] |
Constructor for posting.
Definition at line 279 of file divmod.hpp.
Member Function Documentation
template<class View >
ExecStatus Gecode::Int::Arithmetic::DivMod< View >::post | ( | Home | home, | |
View | x0, | |||
View | x1, | |||
View | x2 | |||
) | [inline, static] |
Post propagator .
Definition at line 284 of file divmod.hpp.
template<class View >
Actor * Gecode::Int::Arithmetic::DivMod< View >::copy | ( | Space & | home, | |
bool | share | |||
) | [inline, virtual] |
Copy propagator during cloning.
Implements Gecode::Actor.
Definition at line 297 of file divmod.hpp.
template<class View >
ExecStatus Gecode::Int::Arithmetic::DivMod< View >::propagate | ( | Space & | home, | |
const ModEventDelta & | med | |||
) | [inline, virtual] |
The documentation for this class was generated from the following files:
- gecode/int/arithmetic.hh (Revision: 15568)
- gecode/int/arithmetic/divmod.hpp (Revision: 14967)