Gecode::Float::Arithmetic::Sqr< View > Class Template Reference
[Float propagators]
Propagator for bounds consistent square operator More...
#include <arithmetic.hh>
Public Member Functions | |
| virtual Actor * | copy (Space &home) |
| Create copy during cloning. | |
| virtual ExecStatus | propagate (Space &home, const ModEventDelta &med) |
| Perform propagation. | |
Static Public Member Functions | |
| static ExecStatus | post (Home home, View x0, View x1) |
Post propagator for . | |
Protected Member Functions | |
| Sqr (Space &home, Sqr &p) | |
| Constructor for cloning p. | |
| Sqr (Home home, View x0, View x1) | |
| Constructor for creation. | |
Detailed Description
template<class View>
class Gecode::Float::Arithmetic::Sqr< View >
Propagator for bounds consistent square operator
Requires
#include <gecode/float/arithmetic.hh>
Definition at line 82 of file arithmetic.hh.
Constructor & Destructor Documentation
template<class View >
| Gecode::Float::Arithmetic::Sqr< View >::Sqr | ( | Space & | home, | |
| Sqr< View > & | p | |||
| ) | [inline, protected] |
Constructor for cloning p.
Definition at line 125 of file sqr-sqrt.hpp.
template<class View >
| Gecode::Float::Arithmetic::Sqr< View >::Sqr | ( | Home | home, | |
| View | x0, | |||
| View | x1 | |||
| ) | [inline, protected] |
Constructor for creation.
Definition at line 100 of file sqr-sqrt.hpp.
Member Function Documentation
template<class View >
| Actor * Gecode::Float::Arithmetic::Sqr< View >::copy | ( | Space & | home | ) | [inline, virtual] |
template<class View >
| ExecStatus Gecode::Float::Arithmetic::Sqr< View >::propagate | ( | Space & | home, | |
| const ModEventDelta & | med | |||
| ) | [inline, virtual] |
template<class View >
| ExecStatus Gecode::Float::Arithmetic::Sqr< View >::post | ( | Home | home, | |
| View | x0, | |||
| View | x1 | |||
| ) | [inline, static] |
Post propagator for
.
Definition at line 105 of file sqr-sqrt.hpp.
The documentation for this class was generated from the following files:
- gecode/float/arithmetic.hh
- gecode/float/arithmetic/sqr-sqrt.hpp
