Generated on Tue Apr 18 10:23:28 2017 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, 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, int n)
 Post propagator for $x_0^(1/n) = x_1$.

Protected Member Functions

 NthRoot (Space &home, bool share, 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 197 of file arithmetic.hh.


Constructor & Destructor Documentation

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

Constructor for cloning p.

Definition at line 147 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 133 of file pow-nroot.hpp.


Member Function Documentation

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

Create copy during cloning.

Implements Gecode::Actor.

Definition at line 152 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 158 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 138 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 201 of file arithmetic.hh.


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