Generated on Fri Oct 19 11:25:57 2018 for Gecode by doxygen 1.6.3

Gecode::Float::Arithmetic::Sqr< View > Class Template Reference
[Float propagators]

Propagator for bounds consistent square 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, View x0, View x1)
 Post propagator for $x_0^2 = x_1$.

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

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]

Create copy during cloning.

Implements Gecode::Actor.

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

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

Perform propagation.

Implements Gecode::Propagator.

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

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

Post propagator for $x_0^2 = x_1$.

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


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