public class WeibullGenerator extends Object implements RandomDataGenerator<Object>
param: alpha shape parameter for the Weibull distribution. param: beta scale parameter for the Weibull distribution.
Constructor and Description |
---|
WeibullGenerator(double alpha,
double beta) |
Modifier and Type | Method and Description |
---|---|
double |
alpha() |
double |
beta() |
WeibullGenerator |
copy()
Returns a copy of the RandomDataGenerator with a new instance of the rng object used in the
class when applicable for non-locking concurrent usage.
|
double |
nextValue()
Returns an i.i.d.
|
void |
setSeed(long seed)
Set random seed.
|
public double alpha()
public double beta()
public WeibullGenerator copy()
RandomDataGenerator
copy
in interface RandomDataGenerator<Object>
public double nextValue()
RandomDataGenerator
nextValue
in interface RandomDataGenerator<Object>
public void setSeed(long seed)
Pseudorandom
setSeed
in interface Pseudorandom