|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.graphstream.algorithm.measure.ChartMeasure
org.graphstream.algorithm.measure.ChartSeriesMeasure
org.graphstream.algorithm.measure.ChartSeries1DMeasure
public class ChartSeries1DMeasure
A measure to add 1D entries (y). x is auto-incremented by one at each new value.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.graphstream.algorithm.measure.ChartMeasure |
|---|
ChartMeasure.PlotException, ChartMeasure.PlotOutputType, ChartMeasure.PlotParameters, ChartMeasure.PlotType |
| Field Summary |
|---|
| Fields inherited from class org.graphstream.algorithm.measure.ChartSeriesMeasure |
|---|
DEFAULT_WINDOW_SIZE |
| Constructor Summary | |
|---|---|
ChartSeries1DMeasure(String name)
Default constructor. |
|
| Method Summary | |
|---|---|
void |
addValue(double v)
Add a new value to the series. |
long |
getCount()
Get the count of values that have been added to this series. |
double |
getMax()
Get the max of the series. |
double |
getMean()
Get the mean of the series. |
double |
getMin()
Get the min of the series. |
double |
getVariance()
Get the variance of the series. |
void |
setWindowSize(int size)
|
| Methods inherited from class org.graphstream.algorithm.measure.ChartSeriesMeasure |
|---|
createChart, getDefaultPlotParameters, getXYSeries, plot |
| Methods inherited from class org.graphstream.algorithm.measure.ChartMeasure |
|---|
outputPlot, outputPlot, plot |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ChartSeries1DMeasure(String name)
name - name of this measure| Method Detail |
|---|
public void setWindowSize(int size)
setWindowSize in class ChartSeriesMeasurepublic void addValue(double v)
v - the new valuepublic long getCount()
public double getMean()
public double getMax()
public double getMin()
public double getVariance()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||