Description Usage Arguments Value
This function returns a list of the smallest edge weight between a given cluster and all other clusters. This is used to make the decision to merge clusters when the smallest edge weight is below a given threshold. You will want to re-run the findCuts function after running this method.
1 | shiftTSPsoln(TSPsoln, startIndex)
|
TSPsoln |
- array of markers of a TSP solution |
startIndex |
- StartIndex is the index of the first cutpoint, which we will shift so that it is in position 1. If startIndex is not specified, the default value of 0 will cause the method to shift the solution array so that it ends at the largest rf value (since this is probably the best cutpoint). |
Array of markers in TSP solution order, but shifted to startIndex.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.