public class DegreeMeasure extends ChartMinMaxAverageSeriesMeasure implements DynamicAlgorithm
Modifier and Type | Class and Description |
---|---|
private class |
DegreeMeasure.StepTrigger |
ChartMeasure.PlotException, ChartMeasure.PlotOutputType, ChartMeasure.PlotParameters, ChartMeasure.PlotType
Modifier and Type | Field and Description |
---|---|
protected Graph |
g
Graph being used to compute the measure or null.
|
private Sink |
trigger |
max, min, separateMinMaxAxis, title
xData, yData
DEFAULT_WINDOW_SIZE, series
name
Constructor and Description |
---|
DegreeMeasure() |
Modifier and Type | Method and Description |
---|---|
void |
compute()
Run the algorithm.
|
void |
init(Graph graph)
Initialization of the algorithm.
|
void |
terminate()
Terminate the dynamic algorithm.
|
addValue, createChart, getDefaultPlotParameters, isSeparateMinMaxAxis, setSeparateMinMaxAxis, setWindowSize
addValue, getCount, getXMax, getXMean, getXMin, getXVariance, getYMax, getYMean, getYMin, getYVariance
getXYSeries, plot
outputPlot, outputPlot, plot
public DegreeMeasure()
public void terminate()
DynamicAlgorithm
terminate
in interface DynamicAlgorithm
Algorithm.init(org.graphstream.graph.Graph)
public void compute()
Algorithm
Algorithm.init(Graph)
method has to be called
before computing.compute
in interface Algorithm
Algorithm.init(Graph)
public void init(Graph graph)
Algorithm
Algorithm.compute()
method to initialize or reset the algorithm according
to the new given graph.WebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses