Uses of Class
squidpony.squidmath.AbstractRNG
| Package | Description |
|---|---|
| squidpony.squidmath |
A very broad package containing random number generators, geometry tools, data structures, and noise functions.
|
-
Uses of AbstractRNG in squidpony.squidmath
Subclasses of AbstractRNG in squidpony.squidmath Modifier and Type Class Description classDistributedRNGAn implementation ofIRNGthat allows specifying a distribution for all random numbers it produces via aIDistribution.SimpleDistributionvalue.classGWTRNGAn IRNG implementation that is meant to provide random numbers very quickly when targeting GWT but also to produce the same numbers when used on desktop, Android, or other platforms, and that can have its state read as a StatefulRandomness.classMoonwalkRNGAn IRNG implementation that allows the extra functionality of a StatefulRandomness and a SkippingRandomness, as well as allowing reverse-lookup of the state that produced a long using the staticMoonwalkRNG.inverseNextLong(long)method, and distance checks between two generated numbers with the staticMoonwalkRNG.distance(long, long)method.classSilkRNGAn IStatefulRNG implementation that is meant to provide random numbers very quickly when targeting GWT but also to produce the same numbers when used on desktop, Android, or other platforms, and that can have its state read as a StatefulRandomness; it is thus likeGWTRNGbut should perform better on recent desktop JVMs.classTweakRNGSomewhat experimental RNG that can be configured to smoothly transition between producing mostly values in the center of its range, to producing more values at or near the extremes, as well as favoring high or low results.