question archive The edge-connectivity of an undirected graph is the minimum number k of edges that must be removed to disconnect the graph
Subject:Computer SciencePrice:2.86 Bought7
The edge-connectivity of an undirected graph is the minimum number k of edges that must be removed to disconnect the graph. i.e., 1 for a tree, 2 for a cycle. Give an algorithm for determining the edge connectivity of an undirected graph G = (V,E) which runs a max flow algorithm on |V | − 1 different flow networks, each with |V | nodes and |E| edges. What is its running time?
can you help me to give the algorithm and running time with explanation?
Here Is Answer :
In this we know that for any two vertices, let's just say, u and v, in graph G we can define a flow network Guv, consisting of the directed version of G with s =u, t=v and all edge capacities set to 1. (The flow network Guv has V vertices and 2|E| edges, so that it has O(V) vertices and O(E) edges, as required. We want all capacities to be 1 so that the number of edges of G crossing a cut equals the capacity of the cut in Guv).
So the algorithm:
Let fuv denote a maximum flow in Guv. We claim for any u ∈ V the edge connectivity k=minv∈V-{u}{|fuv|}
Assuming that it holds we can find k as follows:
Edge connectivity(G):
K=infinite
select any vertex u∈ G.V
for each vertex v ∈ G.V - {u}
Set up the flow network Guv as described
Find the maximum flow fuv on Guv
k=min(k,|fuv|)
Return k