Given a set of directed paths (called lines) L, a public transportation network is a directed graph GL = (VL,AL) which contains exactly the vertices and arcs of every line l Ε L. An st-route is a pair (π, γ) where γ = 〈l1, …, lh〉 is a line sequence and π is an st-path in GL which is the concatenation of subpaths of the lines l1, …, lh, in this order. Given a threshold β, we present an algorithm for listing all st-paths π for which a route (π, γ) with |γ| ≤ β exists, and we show that the running time of this algorithm is polynomial with respect to the input and the output size. We also present an algorithm for listing all line sequences γ with |γ| ≤ β for which a route (π, γ) exists, and show how to speed it up using preprocessing. Moreover, we show that for the problem of finding an st-route (π, γ) that minimizes the number of different lines in γ, even computing an o(log |V |)-approximation is NP-hard.
CITATION STYLE
Böhmová, K., Mihalák, M., Pröger, T., Sacomoto, G., & Sagot, M. F. (2016). Computing and listing st-paths in public transportation networks. In Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics) (Vol. 9691, pp. 102–116). Springer Verlag. https://doi.org/10.1007/978-3-319-34171-2_8
Mendeley helps you to discover research relevant for your work.