Title :
Engineering Generalized Shortest Path queries
Author :
Rice, M.N. ; Tsotras, V.J.
Author_Institution :
Dept. of Comput. Sci. & Eng., Univ. of California, Riverside, Riverside, CA, USA
Abstract :
Generalized Shortest Path (GSP) queries represent a variant of constrained shortest path queries in which a solution path of minimum total cost must visit at least one location from each of a set of specified location categories (e.g., gas stations, grocery stores) in a specified order. This problem type has many practical applications in logistics and personalized location-based services, and is closely related to the NP-hard Generalized Traveling Salesman Path Problem (GTSPP). In this work, we present a new dynamic programming formulation to highlight the structure of this problem. Using this formulation as our foundation, we progressively engineer a fast and scalable GSP query algorithm for use on large, real-world road networks. Our approach incorporates concepts from Contraction Hierarchies, a well-known graph indexing technique for static shortest path queries. To demonstrate the practicality of our algorithm we experimented on the North American road network (with over 50 million edges) where we achieved up to several orders of magnitude speed improvements over the previous-best algorithm, depending on the relative sizes of the location categories.
Keywords :
dynamic programming; graph theory; logistics; mobile computing; query processing; travelling salesman problems; GSP queries; GTSPP; NP-hard generalized traveling salesman path problem; dynamic programming; generalized shortest path queries; graph indexing technique; location-based services; logistics; specified location categories; Algorithm design and analysis; Approximation algorithms; Approximation methods; Dynamic programming; Heuristic algorithms; Roads; Traveling salesman problems;
Conference_Titel :
Data Engineering (ICDE), 2013 IEEE 29th International Conference on
Conference_Location :
Brisbane, QLD
Print_ISBN :
978-1-4673-4909-3
Electronic_ISBN :
1063-6382
DOI :
10.1109/ICDE.2013.6544888