Package org.apache.spark.util.random
Interface Pseudorandom
- All Known Subinterfaces:
RandomDataGenerator<T>,RandomSampler<T,U>
- All Known Implementing Classes:
BernoulliCellSampler,BernoulliSampler,ExponentialGenerator,GammaGenerator,LogNormalGenerator,PoissonGenerator,PoissonSampler,StandardNormalGenerator,UniformGenerator,WeibullGenerator
public interface Pseudorandom
:: DeveloperApi ::
A class with pseudorandom behavior.
-
Method Summary
-
Method Details
-
setSeed
void setSeed(long seed) Set random seed.
-