arrival_generator
Class EXP_AND_UNI_AG

java.lang.Object
  extended by arrival_generator.ArrivalGenerator
      extended by 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

Field Summary
 
Fields inherited from class arrival_generator.ArrivalGenerator
description
 
Constructor Summary
EXP_AND_UNI_AG(JobClass jobClass, Mapper mapper)
           
 
Method Summary
 long[] getNextJobInfo()
          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
 ProbabilityDist getVariationDistribution()
           
 void setVariationDistribution(ProbabilityDist variationDistribution)
           
 
Methods inherited from class arrival_generator.ArrivalGenerator
getDescription, setDescription
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EXP_AND_UNI_AG

public EXP_AND_UNI_AG(JobClass jobClass,
                      Mapper mapper)
Method Detail

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