Generated on Thu Apr 5 2018 19:44:19 for Gecode by doxygen 1.8.13
Gecode::Int::Arithmetic::ValuesMapPow< Ops > Class Template Reference

Mapping integer to power. More...

#include <pow.hpp>

Public Member Functions

 ValuesMapPow (const Ops &o)
 Initialize with operations o. More...
 
int val (int x) const
 Perform mapping. More...
 

Protected Attributes

Ops ops
 Operations. More...
 

Detailed Description

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

Mapping integer to power.

Definition at line 257 of file pow.hpp.

Constructor & Destructor Documentation

◆ ValuesMapPow()

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

Initialize with operations o.

Definition at line 263 of file pow.hpp.

Member Function Documentation

◆ val()

template<class Ops>
int Gecode::Int::Arithmetic::ValuesMapPow< Ops >::val ( int  x) const
inline

Perform mapping.

Definition at line 265 of file pow.hpp.

Member Data Documentation

◆ ops

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

Operations.

Definition at line 260 of file pow.hpp.


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