|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectbcds.phison.gm.GraphMetricBase<V,E>
bcds.phison.gm.LinkConnectivity<V,E>
public class LinkConnectivity<V,E>
Computes the link connectivity of a topology as a
GraphMetric. This metric represents the smallest
number of edges whose removal results in a disconnected graph. Moreover,
connectivity can also be defined as the smallest number of
edge-distinct paths between any two nodes.
Reference: A. H. Dekker and B. D. Colbert, "Network robustness and graph topology," in Proceedings of the 27th Australasian conference on Computer science - Volume 26, ser. ACSC ’04. Darlinghurst, Australia, Australia: Australian Computer Society, Inc., 2004, pp. 359–368.
| Constructor Summary | |
|---|---|
LinkConnectivity()
Default constructor. |
|
LinkConnectivity(SimGraph<V,E> g,
Environ env)
Creates a new instance and calls setup to complete the initialization. |
|
| Method Summary | |
|---|---|
java.lang.String |
getDescription()
Returns a string describing the metric, for example, article where it has been published, URL where to find reference implementation, etc. |
double |
getGraphMetric()
Returns the link connectivity of the topology. |
java.lang.String |
getLabel()
Returns "Link connectivity". |
boolean |
isApplicableTo(MetricTarget m)
Returns true if m is MetricTarget.GRAPH. |
void |
run()
Computes the link connectivity of a topology using the MaxFlowEK algorithm. |
| Methods inherited from class bcds.phison.gm.GraphMetricBase |
|---|
dump, getEdgeMetric, getEnviron, getEnvParams, getGraph, getGraphMetricStdev, getName, getNodeMetric, setup |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface bcds.phison.gm.GraphMetric |
|---|
dump, getEdgeMetric, getGraphMetricStdev, getNodeMetric, setup |
| Methods inherited from interface bcds.phison.WithEnvParams |
|---|
getEnviron, getEnvParams, getName |
| Constructor Detail |
|---|
public LinkConnectivity()
public LinkConnectivity(SimGraph<V,E> g,
Environ env)
| Method Detail |
|---|
public boolean isApplicableTo(MetricTarget m)
m is MetricTarget.GRAPH.
isApplicableTo in interface GraphMetric<V,E>isApplicableTo in class GraphMetricBase<V,E>public void run()
run in interface GraphMetric<V,E>run in class GraphMetricBase<V,E>public double getGraphMetric()
getGraphMetric in interface GraphMetric<V,E>getGraphMetric in class GraphMetricBase<V,E>public java.lang.String getLabel()
getLabel in interface GraphMetric<V,E>public java.lang.String getDescription()
GraphMetric
getDescription in interface GraphMetric<V,E>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||