Generated on Fri Oct 19 11:26:05 2018 for Gecode by doxygen 1.6.3

Gecode::Int::Arithmetic::ValuesMapNroot< Ops > Class Template Reference

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

#include <pow.hpp>

List of all members.

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

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

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

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: