Generated on Thu Apr 11 13:59:52 2019 for Gecode by doxygen 1.6.3

Gecode::Float::Arithmetic::Sqrt< A, B > Class Template Reference
[Float propagators]

Propagator for bounds consistent square root operator More...

#include <arithmetic.hh>

List of all members.

Public Member Functions

virtual Actorcopy (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, A x0, B x1)
 Post propagator for $x_0^2 = x_1$.

Protected Member Functions

 Sqrt (Space &home, Sqrt &p)
 Constructor for cloning p.
 Sqrt (Home home, A x0, B x1)
 Constructor for creation.

Detailed Description

template<class A, class B>
class Gecode::Float::Arithmetic::Sqrt< A, B >

Propagator for bounds consistent square root operator

The types A and B give the types of the views.

Requires

Definition at line 109 of file arithmetic.hh.


Constructor & Destructor Documentation

template<class A , class B >
Gecode::Float::Arithmetic::Sqrt< A, B >::Sqrt ( Space home,
Sqrt< A, B > &  p 
) [inline, protected]

Constructor for cloning p.

Definition at line 186 of file sqr-sqrt.hpp.

template<class A , class B >
Gecode::Float::Arithmetic::Sqrt< A, B >::Sqrt ( Home  home,
x0,
x1 
) [inline, protected]

Constructor for creation.

Definition at line 165 of file sqr-sqrt.hpp.


Member Function Documentation

template<class A , class B >
Actor * Gecode::Float::Arithmetic::Sqrt< A, B >::copy ( Space home  )  [inline, virtual]

Create copy during cloning.

Implements Gecode::Actor.

Definition at line 191 of file sqr-sqrt.hpp.

template<class A , class B >
ExecStatus Gecode::Float::Arithmetic::Sqrt< A, B >::propagate ( Space home,
const ModEventDelta med 
) [inline, virtual]

Perform propagation.

Implements Gecode::Propagator.

Definition at line 197 of file sqr-sqrt.hpp.

template<class A , class B >
ExecStatus Gecode::Float::Arithmetic::Sqrt< A, B >::post ( Home  home,
x0,
x1 
) [inline, static]

Post propagator for $x_0^2 = x_1$.

Definition at line 170 of file sqr-sqrt.hpp.


The documentation for this class was generated from the following files: