Gecode::Float::Arithmetic::NthRoot< A, B > Class Template Reference
[Float propagators]
Propagator for bounds consistent nth root operator More...
#include <arithmetic.hh>
Public Member Functions | |
virtual Actor * | copy (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 . | |
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
#include <gecode/float/arithmetic.hh>
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, | |
A | x0, | |||
B | 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] |
template<class A , class B >
ExecStatus Gecode::Float::Arithmetic::NthRoot< A, B >::propagate | ( | Space & | home, | |
const ModEventDelta & | med | |||
) | [inline, virtual] |
template<class A , class B >
ExecStatus Gecode::Float::Arithmetic::NthRoot< A, B >::post | ( | Home | home, | |
A | x0, | |||
B | x1, | |||
int | n | |||
) | [inline, static] |
Post propagator for .
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:
- gecode/float/arithmetic.hh (Revision: 15631)
- gecode/float/arithmetic/pow-nroot.hpp (Revision: 14967)