Class 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 Detail

      • Batch

        public Batch()
      • Batch

        public Batch​(double sum,
                     int size)
    • Method Detail

      • addSample

        public void addSample​(double value)
      • getMean

        public double getMean()
      • getSize

        public int getSize()
      • getSum

        public double getSum()