Gecode::Int::Arithmetic::RangesMapPow< Ops > Class Template Reference
Mapping ranges to powers. More...
#include <nroot.hpp>
Public Member Functions | |
RangesMapPow (const Ops &o) | |
Initialize with operations o. | |
int | min (int x) const |
Perform mapping of minimum. | |
int | max (int x) const |
Perform mapping of maximum. | |
Protected Attributes | |
Ops | ops |
Power operations. |
Detailed Description
template<class Ops>
class Gecode::Int::Arithmetic::RangesMapPow< Ops >
Mapping ranges to powers.
Definition at line 251 of file nroot.hpp.
Constructor & Destructor Documentation
template<class Ops>
Gecode::Int::Arithmetic::RangesMapPow< Ops >::RangesMapPow | ( | const Ops & | o | ) | [inline] |
Member Function Documentation
template<class Ops>
int Gecode::Int::Arithmetic::RangesMapPow< Ops >::min | ( | int | x | ) | const [inline] |
template<class Ops>
int Gecode::Int::Arithmetic::RangesMapPow< Ops >::max | ( | int | x | ) | const [inline] |
Member Data Documentation
template<class Ops>
Ops Gecode::Int::Arithmetic::RangesMapPow< Ops >::ops [protected] |
The documentation for this class was generated from the following file:
- gecode/int/arithmetic/nroot.hpp