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


ISMRouter.ReorderStops Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (DataSourcesFile)  

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,
  ISMStopsCollection** pIResStops
);
[C++]

Parameters pISrcStops [in]
pISrcStops is a parameter of type ISMStopsCollection pIResStops [out, retval]
pIResStops 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