Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Find ¶
Find finds the minimum spanning tree
NOTE to SELF: Kruskal works thanks to the idea that a tree is a connected acyclic graph with exact n-1 edges. Adding one edge to a tree will form a cycle. To avoid cycles, newly added edge must connect to a brand new vertex out of the tree!
NOTE: Find assumes the graph is non-directed even if the representation of the adjacentlist.Graph is directed
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.