Generated on Thu Jan 16 2025 00:00:00 for Gecode by doxygen 1.14.0
Gecode::Int::Arithmetic::ValuesMapNroot< Ops > Class Template Reference

Mapping integer (must be an n-th power) to n-th root. More...

#include <pow.hpp>

Public Member Functions

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

Protected Attributes

Ops ops
 Operations.

Detailed Description

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

Mapping integer (must be an n-th power) to n-th root.

Definition at line 268 of file pow.hpp.

Constructor & Destructor Documentation

◆ ValuesMapNroot()

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

Initialize with operations o.

Definition at line 274 of file pow.hpp.

Member Function Documentation

◆ val()

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

Perform mapping.

Definition at line 276 of file pow.hpp.

Member Data Documentation

◆ ops

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

Operations.

Definition at line 271 of file pow.hpp.


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