Description Usage Arguments Details Value Examples
primPath
Given a starting node, creates the minimum spanning tree path through a point configuration.
1 |
A |
the distance matrix for which the minimum spanning tree path will be created |
start |
the starting node for the path |
Given a starting node, compute Prim's algorithm, resulting in the path taken to construct the minimum spanning tree.
return a 2x(n-1) matrix, where row 1 contains the parent nodes of the MST path, and row 2 contains the corresponding child nodes.
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.