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) |
| 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, 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 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, | |
| A | x0, | |||
| B | 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] |
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 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:
- gecode/float/arithmetic.hh
- gecode/float/arithmetic/pow-nroot.hpp
