Generated on Sat Feb 7 2015 02:01:45 for Gecode by doxygen 1.8.9.1
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. More...
 
int min (int x) const
 Perform mapping of minimum. More...
 
int max (int x) const
 Perform mapping of maximum. More...
 

Protected Attributes

Ops ops
 Power operations. More...
 

Detailed Description

template<class Ops>
class Gecode::Int::Arithmetic::RangesMapPow< Ops >

Mapping ranges to powers.

Definition at line 255 of file nroot.hpp.

Constructor & Destructor Documentation

template<class Ops>
Gecode::Int::Arithmetic::RangesMapPow< Ops >::RangesMapPow ( const Ops &  o)
inline

Initialize with operations o.

Definition at line 261 of file nroot.hpp.

Member Function Documentation

template<class Ops>
int Gecode::Int::Arithmetic::RangesMapPow< Ops >::min ( int  x) const
inline

Perform mapping of minimum.

Definition at line 263 of file nroot.hpp.

template<class Ops>
int Gecode::Int::Arithmetic::RangesMapPow< Ops >::max ( int  x) const
inline

Perform mapping of maximum.

Definition at line 267 of file nroot.hpp.

Member Data Documentation

template<class Ops>
Ops Gecode::Int::Arithmetic::RangesMapPow< Ops >::ops
protected

Power operations.

Definition at line 258 of file nroot.hpp.


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