Skip to content

Commit f384c45

Browse files
committed
first commit
0 parents  commit f384c45

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

README.md

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# MST-ReplacementEdges: Find Minimum Spanning Tree Replacement Edges
2+
3+
Given an undirected, weighted graph, the minimum spanning tree (MST)
4+
is a tree that connects all of the vertices of the graph with minimum
5+
sum of edge weights. In real world applications, network designers
6+
often seek to quickly find a replacement edge for each edge in the
7+
MST. This code finds the lowest cost replacement edge for each edge of
8+
the MST, based on this paper:
9+
10+
David A. Bader and Paul Burkhardt, "[A Linear Time Algorithm for
11+
Finding Minimum Spanning Tree Replacement
12+
Edges](https://arxiv.org/abs/1908.03473)", arXiv:1908.03473v3, 2020.
13+
14+
- MST-ReplacementEdges-Tarjan: This subdirectory contains a superlinear
15+
implementation using the Tarjan approach for disjoint set unions.
16+
17+
- MST-ReplacementEdges-Gabow-Tarjan: This subdirectory implements the
18+
linear-time Bader-Burkhardt algorithm using the Gabow-Tarjan
19+
approach for disjoint set unions when the union tree is known in
20+
advance.
21+
22+
This code can also find the most vital edge -- the tree edge whose
23+
removal causes the highest cost -- in linear time.
24+

0 commit comments

Comments
 (0)