lib/rgl/prim.rb in rgl-0.5.10 vs lib/rgl/prim.rb in rgl-0.6.0
- old
+ new
@@ -32,9 +32,10 @@
AdjacencyGraph[*@visitor.parents_map.to_a.flatten]
end
end # class PrimAlgorithm
+
module Graph
# Finds the minimum spanning tree of the graph.
#
# Returns an {AdjacencyGraph} that represents the minimum spanning tree of the graph's connectivity component that