public static class ConnectivityMeasure.VertexConnectivityMeasure extends Object implements DynamicAlgorithm
Modifier and Type | Field and Description |
---|---|
protected Graph |
g |
protected Sink |
trigger |
protected int |
vertexConnectivity |
Constructor and Description |
---|
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(Graph graph)
Initialization of the algorithm.
|
void |
terminate()
Terminate the dynamic algorithm.
|
protected int vertexConnectivity
public VertexConnectivityMeasure()
public int getVertexConnectivity()
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(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)
WebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses