Computing paths that maximize the probability of arriving at a destination before a given time deadline. Reimplementation of paper [4], which is built on ref [2] and ref [3]. Paper [2] is built on ref [1]. The graph used is Manhattan, consisting of 4,091 nodes and 9,452 edges. Edges lengths are drawn from normal distributions.
The above figure shows an example of different paths from origin (node 100) to destination (node 2244), where the deadline is set to 1627.416 sec. The minimum expected time route (blue) takes 1356.18 sec with 89.06% guarantee of arriving on time, and the variance of it is 220.58 sec. The maximum probability route (orange) takes 1361.43 sec with 90.45% guarantee of arriving on time, and the variance of it is 202.62 sec. The green path is the minimum variance route, and it takes 1488.68 sec with 79.2% guarantee of arriving on time, and the variance of it is 170.57 sec.
stochastic_shortest_path
reimplements ref [2].
approximated_ssp_preprocess
and approximated_ssp_query
reimplement ref [4]. approximated_ssp_preprocess
will compute a set of lambda values, which is used to precompute a set of path tables to speed up the computation of ssp. The function to compute path table can be found at Manhattan-Map.
test.py
is used to test how many taxi trips could find another path instead of the shortest mean path, and the difference between the results from ssp
and assp
.
- Nikolova, E., Kelner, J.A., Brand, M. and Mitzenmacher, M., 2006, September. Stochastic shortest paths via quasi-convex maximization. In European Symposium on Algorithms (pp. 552-563). Springer, Berlin, Heidelberg.
- Lim, S., Balakrishnan, H., Gifford, D., Madden, S. and Rus, D., 2011. Stochastic motion planning and applications to traffic. The International Journal of Robotics Research, 30(6), pp.699-712.
- Nikolova, E., 2010. Approximation algorithms for reliable stochastic combinatorial optimization. In Approximation, Randomization, and Combinatorial Optimization. Algorithms and Techniques (pp. 338-351). Springer, Berlin, Heidelberg.
- Lim, S., Sommer, C., Nikolova, E. and Rus, D., 2013, July. Practical route planning under delay uncertainty: Stochastic shortest path queries. In Robotics: Science and Systems (Vol. 8, No. 32, pp. 249-256).