Gecode::Float::Arithmetic::SqrPlus< 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 | |
SqrPlus (Home home, VA x0, VB x1) | |
Constructor for posting. | |
SqrPlus (Space &home, bool share, SqrPlus< VA, VB > &p) | |
Constructor for cloning p. |
Detailed Description
template<class VA, class VB>
class Gecode::Float::Arithmetic::SqrPlus< VA, VB >
Bounds consistent positive square propagator.
This propagator provides multiplication for positive views only.
Definition at line 62 of file arithmetic.hh.
Constructor & Destructor Documentation
template<class VA , class VB >
Gecode::Float::Arithmetic::SqrPlus< VA, VB >::SqrPlus | ( | Home | home, | |
VA | x0, | |||
VB | x1 | |||
) | [inline, protected] |
Constructor for posting.
Definition at line 50 of file sqr-sqrt.hpp.
template<class VA , class VB >
Gecode::Float::Arithmetic::SqrPlus< VA, VB >::SqrPlus | ( | Space & | home, | |
bool | share, | |||
SqrPlus< VA, VB > & | p | |||
) | [inline, protected] |
Constructor for cloning p.
Definition at line 70 of file sqr-sqrt.hpp.
Member Function Documentation
template<class VA , class VB >
ExecStatus Gecode::Float::Arithmetic::SqrPlus< VA, VB >::post | ( | Home | home, | |
VA | x0, | |||
VB | x1 | |||
) | [inline, static] |
Post propagator .
Definition at line 55 of file sqr-sqrt.hpp.
template<class VA , class VB >
Actor * Gecode::Float::Arithmetic::SqrPlus< VA, VB >::copy | ( | Space & | home, | |
bool | share | |||
) | [inline, virtual] |
Copy propagator during cloning.
Implements Gecode::Actor.
Definition at line 75 of file sqr-sqrt.hpp.
template<class VA , class VB >
ExecStatus Gecode::Float::Arithmetic::SqrPlus< VA, VB >::propagate | ( | Space & | home, | |
const ModEventDelta & | med | |||
) | [inline, virtual] |
The documentation for this class was generated from the following files:
- gecode/float/arithmetic.hh (Revision: 15631)
- gecode/float/arithmetic/sqr-sqrt.hpp (Revision: 15631)