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 voiddispose()doublerandom()generates a double value greater than or equal 0.0 and less than 1.0voidsetSeed(Long seed)
-
-
-
Method Detail
-
setSeed
public void setSeed(Long seed)
-
random
public double random()
Description copied from interface:IRandomGeneratorgenerates a double value greater than or equal 0.0 and less than 1.0- Specified by:
randomin interfaceIRandomGenerator- Returns:
-
dispose
public void dispose()
- Specified by:
disposein interfaceIRandomGenerator
-
-