findcuts: Determine cutpoints in TSP solution object.

Description Usage Arguments Value

View source: R/findcuts.R

Description

Determine cutpoints in TSP solution object.

Usage

1
findcuts(tourData, numCuts, alt)

Arguments

tourData

- TSP solution object, produced by the TSPinterface.R/processConcordeOutput or TSPinterface.R/processLKHOutput function

numCuts

- number of cutpoints to find

alt

- alternate mode, where we instead find the cutpoints that are above a given threshold (specified by the numCuts parameter).

Value

array of cutpoint info, containing: 1. marker index of the marker at the cutpoint 2. starting index of the group 3. ending index of the group 4. size of the group


mckaylab/TSPmap documentation built on Aug. 19, 2021, 8:38 p.m.