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 class
DistributedRNG
An implementation ofIRNG
that allows specifying a distribution for all random numbers it produces via aIDistribution.SimpleDistribution
value.class
GWTRNG
An 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.class
MoonwalkRNG
An 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.class
SilkRNG
An 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 likeGWTRNG
but should perform better on recent desktop JVMs.class
TweakRNG
Somewhat 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.