Computing and Listing st-Paths in Public Transportation Networks
Given a set of directed paths (called lines ) L , a public transportation network is a directed graph G L = ( V L , A L ) which contains exactly the vertices and arcs of every line l ∈ L . An st -route is a pair ( π , γ ) where γ = 〈 l 1 ,…, l h 〉 is a line sequence and π is an st -path in G L which...
Gespeichert in:
Veröffentlicht in: | Theory of computing systems 2018-04, Vol.62 (3), p.600-621 |
---|---|
Hauptverfasser: | , , , , , |
Format: | Artikel |
Sprache: | eng |
Schlagworte: | |
Online-Zugang: | Volltext |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | Given a set of directed paths (called
lines
)
L
, a
public transportation network
is a directed graph
G
L
= (
V
L
,
A
L
) which contains exactly the vertices and arcs of every line
l
∈
L
. An
st
-route is a pair (
π
,
γ
) where
γ
= 〈
l
1
,…,
l
h
〉 is a line sequence and
π
is an
st
-path in
G
L
which is the concatenation of subpaths of the lines
l
1
,…,
l
h
, 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. |
---|---|
ISSN: | 1432-4350 1433-0490 |
DOI: | 10.1007/s00224-016-9747-4 |