kruskal {mstclustering} | R Documentation |
kruskal
Description
Kruskal's algorithm for MST computation.
Usage
kruskal(edge.list, m)
Arguments
edge.list |
A data frame with columnns 'from', 'to', 'dist'. |
m |
Number of nodes. |
Value
A list of edges in the MST, in the same format as the input argument edge.list.
[Package mstclustering version 1.0.0.0 Index]