- All Superinterfaces:
Serializable
- All Known Subinterfaces:
RandomNumberGenerator1D
- All Known Implementing Classes:
AcceptanceRejectionRandomNumberGenerator
,HaltonSequence
,HighEntropyRandomNumberGenerator
,MersenneTwister
,SobolSequence
,SobolSequence1D
,VanDerCorputSequence
Interface for an n-dimensional random number generator
generating a sequence of vectors sampling the space [0,1]^{n}
- Version:
- 1.0
- Author:
- Christian Fries
-
Method Summary
Modifier and TypeMethodDescriptionint
Get the sample vector dimension.double[]
getNext()
Get the next sample vector of dimension n, where n isgetDimension
.
-
Method Details
-
getNext
double[] getNext()Get the next sample vector of dimension n, where n isgetDimension
. An implementation has to be thread safe.- Returns:
- The next sample vector of dimension n, where n is
getDimension
.
-
getDimension
int getDimension()Get the sample vector dimension.- Returns:
- The sample vector dimension n.
-