Historypublic 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, setNumCollapseBinswillDiscardNextDatapublic HistoryCollapsingAverage()
public HistoryCollapsingAverage(int n)
public boolean addValue(double x,
double y)
addValue in interface HistoryaddValue in class HistoryCollapsingDiscardpublic void reset()
HistoryCollapsingreset in interface Historyreset in class HistoryCollapsingprotected void collapseData()
collapseData in class HistoryCollapsingDiscard