public class MovingMedianStat extends AbstractMovingStat
Constructor and Description |
---|
MovingMedianStat() |
Modifier and Type | Method and Description |
---|---|
protected void |
addMovingStatForPeriod(org.jfree.data.xy.XYSeries result,
double x)
Add the moving statistic to the resulting XYSeries
|
protected void |
calculateMovingStatInPeriod(double xx,
double yy)
Calculate the current moving statistic with a new point
|
void |
resetMovingStat()
Reset the movinf statistic just before calculating a new one
|
calculateMovingStat
public void resetMovingStat()
AbstractMovingStat
resetMovingStat
in class AbstractMovingStat
protected void calculateMovingStatInPeriod(double xx, double yy)
AbstractMovingStat
calculateMovingStatInPeriod
in class AbstractMovingStat
xx
- x value of the pointyy
- Y value of the pointprotected void addMovingStatForPeriod(org.jfree.data.xy.XYSeries result, double x)
AbstractMovingStat
addMovingStatForPeriod
in class AbstractMovingStat
result
- Resulting XYSeriesx
- X value where to add the moving statisticCopyright © 2016–2017 CLIF project. All rights reserved.