In combinatorial optimization, the GomoryâÂÂHu tree of an undirected graph with capacities is a weighted tree that represents the minimum s-t cuts for all s-t pairs in the graph. The GomoryâÂÂHu tree can be constructed in maximum flow computations. It is named for Ralph E. Gomory and T. C. Hu.
Let be an undirected graph with being the capacity of the edge respectively.
Then is said to be a GomoryâÂÂHu tree of , if for each
where
GomoryâÂÂHu Algorithm
Using the submodular property of the capacity function , one has
Then it can be shown that the minimum cut in is also a minimum cut in for any .
To show that for all for some , throughout the algorithm, one makes use of the following lemma,
The lemma can be used again repeatedly to show that the output satisfies the properties of a GomoryâÂÂHu Tree.
The following is a simulation of the GomoryâÂÂHu's algorithm, where
Gusfield's algorithm can be used to find a GomoryâÂÂHu tree without any vertex contraction in the same running time-complexity, which simplifies the implementation of constructing a GomoryâÂÂHu Tree.
Andrew V. Goldberg and K. Tsioutsiouliklis implemented the Gomory-Hu algorithm and Gusfield algorithm, and performed an experimental evaluation and comparison.
Cohen et al. report results on two parallel implementations of Gusfield's algorithm using OpenMP and MPI, respectively.
In planar graphs, the GomoryâÂÂHu tree is dual to the minimum weight cycle basis, in the sense that the cuts of the GomoryâÂÂHu tree are dual to a collection of cycles in the dual graph that form a minimum-weight cycle basis.