Interface RandomAlgorithm
- All Known Implementing Classes:
BaseRandomAlgorithm
,SimpleRandom
public interface RandomAlgorithm
-
Method Summary
Modifier and TypeMethodDescriptiondouble
getBoundedDouble
(double lower, double upper) int
getBoundedInt
(int lower, int upper) double
double
nextGaussian
(double mean, double std) int
nextInt()
int
nextInt
(int n) long
nextLong()
void
resetSeed
(long seed)
-
Method Details
-
nextDouble
double nextDouble() -
nextInt
int nextInt() -
nextInt
int nextInt(int n) -
nextLong
long nextLong() -
getBoundedInt
int getBoundedInt(int lower, int upper) -
getBoundedDouble
double getBoundedDouble(double lower, double upper) -
nextGaussian
double nextGaussian(double mean, double std) -
resetSeed
void resetSeed(long seed)
-