public static class ConnectivityMeasure.VertexConnectivityMeasure extends Object implements DynamicAlgorithm
| Constructor and Description |
|---|
ConnectivityMeasure.VertexConnectivityMeasure() |
| Modifier and Type | Method and Description |
|---|---|
void |
compute()
Run the algorithm.
|
int |
getVertexConnectivity()
Get the last vertex-connectivity of the registered graph compute in
the last call of
compute(). |
void |
init(org.graphstream.graph.Graph graph)
Initialization of the algorithm.
|
void |
terminate()
Terminate the dynamic algorithm.
|
public ConnectivityMeasure.VertexConnectivityMeasure()
public int getVertexConnectivity()
compute().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.public void terminate()
DynamicAlgorithmterminate in interface DynamicAlgorithmAlgorithm.init(org.graphstream.graph.Graph)Copyright © 2015. All rights reserved.