Class Batch

java.lang.Object
de.uka.ipd.sdq.statistics.Batch

public class Batch extends Object
A batch, represented by the batch mean. For efficiency reasons, only the number and sum of contained samples will be stored.
  • Constructor Details

    • Batch

      public Batch()
    • Batch

      public Batch(double sum, int size)
  • Method Details

    • addSample

      public void addSample(double value)
    • getMean

      public double getMean()
    • getSize

      public int getSize()
    • getSum

      public double getSum()