This document is archived and information here might be outdated.  Recommended version.


ISMRouter.ReorderStops Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > DataSourcesFile > ESRI.ArcGIS.DataSourcesFile > Interfaces > IS > ISMRouter Interface > ISMRouter.ReorderStops Method
ArcGIS Developer Help

ISMRouter.ReorderStops Method

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*

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Description

Solves the TSP and repositions the stops collection, that is passed in, according to task solution.

See Also

ISMRouter Interface