haifa.shopsim.lab
Class AbstractRandomTimeMaker

java.lang.Object
  |
  +--haifa.shopsim.lab.AbstractRandomTimeMaker
All Implemented Interfaces:
RandomTimeMaker
Direct Known Subclasses:
ExpRandomTimeMaker, NormalCV025TimeMaker, ParetoRandomTimeMaker, WeibullHalfRandomTimeMaker

abstract class AbstractRandomTimeMaker
extends java.lang.Object
implements RandomTimeMaker

Supplies the random field for all sub classes. This is a uniform r.v. that is ensured to be set with a different seed in each consecutive instance on the same thread.

Version:
0.60

Field Summary
private static long lastSeed
           
protected  java.util.Random random
           
 
Constructor Summary
protected AbstractRandomTimeMaker()
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 
Methods inherited from interface haifa.shopsim.lab.RandomTimeMaker
getTime
 

Field Detail

random

protected java.util.Random random

lastSeed

private static long lastSeed
Constructor Detail

AbstractRandomTimeMaker

protected AbstractRandomTimeMaker()