Class DefaultRandomGenerator
- java.lang.Object
-
- de.uka.ipd.sdq.probfunction.math.impl.DefaultRandomGenerator
-
- All Implemented Interfaces:
IRandomGenerator
public class DefaultRandomGenerator extends Object implements IRandomGenerator
-
-
Constructor Summary
Constructors Constructor Description DefaultRandomGenerator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
dispose()
double
random()
generates a double value greater than or equal 0.0 and less than 1.0void
setSeed(Long seed)
-
-
-
Method Detail
-
setSeed
public void setSeed(Long seed)
-
random
public double random()
Description copied from interface:IRandomGenerator
generates a double value greater than or equal 0.0 and less than 1.0- Specified by:
random
in interfaceIRandomGenerator
- Returns:
-
dispose
public void dispose()
- Specified by:
dispose
in interfaceIRandomGenerator
-
-