Gecode::Int::Arithmetic::Mult< View > Class Template Reference
[Integer propagators]
#include <arithmetic.hh>
Inherits Gecode::TernaryPropagator< View, PC_INT_BND >.
Detailed Description
template<class View>
class Gecode::Int::Arithmetic::Mult< View >
Bounds-consistent multiplication propagator.
Requires
#include "gecode/int/arithmetic.hh"
- Todo:
- Currently this propagator only works for View being IntView. This will change when integer views are available in fully generic form.
Definition at line 262 of file arithmetic.hh.
Public Member Functions | |
Mult (Space *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) |
Perform propagation. | |
virtual PropCost | cost (void) const |
Cost function (defined as PC_TERNARY_HI). | |
Static Public Member Functions | |
static ExecStatus | post (Space *home, View x0, View x1, View x2) |
Post propagator . | |
Protected Member Functions | |
Mult (Space *home, bool share, Mult< View > &p) | |
Constructor for cloning p. |
Constructor & Destructor Documentation
|
Constructor for cloning p.
|
|
Constructor for posting.
|
Member Function Documentation
|
Post propagator .
|
|
Copy propagator during cloning.
Implements Gecode::Actor. |
|
Perform propagation.
Implements Gecode::Propagator. |
|
Cost function (defined as PC_TERNARY_HI).
Reimplemented from Gecode::TernaryPropagator< View, PC_INT_BND >. |
The documentation for this class was generated from the following files:
- gecode/int/arithmetic.hh (Revision: 3512)
- gecode/int/arithmetic/mult.icc (Revision: 3512)