arrival_generator
Class EXP_AND_UNI_AG
java.lang.Object
arrival_generator.ArrivalGenerator
arrival_generator.EXP_AND_UNI_AG
public class EXP_AND_UNI_AG
- extends ArrivalGenerator
This class implements uses the exponential and uniform distribution to estimate arrival times and iterations
for a given job class respectively.
- Author:
- Ben Kybartas
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EXP_AND_UNI_AG
public EXP_AND_UNI_AG(JobClass jobClass,
Mapper mapper)
getVariationDistribution
public ProbabilityDist getVariationDistribution()
setVariationDistribution
public void setVariationDistribution(ProbabilityDist variationDistribution)
getNextJobInfo
public long[] getNextJobInfo()
- Description copied from class:
ArrivalGenerator
- Only one method should be used in a new workload scheme, each time it is called it
will return an array which contains the following information in order
JobClassID, Arrival Rate, Iterations
- Specified by:
getNextJobInfo
in class ArrivalGenerator