Gecode::Int::Arithmetic::SqrPlusBnd< VA, VB > Class Template Reference
Bounds consistent positive square propagator. More...
#include <arithmetic.hh>
Public Member Functions | |
| 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, VA x0, VB x1) |
Post propagator . | |
Protected Member Functions | |
| SqrPlusBnd (Home home, VA x0, VB x1) | |
| Constructor for posting. | |
| SqrPlusBnd (Space &home, bool share, SqrPlusBnd< VA, VB > &p) | |
| Constructor for cloning p. | |
Detailed Description
template<class VA, class VB>
class Gecode::Int::Arithmetic::SqrPlusBnd< VA, VB >
Bounds consistent positive square propagator.
This propagator provides multiplication for positive views only.
Definition at line 252 of file arithmetic.hh.
Constructor & Destructor Documentation
template<class VA , class VB >
| Gecode::Int::Arithmetic::SqrPlusBnd< VA, VB >::SqrPlusBnd | ( | Home | home, | |
| VA | x0, | |||
| VB | x1 | |||
| ) | [inline, protected] |
template<class VA , class VB >
| Gecode::Int::Arithmetic::SqrPlusBnd< VA, VB >::SqrPlusBnd | ( | Space & | home, | |
| bool | share, | |||
| SqrPlusBnd< VA, VB > & | p | |||
| ) | [inline, protected] |
Member Function Documentation
template<class VA , class VB >
| ExecStatus Gecode::Int::Arithmetic::SqrPlusBnd< VA, VB >::post | ( | Home | home, | |
| VA | x0, | |||
| VB | x1 | |||
| ) | [inline, static] |
template<class VA , class VB >
| Actor * Gecode::Int::Arithmetic::SqrPlusBnd< VA, VB >::copy | ( | Space & | home, | |
| bool | share | |||
| ) | [inline, virtual] |
template<class VA , class VB >
| ExecStatus Gecode::Int::Arithmetic::SqrPlusBnd< VA, VB >::propagate | ( | Space & | home, | |
| const ModEventDelta & | med | |||
| ) | [inline, virtual] |
The documentation for this class was generated from the following files:
- gecode/int/arithmetic.hh (Revision: 10021)
- gecode/int/arithmetic/sqr.hpp (Revision: 12253)

.