public static class ConnectivityMeasure.EdgeConnectivityMeasure extends Object implements DynamicAlgorithm
Constructor and Description |
---|
ConnectivityMeasure.EdgeConnectivityMeasure() |
Modifier and Type | Method and Description |
---|---|
void |
compute()
Run the algorithm.
|
int |
getEdgeConnectivity()
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.EdgeConnectivityMeasure()
public int getEdgeConnectivity()
compute()
.public void compute()
Algorithm
Algorithm.init(Graph)
method has to be called
before computing.compute
in interface Algorithm
Algorithm.init(Graph)
public void init(org.graphstream.graph.Graph graph)
Algorithm
Algorithm.compute()
method to initialize or reset the algorithm according
to the new given graph.public void terminate()
DynamicAlgorithm
terminate
in interface DynamicAlgorithm
Algorithm.init(org.graphstream.graph.Graph)
Copyright © 2015. All rights reserved.