public abstract class ElementCountMeasure extends ChartSeries2DMeasure implements DynamicAlgorithm
| Modifier and Type | Class and Description |
|---|---|
static class |
ElementCountMeasure.EdgeCountMeasure
Measure the count of edges in a graph.
|
static class |
ElementCountMeasure.NodeCountMeasure
Measure the count of nodes in a graph.
|
ChartMeasure.PlotException, ChartMeasure.PlotOutputType, ChartMeasure.PlotParameters, ChartMeasure.PlotTypeDEFAULT_WINDOW_SIZE| Modifier and Type | Method and Description |
|---|---|
void |
compute()
Run the algorithm.
|
abstract double |
getElementCount()
Get the amount of elements.
|
void |
init(org.graphstream.graph.Graph graph)
Initialization of the algorithm.
|
void |
terminate()
Terminate the dynamic algorithm.
|
addValue, getCount, getXMax, getXMean, getXMin, getXVariance, getYMax, getYMean, getYMin, getYVariance, setWindowSizecreateChart, getDefaultPlotParameters, getXYSeries, plotoutputPlot, outputPlot, plotpublic abstract double getElementCount()
public void terminate()
DynamicAlgorithmterminate in interface DynamicAlgorithmAlgorithm.init(org.graphstream.graph.Graph)public void compute()
AlgorithmAlgorithm.init(Graph) method has to be called
before computing.compute in interface AlgorithmAlgorithm.init(Graph)public void init(org.graphstream.graph.Graph graph)
AlgorithmAlgorithm.compute() method to initialize or reset the algorithm according
to the new given graph.Copyright © 2015. All rights reserved.