Generated on Sat Apr 10 2021 00:00:00 for Gecode by doxygen 1.9.1
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 253 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 259 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 261 of file pow.hpp.

Member Data Documentation

◆ ops

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

Operations.

Definition at line 256 of file pow.hpp.


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