Gecode::Int::Arithmetic::MultPlus< VA, VB, VC > Class Template Reference
#include <arithmetic.hh>
Inherits Gecode::Propagator.
Detailed Description
template<class VA, class VB, class VC>
class Gecode::Int::Arithmetic::MultPlus< VA, VB, VC >
Bounds-consistent positive multiplication propagator.
This propagator provides multiplication for positive views only.
Definition at line 230 of file arithmetic.hh.
Public Member Functions | |
MultPlus (Space *home, VA x0, VB x1, VC x2) | |
Constructor for posting. | |
MultPlus (Space *home, bool share, MultPlus< VA, VB, VC > &p) | |
Constructor for cloning p. | |
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). | |
virtual size_t | dispose (Space *home) |
Delete propagator and return its size. | |
Static Public Member Functions | |
static ExecStatus | post (Space *home, VA x0, VB x1, VC x2) |
Post propagator . | |
Protected Attributes | |
VA | x0 |
VB | x1 |
VC | x2 |
Constructor & Destructor Documentation
|
Constructor for posting.
|
|
Constructor for cloning p.
|
Member Function Documentation
|
Post propagator .
|
|
Copy propagator during cloning.
Implements Gecode::Actor. |
|
Perform propagation.
Implements Gecode::Propagator. |
|
Cost function (defined as PC_TERNARY_HI).
Implements Gecode::Propagator. |
|
Delete propagator and return its size.
Reimplemented from Gecode::Actor. |
Member Data Documentation
|
Definition at line 232 of file arithmetic.hh. |
|
Definition at line 232 of file arithmetic.hh. |
|
Definition at line 232 of file arithmetic.hh. |
The documentation for this class was generated from the following files:
- gecode/int/arithmetic.hh (Revision: 3512)
- gecode/int/arithmetic/mult.icc (Revision: 3512)