inbuilt implementation of Gomory-Hu tree. A random graph G(n, p) is a graph in which…
- User
inbuilt implementation of Gomory-Hu tree. A random graph G(n, p) is a graph in which each edge occurs independently with probability p. (a) Prove that G(n, p) for p =5 log n/n is connected with probability at least 1 −1/n Hint: Perform separate analysis for all partitions of size (i, n − i), i ∈ [1,n/2]. (b) Argue that with probability at least 1 −1/n Gomory-Hu tree of G(n, p) for p =Θ(k log n)/n has all edges of weight k or more. c. Perform experimental analysis of the k-edge-connected components in G(n, p) for a large collection of choices for k and p and an appropriately large enough integer n to estimate the following.
• Size of largest k-edge-connected-component, • Number of k-edge-connected components, • Inflation point(s) for probability p, around which the number of k-edge connected components seem to change by large value.
- Assistant
- User
2 Gomory Hu Tree and Random graphs A random graph G(n, p) is a graph in which each edge occurs independently with probability p. (a) Prove that G(n, p) for p = 5 log n n is connected with probability at least 1 − 1 n . [10 marks] Hint: Perform separate analysis for all partitions of size (i, n − i), i ∈ [1, n 2 ]. (b) Argue that with probability at least 1 − 1 n Gomory-Hu tree of G(n, p) for p = Θ(k log n) n has all edges of weight k or more. [10 marks] (c) Perform experimental analysis of the k-edge-connected components in G(n, p) for a large collection of choices for k and p and an appropriately large enough integer n to estimate the following.
• Size of largest k-edge-connected-component, • Number of k-edge-connected components, • Inflation point(s) for probability p, around which the number of k-edge connected components seem to change by large value.
- Assistant
- User
Gomory Hu Tree and Random graphs A random graph G(n, p) is a graph in which each edge occurs independently with probability p. (a) Prove that G(n, p) for p = 5 log n n is connected with probability at least 1 − 1 n . [10 marks] Hint: Perform separate analysis for all partitions of size (i, n − i), i ∈ [1, n 2 ]. (b) Argue that with probability at least 1 − 1 n Gomory-Hu tree of G(n, p) for p = Θ(k log n) n has all edges of weight k or more. [10 marks] (c) Perform experimental analysis of the k-edge-connected components in G(n, p) for a large collection of choices for k and p and an appropriately large enough integer n to estimate the following.
• Size of largest k-edge-connected-component, • Number of k-edge-connected components, • Inflation point(s) for probability p, around which the number of k-edge connected components seem to change by large value. Also provide detailed justification for your observations. [20 marks] Remark You must not publish your code in any public repository. You are free to use any programming language as well as any inbuilt implementation of Gomory-Hu tree. See, for example, here
- Assistant
(a) To prove that G(n, p) for p = 5 log n/n is connected with probability at least 1 - 1/n, we will perform separate analysis for all partitions of size (i, n - i), where i ∈ [1, n/2].
Consider a partition of the vertices into two sets, A and B, where |A| = i and |B| = n - i.
The probability that all the edges between A and B are missing in the random graph is (1-p)^(i*(n-i)), as each edge occurs independently with probability p.
The number of edges between A and B is equal to i*(n-i). If all these edges are missing, then the graph will be disconnected.
So, the probability that the graph is disconnected for this particular partition is (1-p)^(i*(n-i)).