Public Types | Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
ApproxMVBB::RandomGenerators::SplitMix64 Class Reference

#include <RandomGenerators.hpp>

Public Types

using result_type = uint64_t
 

Public Member Functions

uint64_t operator() ()
 
void seed (uint64_t seed)
 
 SplitMix64 (const SplitMix64 &gen)=default
 
 SplitMix64 (SplitMix64 &&gen)=default
 
 SplitMix64 (uint64_t seed)
 

Static Public Member Functions

static constexpr result_type max ()
 
static constexpr result_type min ()
 

Private Attributes

uint64_t x
 

Detailed Description

This is a fixed-increment version of Java 8's SplittableRandom generator See http://dx.doi.org/10.1145/2714064.2660195 and http://docs.oracle.com/javase/8/docs/api/java/util/SplittableRandom.html

It is a very fast generator passing BigCrush, and it can be useful if for some reason you absolutely want 64 bits of state; otherwise, we rather suggest to use a xorshift128+ (for moderately parallel computations) or xorshift1024* (for massively parallel computations) generator.

Definition at line 34 of file RandomGenerators.hpp.

Member Typedef Documentation

Definition at line 47 of file RandomGenerators.hpp.

Constructor & Destructor Documentation

ApproxMVBB::RandomGenerators::SplitMix64::SplitMix64 ( const SplitMix64 gen)
default
ApproxMVBB::RandomGenerators::SplitMix64::SplitMix64 ( SplitMix64 &&  gen)
default
ApproxMVBB::RandomGenerators::SplitMix64::SplitMix64 ( uint64_t  seed)
inline

Definition at line 192 of file RandomGenerators.hpp.

Member Function Documentation

static constexpr result_type ApproxMVBB::RandomGenerators::SplitMix64::max ( )
inlinestatic

Definition at line 49 of file RandomGenerators.hpp.

static constexpr result_type ApproxMVBB::RandomGenerators::SplitMix64::min ( )
inlinestatic

Definition at line 48 of file RandomGenerators.hpp.

uint64_t ApproxMVBB::RandomGenerators::SplitMix64::operator() ( )
inline

Definition at line 196 of file RandomGenerators.hpp.

void ApproxMVBB::RandomGenerators::SplitMix64::seed ( uint64_t  seed)
inline

Definition at line 194 of file RandomGenerators.hpp.

Member Data Documentation

uint64_t ApproxMVBB::RandomGenerators::SplitMix64::x
private

Definition at line 36 of file RandomGenerators.hpp.


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


asr_approx_mvbb
Author(s): Gassner Nikolai
autogenerated on Mon Jun 10 2019 12:38:09