History
public class HistoryCollapsingAverage extends HistoryCollapsingDiscard
cursor, history, interval, intervalCount, numCollapseBins, xValues
Constructor | Description |
---|---|
HistoryCollapsingAverage() |
|
HistoryCollapsingAverage(int n) |
Modifier and Type | Method | Description |
---|---|---|
boolean |
addValue(double x,
double y) |
adds data to the history.
|
protected void |
collapseData() |
|
void |
reset() |
Removes entire history, setting all values to NaN.
|
getHistory, getHistoryLength, getNumCollapseBins, getSampleCount, getXValues, setHistoryLength, setNumCollapseBins
willDiscardNextData
public HistoryCollapsingAverage()
public HistoryCollapsingAverage(int n)
public boolean addValue(double x, double y)
addValue
in interface History
addValue
in class HistoryCollapsingDiscard
public void reset()
HistoryCollapsing
reset
in interface History
reset
in class HistoryCollapsing
protected void collapseData()
collapseData
in class HistoryCollapsingDiscard