Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 9d63760

Browse files
Update README.md
1 parent c3623a3 commit 9d63760

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Kruskal's Algorithm Minimum Spanning Tree (Graph MST)
22

33
Java Implementation of Kruskal's Algorithm using **disjoing sets**
4-
**Kruskal's algorithm:** Start with T = ∅. Consider edges in ascending order of weight. Insert edge e into T unless doing so would create a cycle
4+
**Kruskal's algorithm:** Start with **T** = ∅. Consider edges in ascending order of weight. Insert edge `e` into **T** unless doing so would create a cycle.
55
- Works on **UN-directed** graphs
66
- **Algorithm still works on edges with identical weight**
77
Edges are sorted by weight first. Depending on the order they are entered into the **edge list** in the **constructor**, you may get different Minimum Spanning Trees (but all still optimal solutions)

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /