Gecode::Int::Arithmetic::Square< View > Class Template Reference
[Integer propagators]
#include <arithmetic.hh>
Inherits Gecode::BinaryPropagator< View, PC_INT_BND >.
Detailed Description
template<class View>
class Gecode::Int::Arithmetic::Square< View >
Bounds-consistent square propagator.
Requires
#include "gecode/int/arithmetic.hh"
Definition at line 204 of file arithmetic.hh.
Public Member Functions | |
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_BINARY_HI). | |
Static Public Member Functions | |
static ExecStatus | post (Space *home, View x0, View x1) |
Post propagator . | |
Protected Member Functions | |
Square (Space *home, bool share, Square< View > &p) | |
Constructor for cloning p. | |
Square (Space *home, View x0, View x1) | |
Constructor for posting. |
Constructor & Destructor Documentation
|
Constructor for cloning p.
|
|
Constructor for posting.
|
Member Function Documentation
|
Copy propagator during cloning.
Implements Gecode::Actor. |
|
Perform propagation.
Implements Gecode::Propagator. |
|
Cost function (defined as PC_BINARY_HI).
Reimplemented from Gecode::BinaryPropagator< View, PC_INT_BND >. |
|
Post propagator .
|
The documentation for this class was generated from the following files:
- gecode/int/arithmetic.hh (Revision: 3512)
- gecode/int/arithmetic/mult.icc (Revision: 3512)