Interface PtRoutingModule
- All Known Implementing Classes:
AgentPtRoutingModule
public interface PtRoutingModule
Interface to access public transport routing functionalities for agents.
-
Method Summary
Modifier and TypeMethodDescriptioncalculateRoute
(long requestTime, GeoPoint origin, GeoPoint destination, PtRoutingParameters routingParameters) Calculates a public transport route from the provided origin to the provided destination position.
-
Method Details
-
calculateRoute
PtRoutingResponse calculateRoute(long requestTime, GeoPoint origin, GeoPoint destination, PtRoutingParameters routingParameters) Calculates a public transport route from the provided origin to the provided destination position.- Parameters:
requestTime
- The time at which the public transport route should begin earliest.origin
- The destination position of the required route.destination
- The destination position of the required route.routingParameters
- Properties defining the way routes are calculated (e.g. number of routes, weighting).- Returns:
- The response including a public transport route towards the target.
-