Skip to content

CloudRoutingTspResult

Namespace: ThinkGeo.Core

A class that represents the result of Tsp.

public class CloudRoutingTspResult

Inheritance ObjectCloudRoutingTspResult

Properties

Waypoints

The waypoint object shows the coordinates snapped to the road network.

public Collection<CloudRoutingWaypoint> Waypoints { get; set; }

Property Value

Collection<CloudRoutingWaypoint>

VisitSequences

The visit index of the travel, each item is the index of the coordinates in the input coordinates, the first item must be 0, and the last item value must be 0 too if Roundtrip is true. If the Roundtrip is false, it should be any value between 1 and the last index of the input coordinates.

public Collection<int> VisitSequences { get; set; }

Property Value

Collection<Int32>

Routes

An array of routes, following the optimized visit sequence.

public Collection<CloudRoutingRoute> Routes { get; set; }

Property Value

Collection<CloudRoutingRoute>

Constructors

CloudRoutingTspResult()

public CloudRoutingTspResult()