Home   >   User Resources   >   Online Help   >   apaGraph.EdgeThinning.Build
 

 

Function index Version 3.0.0

apaGraph.EdgeThinning.Build(Distances, Percent)

Excel=apaGraph.EdgeThinning.Build(Distances, Percent)

Result

Returns an edge list derived from the following thinning algorithm: start with all edges, sort them by distance (largest first), and delete an edge unless the deletion disconnects the graph. 100% returns the full graph with n*(n-1)/2 edges, 0% returns the minimum spanning tree with n-1 edges.

Syntax

Distances: n x n distance matrix

Percent: percentage of edges between the full graph (100%) and the minimum spanning tree (0%)