sdk-routing / com.tomtom.online.sdk.routing.matrix / MatrixRoutesPlan

MatrixRoutesPlan

@Beta(2020, 12) data class MatrixRoutesPlan : Serializable

Result of the Matrix Routing.

Parameters

routes - Map which contains the results of the Matrix Routing. It corresponds to pairs of MatrixRouteKey and MatrixRoute.

totalRoutes - The number of total routes calculated by Matrix Routing.

successfulRoutes - The number of successful routes calculated by Matrix Routing.

Properties

routes

val routes: Map<MatrixRouteKey, MatrixRoute>

Map which contains the results of the Matrix Routing. It corresponds to pairs of MatrixRouteKey and MatrixRoute.

successfulRoutes

val successfulRoutes: Int

The number of successful routes calculated by Matrix Routing.

totalRoutes

val totalRoutes: Int

The number of total routes calculated by Matrix Routing.