This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > DataSourcesFile > ESRI.ArcGIS.DataSourcesFile > Interfaces > IS > ISMRouter Interface > ISMRouter.ReorderStops Method (ArcObjects .NET 10.5 SDK) |
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,
ISMStopsCollection** pIResStops
);
[C++]
Parameters pISrcStops [in]
pISrcStops is a parameter of type ISMStopsCollection pIResStops [out, retval]
pIResStops is a parameter of type ISMStopsCollection
Solves the TSP and repositions the stops collection, that is passed in, according to task solution.