Class SplitMix64RandomGenerator

All Implemented Interfaces:
Serializable, RandomGenerator

public class SplitMix64RandomGenerator
extends AbstractRandomGenerator
implements Serializable
A fast, high-quality, non-splittable version of the SplitMix pseudorandom number generator used by SplittableRandom. Due to the fixed increment constant and to different strategies in generating finite ranges, the methods of this generator are usually faster than those of SplittableRandom.

Note that this generator has a relatively short period (264) so it should not be used to generate very long sequences (the rule of thumb to have a period greater than the square of the length of the sequence you want to generate).

See Also:
it.unimi.dsi.util, RandomGenerator, SplitMix64Random, Serialized Form