|
||||||||||
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.ChartSeries2DMeasure
public class ChartSeries2DMeasure
A measure allowing to add 2D entries (x,y).
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 | |
---|---|
ChartSeries2DMeasure(String name)
Default constructor. |
Method Summary | |
---|---|
void |
addValue(double x,
double y)
Add a new point to the series. |
long |
getCount()
Get the count of points added to this series. |
double |
getXMax()
Get the max of x values. |
double |
getXMean()
Get the mean of x values. |
double |
getXMin()
Get the min of x values. |
double |
getXVariance()
Get the variance of x values. |
double |
getYMax()
Get the max of y values. |
double |
getYMean()
Get the mean of y values. |
double |
getYMin()
Get the min of y values. |
double |
getYVariance()
Get the variance of y values. |
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 ChartSeries2DMeasure(String name)
name
- names of the measureMethod Detail |
---|
public void setWindowSize(int size)
setWindowSize
in class ChartSeriesMeasure
public void addValue(double x, double y)
x
- x value of the new pointy
- y value osf the new pointpublic long getCount()
public double getXMean()
public double getXMax()
public double getXMin()
public double getXVariance()
public double getYMean()
public double getYMax()
public double getYMin()
public double getYVariance()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |