Abstract
We consider the single-source many-targets shortest-path (SSMTSP) problem in directed graphs with non-negative edge weights. A source node s and a target set T is specified and the goal is to compute a shortest path from s to a node in T. Our interest in the shortest path problem with many targets stems from its use in weighted bipartite matching algorithms. A weighted bipartite matching in a graph with n nodes on each side reduces to n SSMTSP problems, where the number of targets varies between n and 1.
The SSMTSP problem can be solved by Dijkstra’s algorithm. We describe a heuristic that leads to a significant improvement in running time for the weighted matching problem; in our experiments a speed-up by up to a factor of 10 was achieved. We also present a partial analysis that gives some theoretical support for our experimental findings.
Partially supported by the IST Programme of the EU under contract number IST-1999-14186 (ALCOM-FT).
Funded by the Deutsche Forschungsgemeinschaft (DFG), Graduiertenkolleg (Graduate Studies Program) ‘Quality Guarantees for Computer Systems’, Department of Computer Science, University of the Saarland, Germany.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
References
R.K. Ahuja, T.L. Magnanti, and J.B. Orlin. Network Flows. Prentice Hall, 1993.
N. Alon, J.H. Spencer, and P. Erdös. The Probabilistic Method. John Wiley & Sons, 1992.
Z. Galil. Efficient algorithms for finding maximum matching in graphs. ACM Computing Surveys, 18(1):23–37, 1986.
K. Mehlhorn and S. Näher. The LEDA Platform for Combinatorial and Geometric Computing. Cambridge University Press, 1999. 1018 pages.
K. Mehlhorn and G. Schäfer. Implementation of O(nmlogn) weighted matchings in general graphs: The power of data structures. In Workshop on Algorithm Engineering (WAE), Lecture Notes in Computer Science, to appear, 2000. http://www.mpi-sb.mpg.de/mehlhorn/ftp/WAE00.ps.gz.
G. Schäfer. Weighted matchings in general graphs. Master’s thesis, Fachbereich Informatik, Universität des Saarlandes, Saarbrücken, Germany, 2000.
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2001 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Mehlhorn, K., Schäfer, G. (2001). A Heuristic for Dijkstra’s Algorithm with Many Targets and Its Use in Weighted Matching Algorithms. In: auf der Heide, F.M. (eds) Algorithms — ESA 2001. ESA 2001. Lecture Notes in Computer Science, vol 2161. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-44676-1_20
Download citation
DOI: https://doi.org/10.1007/3-540-44676-1_20
Published:
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-42493-2
Online ISBN: 978-3-540-44676-7
eBook Packages: Springer Book Archive