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. |
Mapping ranges to powers.
Gecode::Int::Arithmetic::RangesMapPow< Ops >::RangesMapPow | ( | const Ops & | o | ) | [inline] |
int Gecode::Int::Arithmetic::RangesMapPow< Ops >::min | ( | int | x | ) | const [inline] |
int Gecode::Int::Arithmetic::RangesMapPow< Ops >::max | ( | int | x | ) | const [inline] |
Ops Gecode::Int::Arithmetic::RangesMapPow< Ops >::ops [protected] |