Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

5 Multimodal Journey Planning

We now consider journey planning in a multimodal scenario. Here, the general problem is to compute journeys that reasonably combine different modes of transportation by a holistic algorithmic approach. That is, not only does an algorithm consider each mode of transportation in isolation, but it also optimizes the choice (and sequence) of transportation modes in some integrated way. Transportation modes that are typically considered include (unrestricted) walking, (unrestricted) car travel, (local and longdistance) public transit, flight networks, and rental bicycle schemes. We emphasize that our definition of “multimodal” requires some diversity from the transportation modes, i. e., both unrestricted and schedule-based variants should be considered by the algorithm. For example, journeys that only use buses, trams, or trains are not truly multimodal (according to our definition), since these transportation modes can be represented as a single public transit schedule and dealt with by algorithms from Section 4. In fact, considering modal transfers explicitly by the algorithm is crucial in practice, since the solutions it computes must be feasible, excluding sequences of transportation modes that are impossible for the user to take (such as a private car between train rides). Ideally, even user preferences should be respected. For example, some users may prefer taxis over public transit at certain parts of the journey, while others may not.

A general approach to obtain a multimodal network is to first build an individual graph for each transportation mode, then merge them into a single multimodal graph with link arcs (or vertices) added to enable modal transfers [89,210,257]. Typical examples [89,210] model car travel and walking as time-independent (static) graphs, public transit networks using the realistic time-dependent model [219], and flight networks using a dedicated flight model [91]. Beyond that, Kirchler et al. [169,170] compute multimodal journeys in which car travel is modeled as a time-dependent network in order to incorporate historic data on rush hours and traffic congestion (see Section 2.7 for details).

Overview. The remainder of this section discusses three different approaches to the multimodal problem. The first (Section 5.1) considers a combined cost function of travel time with some penalties to account for modal transfers. The second approach (Section 5.2) uses the labelconstrained shortest path problem to obtain journeys that explicitly include (or exclude) certain sequences of transportation modes. The final approach (Section 5.3) computes Pareto sets of multimodal journeys using a carefully chosen set of optimization criteria that aims to provide diverse (regarding the transportation modes) alternative journeys.

5.1 Combining Costs

To aim for journeys that reasonably combine different transport modes, one may use penalties in the objective function of the algorithm. These penalties are often considered as a linear combination with the primary optimization goal (typically travel time). Examples for this approach include Aifadopoulou et al. [10], who present a linear program that computes multimodal journeys. The TRANSIT algorithm [14] also uses a linear utility function and incorporates travel time, ticket cost, and “inconvenience” of transfers. Finally, Modesti and Sciomachen [195] consider a combined network of unrestricted walking, unrestricted car travel, and public transit, in which journeys are optimized according to a linear combination of several criteria, such as cost and travel time. Moreover, their utility function incorporates user preferences on the transportation modes.

5.2 Label-Constrained Shortest Paths

The label-constrained shortest paths [21] approach computes journeys that explicitly obey certain constraints on the modes of transportation. It defines an alphabet Σ of modes of transportation and labels each arc of the graph by the appropriate symbol from Σ. Then, given a language L over Σ as additional input to the query, any journey (path) must obey the constraints imposed by the language L, i. e., the concatenation of the labels along the path must satisfy L. The problem of computing shortest label-constrained paths is tractable for regular languages [21], which suffice to model reasonable transport mode constraints in multimodal journey planning [18,20]. Even restricted classes of regular languages can be useful, such as those that impose a hierarchy of transport modes [50,89,169,170, 210,257] or Kleene languages that can only globally exclude (and include) certain transport modes [140].

Barrett et al. [21] have proven that the label-constrained shortest path problem is solvable in deterministic polynomial time. The corresponding algorithm, called label-constrained shortest path problem Dijkstra (LCSPPD), first builds a product network G of the input (the multimodal graph) and the (possibly nondeterministic) finite automaton that accepts the regular language L. For given source and target vertices s, t (referring to the original input), the algorithm determines origin and destination sets of product vertices from G, containing those product vertices that refer to s / t and an initial/final state of the automaton. Dijkstra’s algorithm is then run on G between these two sets of product vertices. In a follow-up experimental study, Barrett et al. [20] evaluate this algorithm using linear regular languages, a special case.

Basic speedup techniques, such as bidirectional search [67], A* [156], and heuristic A* [237] have been evaluated in the context of multimodal journey planning in [159] and [19]. Also, Pajor [210] combines the LCSPPD algorithm with time-dependent Dijkstra [65] to compute multimodal journeys that contain a time-dependent subnetwork. He also adapts and analyzes bidirectional search [67], ALT [148], Arc Flags [157, 178], and shortcuts [249] with respect to LCSPP.

Access-Node Routing. The Access-Node Routing (ANR) [89] algorithm is a speedup technique for the label-constrained shortest path problem (LCSPP). It handles hierarchical languages, which allow constraints such as restricting walking and car travel to the beginning and end of the journey. It works similarly to Transit Node Routing [28–30,224] and precomputes for each vertex u of the road (walking and car) network its relevant set of entry (and exit) points ( access nodes) to the public transit and flight networks. More precisely, for any shortest path P originating from vertex u (of the road network) that also uses the public transit network, the first vertex v of the public transit network on P must be an access node of u. The query may skip over the road network by running a multi-source multi-target algorithm on the (much smaller) transit network between the access nodes of s and t, returning the journey with earliest combined arrival time.

