-
- All Superinterfaces:
Serializable
- All Known Subinterfaces:
RandomNumberGenerator1D
- All Known Implementing Classes:
AcceptanceRejectionRandomNumberGenerator,HaltonSequence,MersenneTwister,SobolSequence,SobolSequence1D,VanDerCorputSequence
public interface RandomNumberGenerator extends Serializable
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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetDimension()Get the sample vector dimension.double[]getNext()Get the next sample vector of dimension n, where n isgetDimension.
-
-
-
Method Detail
-
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.
-
-