Uses of Interface
org.planit.route.Route
-
Packages that use Route Package Description org.planit.od.odroute This package holds the origin-destination path objects.org.planit.route PLANit route classes -
-
Uses of Route in org.planit.od.odroute
Methods in org.planit.od.odroute that return Route Modifier and Type Method Description Route
ODRouteIterator. getCurrentValue()
Returns the path in the current cellRoute
ODRouteMatrix. getValue(Zone origin, Zone destination)
Returns the path for a specified origin and destinationRoute
ODRouteIterator. next()
Returns the path in the next cell and increments the current positionMethods in org.planit.od.odroute with parameters of type Route Modifier and Type Method Description void
ODRouteMatrix. setValue(Zone origin, Zone destination, Route path)
Set the path from a specified origin to a specified destinationConstructors in org.planit.od.odroute with parameters of type Route Constructor Description ODRouteIterator(Route[][] matrixContents, Zoning.Zones zones)
Constructor -
Uses of Route in org.planit.route
Classes in org.planit.route that implement Route Modifier and Type Class Description class
RouteImpl
This object creates a route of LinkSegment objects to a specified destination using the vertexPathAndCost object created by the (Dijkstra) Shortest Path Algorithm The path creation makes use of the fact that the origin pair will have a null EdgeSegment, so there is no need to specify the origin.Methods in org.planit.route that return Route Modifier and Type Method Description static Route
Route. createRoute(IdGroupingToken groupId, Centroid destination, Pair<Double,EdgeSegment>[] vertexPathAndCost)
Create the route from an implicit origin to a specified destination, using the vertexPathAndCost array as input coming from a shortest path algorithm output This method makes use of the fact that the origin pair in the vertexPathAndCost array has a null EdgeSegment.
-