This document is archived and information here might be outdated. Recommended version. |
Reorders the stops collection to minimize total driving time or distance.
[Visual Basic .NET] Public Function ReorderStops ( _ ByVal pISrcStops As SMStopsCollection _ ) As SMStopsCollection
[C#] public SMStopsCollection ReorderStops ( SMStopsCollection pISrcStops );
[C++]
HRESULT ReorderStops(
ISMStopsCollection* pISrcStops
);
[C++] Parameters pISrcStops [in]
pISrcStops is a parameter of type ISMStopsCollection*
Solves the TSP and repositions the stops collection, that is passed in, according to task solution.