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

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

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

Protected Member Functions

 NthRoot (Space &home, NthRoot &p)
 Constructor for cloning p.
 NthRoot (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::NthRoot< A, B >

Propagator for bounds consistent nth root operator

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

Requires

Definition at line 193 of file arithmetic.hh.


Constructor & Destructor Documentation

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

Constructor for cloning p.

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

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

Constructor for creation.

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


Member Function Documentation

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

Create copy during cloning.

Implements Gecode::Actor.

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

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

Perform propagation.

Implements Gecode::Propagator.

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

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

Post propagator for $x_0^(1/n) = x_1$.

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


Member Data Documentation

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

Definition at line 197 of file arithmetic.hh.


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