The Core-Based ANR [89] method further reduces preprocessing space and time by combining ANR with contraction. As in Core-ALT [40,88], it precomputes access nodes only for road vertices in a much smaller core (overlay) graph. The query algorithm first (quickly) determines the relevant core vertices of s and t (i. e., those covering the branches of the shortest path trees rooted at s and t), then runs a multi-source multi-target ANR query between them.

Access-Node Routing has been evaluated on multimodal networks of intercontinental size that include walking, car travel, public transit, and flights. Queries run in milliseconds, but preprocessing time strongly depends on the density of the public transit and flight networks [89]. Moreover, since the regular language is used during preprocessing, it can no longer be specified at query time without loss of optimality.

State-Dependent ALT. Another multimodal speedup technique for LCSPP is State-Dependent ALT (SDALT) [170]. It augments the ALT algorithm [148] to overcome the fact that lower bounds from a vertex u may depend strongly on the current state q of the automaton (expressing the regular language) with which u is scanned. SDALT thus uses the automaton to precompute state-dependent distances, providing lower bound values per vertex and state. For even better query performance, SDALT can be extended to use more aggressive (and potentially incorrect) bounds to guide the search toward the target, relying on a label-correcting algorithm (which may scan vertices multiple times) to preserve correctness [169]. SDALT has been evaluated [169,170] on a realistic multimodal network covering the Île-de-France area (containing Paris) incorporating rental and private bicycles, public transit, walking, and a time-dependent road network for car travel. The resulting speedups are close to 30. Note that SDALT, like ANR, also predetermines the regular language constraints during preprocessing.

Contraction Hierarchies. Finally, Dibbelt et al. [106] have adapted Contraction Hierarchies [142] to LCSPP, handling arbitrary mode sequence constraints. The resulting User-Constrained Contraction Hierarchies (UCCH) algorithm works by (independently) only contracting vertices whose incident arcs belong to the same modal subnetwork. All other vertices are kept uncontracted. The query algorithm runs in two phases. The first runs a regular CH query in the subnetworks given as initial or final transport modes of the sequence constraints until the uncontracted core graph is reached. Between these entry and exit vertices, the second phase then runs a regular LCSPP-Dijkstra restricted to the (much smaller) core graph. Query performance of UCCH is comparable to Access-Node Routing, but with significantly less preprocessing time and space. Also, in contrast to ANR, UCCH also handles arbitrary mode sequence constraints at query time.

5.3 Multicriteria Optimization

While label constraints are useful to define feasible journeys, computing the (single) shortest label-constrained path has two important drawbacks. First, in order to define the constraints, users must know the characteristics of the particular transportation network; second, alternative journeys that combine the available transportation modes differently are not computed. To obtain a set of diverse alternatives, multicriteria optimization has been considered.

The criteria optimized by these methods usually include arrival time and, for each mode of transportation, some mode-dependent optimization criterion [23,73]. The resulting Pareto sets will thus contain journeys with different usage of the available transportation modes, from which users can choose their favorites.

Delling et al. [73] consider networks of metropolitan scale and use the following criteria as proxies for “convenience”: number of transfers in public transit, walking duration for the pedestrian network, and monetary cost for taxis. They observe that simply applying the MLS algorithm [155,187,196,243] to a comprehensive multimodal graph turns out to be slow, even when partial contraction is applied to the road and pedestrian networks, as in UCCH [106]. To get better query performance, they extend RAPTOR [92] to the multimodal scenario, which results in the multimodal multicriteria RAPTOR algorithm (MCR) [73]. Like RAPTOR, MCR operates in rounds (one per transfer) and computes Pareto sets of optimal journeys with exactly i transfers in round i. It does so by running, in each round, a dedicated subalgorithm (RAPTOR for public transit; MLS for walking and taxi) which obtains journeys with the respective transport mode as their last leg.

Since with increasing number of optimization criteria the resulting Pareto sets tend to get very large, Delling et al. identify the most significant journeys in a quick postprocessing step by a scoring method based on fuzzy logic [258]. For faster queries, MCR-based heuristics (which relax domination during the algorithm) successfully find the most significant journeys while avoiding the computation of insignificant ones in the first place.

Bast et al. [23] use MLS with contraction to compute multimodal multicriteria journeys at a metropolitan scale. To identify the significant journeys of the Pareto set, they propose a method called Types aNd Thresholds (TNT). The method is based on a set of simple axioms that summarize what most users would consider as unreasonable multimodal paths. For example, if one is willing to take the car for a large fraction of the trip, one might as well take it for the whole trip. Three types of reasonable trips are deduced from the axioms: (1) only car, (2) arbitrarily much transit and walking with no car, and (3) arbitrarily much transit with little or no walking and car. With a concrete threshold for “little” (such as 10 minutes), the rules can then be applied to filter the reasonable journeys. As in [73], filtering can be applied during the algorithm to prune the search space and reduce query time. The resulting sets are fairly robust with respect to the choice of threshold.