Propagator for bounds consistent square root operator More...
#include <arithmetic.hh>
Public Member Functions | |
virtual Actor * | copy (Space &home, bool share) |
Create copy during cloning. | |
virtual ExecStatus | propagate (Space &home, const ModEventDelta &med) |
Perform propagation. | |
Static Public Member Functions | |
static ExecStatus | post (Home home, A x0, B x1) |
Post propagator for ![]() | |
Protected Member Functions | |
Sqrt (Space &home, bool share, Sqrt &p) | |
Constructor for cloning p. | |
Sqrt (Home home, A x0, B x1) | |
Constructor for creation. |
Propagator for bounds consistent square root operator
The types A and B give the types of the views.
Requires
#include <gecode/float/arithmetic.hh>
Definition at line 113 of file arithmetic.hh.
Gecode::Float::Arithmetic::Sqrt< A, B >::Sqrt | ( | Space & | home, |
bool | share, | ||
Sqrt< A, B > & | p | ||
) | [inline, protected] |
Constructor for cloning p.
Definition at line 190 of file sqr-sqrt-abs.hpp.
Gecode::Float::Arithmetic::Sqrt< A, B >::Sqrt | ( | Home | home, |
A | x0, | ||
B | x1 | ||
) | [inline, protected] |
Constructor for creation.
Definition at line 169 of file sqr-sqrt-abs.hpp.
Actor * Gecode::Float::Arithmetic::Sqrt< A, B >::copy | ( | Space & | home, |
bool | share | ||
) | [virtual] |
Create copy during cloning.
Implements Gecode::Actor.
Definition at line 195 of file sqr-sqrt-abs.hpp.
ExecStatus Gecode::Float::Arithmetic::Sqrt< A, B >::propagate | ( | Space & | home, |
const ModEventDelta & | med | ||
) | [virtual] |
Perform propagation.
Implements Gecode::Propagator.
Definition at line 201 of file sqr-sqrt-abs.hpp.
ExecStatus Gecode::Float::Arithmetic::Sqrt< A, B >::post | ( | Home | home, |
A | x0, | ||
B | x1 | ||
) | [static] |
Post propagator for .
Definition at line 174 of file sqr-sqrt-abs.hpp.