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

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

Propagator for bounds consistent pow 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, int n)
 Post propagator for $x_0^n = x_1$.

Protected Member Functions

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

Protected Attributes

int m_n

Detailed Description

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

Propagator for bounds consistent pow operator

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

Requires

Definition at line 165 of file arithmetic.hh.


Constructor & Destructor Documentation

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

Constructor for cloning p.

Definition at line 84 of file pow-nroot.hpp.

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

Constructor for creation.

Definition at line 44 of file pow-nroot.hpp.


Member Function Documentation

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

Create copy during cloning.

Implements Gecode::Actor.

Definition at line 89 of file pow-nroot.hpp.

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

Perform propagation.

Implements Gecode::Propagator.

Definition at line 95 of file pow-nroot.hpp.

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

Post propagator for $x_0^n = x_1$.

Definition at line 49 of file pow-nroot.hpp.


Member Data Documentation

template<class A, class B>
int Gecode::Float::Arithmetic::Pow< A, B >::m_n [protected]

Definition at line 169 of file arithmetic.hh.


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