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
public SMStopsCollection ReorderStops (
    SMStopsCollection pISrcStops
HRESULT ReorderStops(
  ISMStopsCollection* pISrcStops,
  ISMStopsCollection** pIResStops


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.


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

See Also

ISMRouter Interface