org.eclipse.january.dataset

## Class RunningAverage

- java.lang.Object
- - org.eclipse.january.dataset.RunningAverage

-     public class RunningAverage
      extends Object

  A running mean class

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `RunningAverage(IDataset dataset)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `int` | `getCount()`
    `Dataset` | `getCurrentAverage()`
    `void` | `update(IDataset dataset)` Update average

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### RunningAverage

          public RunningAverage(IDataset dataset)

      Parameters:
        `dataset` -

  - ### Method Detail

    - #### update

          public void update(IDataset dataset)

      Update average
      Parameters:
        `dataset` -

    - #### getCount

          public int getCount()

      Returns:
        count

    - #### getCurrentAverage

          public Dataset getCurrentAverage()

      Returns:
        current average

Copyright © 2017. All rights reserved.