where the user lives or when visiting another city as a
tourist, and therefore do not care about the price.
To solve this kind of problem there are mainly
two types of methods. The first one proceeds by
pre-processing and pre-calculating many solutions for
multiple hours (for example at night) in order to be
able to respond quickly to users. The second calcu-
lates solutions on demand. We can also imagine com-
bining these two types of methods.
The major drawback of preprocessing methods is
that they cannot integrate seamlessly the modifica-
tions that may appear on a network and that inevitably
occur every day. On the other hand, on-demand cal-
culation methods (called search methods) do not have
this problem, but they are too slow at the moment to
be used into a modern journey planning system.
In this paper, we propose to speed-up the response
time by guiding a search method using goal directed
techniques and using a little preprocessing not af-
fected by real-world hazards.
1.2 Proposed Solution
Algorithms that yield fast query times for public tran-
sit routing in large metropolitan networks are numer-
ous, with extensions of Dijkstra’s algorithm (Disser
et al., 2008; M
¨
uller-Hannemann et al., 2007; Pyrga
et al., 2008), graph labeling algorithms (Delling et al.,
2015a; Wang et al., 2015), non graph based algo-
rithms like the Connection Scan Algorithm (CSA)
(Dibbelt et al., 2018) or RAPTOR (Delling et al.,
2015b), preprocessing heavy approaches with Trans-
fer Patterns (Bast et al., 2010; Bast and Storandt,
2014), or with a lighter preprocessing with Trip-
Based Public Transit Routing (Witt, 2015). There
are also extensions to these algorithms to allow
for shorter response times, Trip Based Routing is
made faster with the use of condensed search trees
(Witt, 2016), RAPTOR with the use of hyper graphs
(Delling et al., 2017), CSA with the use of overlay-
graphs (CSAccel) (Strasser and Wagner, 2014) and
Transfer Patterns by reducing the space and time con-
sumption of the preprocessing (Bast et al., 2016b).
Among search based methods the two main ones
are CSA and RAPTOR. CSA based algorithms are
simple, short, easy to implement and have good per-
formances which makes them often used in jour-
ney planning systems (e.g. Instant System on the
Paris metropolitan network, TrainLine on the Euro-
pean train network, ...). In addition, the PRVCSA, the
Pareto range variant of the CSA, seems to be one of
the faster algorithms to solve the Pareto range query
problem as mentioned in multiple well-known articles
(Bast et al., 2016a; Dibbelt et al., 2018). Therefore,
we focus our study on CSA based algorithms.
In CSA, the connections are treated one after the
other, without distinguishing if they are useful or
not for the journey, CSA trades relevance of infor-
mation with simplicity and speed. Adding criteria
to the CSA leads to a performance degradation be-
cause more complex data structures are needed and
with each added criterion the size of the Pareto set in-
creases which decreases even more the performance.
In practice, for a system to be considered interactive it
should respond in less than 1 second. Unfortunately,
the PRVCSA does not have this performance when
more than three criteria are involved.
One way to achieve such a goal for the PRVCSA
is to combine it with goal-directed techniques, that
is to ”guide” the search toward the target by avoid-
ing the scan of an element (a vertex for Dijkstra, a
connection for the CSA) that is not in the direction
of the target. Classic algorithms using goal-directed
techniques are the A* search (Hart et al., 1968) and
the ALT algorithm (Goldberg and Harrelson, 2005)
which have been successfully used on road networks.
The CSAccel algorithm (Strasser and Wagner, 2014)
can be seen as the first combination of goal directed
technique and CSA. It applies CSA on multi-level
overlay graphs to reduce the number of scanned con-
nections and in doing so lower the run time. The main
idea behind CSAccel is to avoid looking at rural buses
that are neither near the departure city nor the arrival
city, and only keep a subset of connections between
cities. This reduces the number of scanned connec-
tions and the run time as well. CSAccel uses ex-
tremely sound principles and has significant gains on
country-wide networks. Unfortunately, it does not im-
prove run time for large dense metropolitan networks.
It is also a complex algorithm to implement.
In this article, we present GDCSA, a novel ap-
proach that combines goal-directed techniques with
the PRVCSA to allow the use of more criteria. We
reuse the principles behind CSAccel but in an easier
and more pragmatic way. We roughly use the same
idea of partitioning the graph but we introduce addi-
tional lower and upper bounds, and remove the multi-
level part of the partitioning. The key idea is to par-
tition the graph in areas and only use the connections
of a sub-set of the areas when computing a journey,
thanks to lower and upper bounds on the duration
of the public transit journey. The lower bounds are
computed in a preprocessing step for each pair of ar-
eas while the upper bounds are computed during the
journey planning. Each area is opened or discarded
with a simple evaluation between the upper bound
and the sum of two lower bounds (from the start stop
to the candidate area and from the candidate area to
ICORES 2021 - 10th International Conference on Operations Research and Enterprise Systems
348