ADS
Algorithms and Data Structures
Loading...
Searching...
No Matches
ADS::SplitMix64 Class Reference

the generator SplitMix64, a UniformRandomBitGenerator More...

#include <ADS/dictionary/RandomHashing.h>

Public types

using result_type = std::uint64_t
 the words generated

Public member functions

constexpr SplitMix64 (std::uint64_t seed=0)
 the generator from the state seed
constexpr std::uint64_t operator() (void)
 the next word, splitmix64() of the state, which then grows by \( \lfloor 2^{64} / \phi \rfloor \)

Static public member functions

static constexpr std::uint64_t min (void)
 the least word, 0
static constexpr std::uint64_t max (void)
 the largest word, \( 2^{64} - 1 \)

Detailed description

the generator SplitMix64, a UniformRandomBitGenerator

Member typedef documentation

◆ result_type

using ADS::SplitMix64::result_type = std::uint64_t

the words generated

Constructor and destructor documentation

◆ SplitMix64()

ADS::SplitMix64::SplitMix64 ( std::uint64_t seed = 0)
inlineexplicitconstexpr

the generator from the state seed

Member function documentation

◆ max()

constexpr std::uint64_t ADS::SplitMix64::max ( void )
inlinestaticconstexpr

the largest word, \( 2^{64} - 1 \)

◆ min()

constexpr std::uint64_t ADS::SplitMix64::min ( void )
inlinestaticconstexpr

the least word, 0

◆ operator()()

std::uint64_t ADS::SplitMix64::operator() ( void )
inlineconstexpr

the next word, splitmix64() of the state, which then grows by \( \lfloor 2^{64} / \phi \rfloor \)


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