DYNAMICALLY COMPUTING FASTEST PATHS FOR INTELLIGENT TRANSPORTATION SYSTEMS MEERA KRISHNAN R.

Slides:



Advertisements
Similar presentations
1 Chapter 6 Dynamic Programming Slides by Kevin Wayne. Copyright © 2005 Pearson-Addison Wesley. All rights reserved.
Advertisements

Single Source Shortest Paths
§3 Shortest Path Algorithms Given a digraph G = ( V, E ), and a cost function c( e ) for e  E( G ). The length of a path P from source to destination.
Price Of Anarchy: Routing
Introduction to Algorithms Rabie A. Ramadan rabieramadan.org 2 Some of the sides are exported from different sources.
Graphs: MSTs and Shortest Paths David Kauchak cs161 Summer 2009.
Design and Analysis of Algorithms Single-source shortest paths, all-pairs shortest paths Haidong Xue Summer 2012, at GSU.
Data and Computer Communications Ninth Edition by William Stallings Chapter 12 – Routing in Switched Data Networks Data and Computer Communications, Ninth.
Michael Ghoorchian. Edsger W. Dijkstra ( ) Dutch Computer Scientist Received Turing Award for contribution to developing programming languages.
Dynamic All Pairs Shortest Paths Based on the following resources: Camil Demetrescu and Giuseppe F. Italiano (2004) A New Approach to Dynamic All Pairs.
The Shortest Path Problem. Shortest-Path Algorithms Find the “shortest” path from point A to point B “Shortest” in time, distance, cost, … Numerous.
Generated Waypoint Efficiency: The efficiency considered here is defined as follows: As can be seen from the graph, for the obstruction radius values (200,
Multi-Source Shortest Paths T. Patrick Bailey CSC 5408 Graph Theory 4/28/2008.
All Pairs Shortest Paths and Floyd-Warshall Algorithm CLRS 25.2
CSC 2300 Data Structures & Algorithms April 17, 2007 Chapter 9. Graph Algorithms.
Shortest Paths Definitions Single Source Algorithms –Bellman Ford –DAG shortest path algorithm –Dijkstra All Pairs Algorithms –Using Single Source Algorithms.
1 8a-ShortestPathsMore Shortest Paths in a Graph (cont’d) Fundamental Algorithms.
Dynamic Shortest Paths Camil Demetrescu University of Rome “La Sapienza” Giuseppe F. Italiano University of Rome “Tor Vergata”
1 8-ShortestPaths Shortest Paths in a Graph Fundamental Algorithms.
1 Advanced Algorithms All-pairs SPs DP algorithm Floyd-Warshall alg.
Shortest Paths Definitions Single Source Algorithms
Tracking Moving Objects in Anonymized Trajectories Nikolay Vyahhi 1, Spiridon Bakiras 2, Panos Kalnis 3, and Gabriel Ghinita 3 1 St. Petersburg State University.
Chapter 10 Introduction to Wide Area Networks Data Communications and Computer Networks: A Business User’s Approach.
Dynamic Medial Axis Based Motion Planning in Sensor Networks Lan Lin and Hyunyoung Lee Department of Computer Science University of Denver
Bluenet a New Scatternet Formation Scheme * Huseyin Ozgur Tan * Zifang Wang,Robert J.Thomas, Zygmunt Haas ECE Cornell Univ*
Scalable Network Distance Browsing in Spatial Database Samet, H., Sankaranarayanan, J., and Alborzi H. Proceedings of the 2008 ACM SIGMOD international.
All-Pairs Shortest Paths
Route Planning Vehicle navigation systems, Dijkstra’s algorithm, bidirectional search, transit-node routing.
More Graph Algorithms Weiss ch Exercise: MST idea from yesterday Alternative minimum spanning tree algorithm idea Idea: Look at smallest edge not.
1 Shortest Path Algorithms. 2 Routing Algorithms Shortest path routing What is a shortest path? –Minimum number of hops? –Minimum distance? There is a.
Tools for Planar Networks Grigorios Prasinos and Christos Zaroliagis CTI/University of Patras 3 rd Amore Research Seminar – Oegstgeest, The Netherlands,
Distance Indexing on Road Networks A summary Andrew Chiang CS 4440.
Douglas Wilhelm Harder, M.Math. LEL Department of Electrical and Computer Engineering University of Waterloo Waterloo, Ontario, Canada ece.uwaterloo.ca.
Shortest Path Problems Dijkstra’s Algorithm TAT ’01 Michelle Wang.
Dynamic Single-source Shortest Paths Camil Demetrescu University of Rome “La Sapienza”
Improved Randomized Algorithms for Path Problems in Graphs PhD Thesis Surender Baswana Department of Computer Science & Engineering, I.I.T. Delhi Research.
Chapter 9 – Graphs A graph G=(V,E) – vertices and edges
Algorithms: Design and Analysis Summer School 2013 at VIASM: Random Structures and Algorithms Lecture 3: Greedy algorithms Phan Th ị Hà D ươ ng 1.
+ Mayukha Bairy Disk Intersection graphs and CDS as a backbone in wireless ad hoc networks.
Minimum Spanning Trees CSE 2320 – Algorithms and Data Structures Vassilis Athitsos University of Texas at Arlington 1.
Graph Algorithms. Definitions and Representation An undirected graph G is a pair (V,E), where V is a finite set of points called vertices and E is a finite.
Single Source Shortest-Path: The General Case (with negative edges) Bellman-Ford algorithm. Iteratively relax all edges |V|-1 times Running time? O(VE).
10/4/10 A. Smith; based on slides by E. Demaine, C. Leiserson, S. Raskhodnikova, K. Wayne Adam Smith Algorithm Design and Analysis L ECTURE 17 Dynamic.
The Application of The Improved Hybrid Ant Colony Algorithm in Vehicle Routing Optimization Problem International Conference on Future Computer and Communication,
1 The Floyd-Warshall Algorithm Andreas Klappenecker.
Shortest Path Problems Dijkstra’s Algorithm. Introduction Many problems can be modeled using graphs with weights assigned to their edges: Airline flight.
Shortest Path Graph Theory Basics Anil Kishore.
Shortest Path Algorithms. Definitions Variants  Single-source shortest-paths problem: Given a graph, finding a shortest path from a given source.
Finding Top-k Shortest Path Distance Changes in an Evolutionary Network SSTD th August 2011 Manish Gupta UIUC Charu Aggarwal IBM Jiawei Han UIUC.
The all-pairs shortest path problem (APSP) input: a directed graph G = (V, E) with edge weights goal: find a minimum weight (shortest) path between every.
Ricochet Robots Mitch Powell Daniel Tilgner. Abstract Ricochet robots is a board game created in Germany in A player is given 30 seconds to find.
Buffalo Urban Development Simulator (BUDS) “SimCity”-like simulation for downtown and waterfront development Produce a game, like SimCity, in which Buffalo.
String-Matching Problem COSC Advanced Algorithm Analysis and Design
Introduction to Algorithms All-Pairs Shortest Paths My T. UF.
Dynamically Computing Fastest Paths for Intelligent Transportation Systems - ADITI BHAUMICK ab3585.
Graphs Definition: a graph is an abstract representation of a set of objects where some pairs of the objects are connected by links. The interconnected.
Graphs. Graph Definitions A graph G is denoted by G = (V, E) where  V is the set of vertices or nodes of the graph  E is the set of edges or arcs connecting.
Minimum Spanning Trees CSE 2320 – Algorithms and Data Structures Vassilis Athitsos and Alexandra Stefan University of Texas at Arlington These slides are.
Graphs David Kauchak cs302 Spring Admin HW 12 and 13 (and likely 14) You can submit revised solutions to any problem you missed Also submit your.
CSE 373: Data Structures and Algorithms Lecture 21: Graphs V 1.
Minimum Spanning Tree Graph Theory Basics - Anil Kishore.
Design and Analysis of Algorithms
What is a router? A router is a device that connects multiple computers together. Not to be confused with a switch Routers transmit packets of data across.
Chapter 6 Dynamic Programming
Chapter 6 Dynamic Programming
Honors Track: Competitive Programming & Problem Solving Avoiding negative edges Steven Ge.
Fundamental Data Structures and Algorithms
CSE 373 Data Structures and Algorithms
Lecture 10 Graph Algorithms
Directed Graphs (Part II)
Presentation transcript:

DYNAMICALLY COMPUTING FASTEST PATHS FOR INTELLIGENT TRANSPORTATION SYSTEMS MEERA KRISHNAN R

ABSTRACT  It is a new approach to gather data for intelligent transportation system applications over a continuous-flow of traffic  The fastest path of each commuter from his current location to his desired destination can be determined,as vehicles transmit updated speed

MOTIVATION  The current technology has embedded hardware devices called loop detectors in freeways at specific locations

 These devices track the number of vehicles passing that point and the amount of time the vehicle is physically occupying the space over detector Disadvantages: 1. Data is gathered only at discrete locations of transportation network 2. There is significant cost associated with installing and maintaining the loop detectors. 3. Less reliable

APPROACH  Assume that a free-flowing transportation system can be characterized as a directed graph G=(V,E), where a vertex v Є V is defined as a specific location of a highway and an edge e Є E is defined as the section of the highway connecting two vertices  A path P on a directed graph G=(V, E) can be defined as: P(i,j)={v i,…,v j } | i  k < j, (v k,v k+1 ) Є E  The weight of an edge is defined as the amount of time it takes to travel from one vertex to the next.

Now, there are two separate problems that need to be addressed:  How to gather the speed and location of all of the vehicles in the transportation system location gathering problem can be addressed using global positioning system which determines location as (latitude, longitude )pair speed of vehicle can be obtained from vehicle’s computer system  How to use this data to optimally determine the fastest path between a vehicles current location and its desired location

ALGORITHMS  To compute the fastest path between two vertices in a directed graph, there are three general classes of algorithms: The Naïve class algorithm The Dynamic class algorithm The Pre-computed class algorithm

 NAÏVE CLASS ALGORITHM: It includes Floyd-Warshall's algorithm:computes the shortest path between all pairs of vertices in a directed graph in O(V 3 ) Johnson’s Algorithm :It uses Bellman-Ford’s Algorithm:to re-weigh the graph if negative weight edges exist Dijkstra’s Algorithm :to compute shortest path with running time O(VlogV+E) Total running time of Johnson’s algorithm is O(V 2 logV+EV) which is bit faster than Floyd algorithm

 DYNAMIC CLASS ALGORITHM: The Dynamic All-Pairs Shortest Path algorithm,developed by Camil Demetrescu and Giuseppe Italiano attempts to improve Naïve class algorithm determines path with minimum cost with constant time But with an edge update cost of O(V 2 log 3 V)

 PRE-COMPUTED CLASS ALGORITHM: It takes advantage of fact that graph is rather static Pre-computes the paths between all pair of nodes Overall running time of pre- computation is O(V 2 E!) Even though it is factorial with respect to no: of edges, it is really irrelevant since the pre- computation only occurs one time for the entire freeway system

Using this preprocessing step there are 3 approaches to determine the fastest path COSTANT UPDATE ALGORITHM CONSTANT QUERY ALGORITHM HYBRID ALGORITHM

 CONSTANT UPDATE ALGORITHM sacrifices the speed of retrieving fastest paths for the amount of time it takes to update the weight of an edge It traverse all the m paths from source vertex and destination vertex and selects the path with minimum time Assuming in the worst case that each of the m paths will contain a maximum of V vertices, the overall worst-case running time is O(Vm)

 CONSTANT QUERY ALGORITHM sacrifices the speed of updating an edge for the time to retrieve the fastest path always maintains the fastest path between all pairs of vertices by recalculating the fastest paths for all pairs of vertices that have a path containing the updated edge whenever an edge update occurs In the worst case, all paths for all pairs of vertices contain that edge, which are V 2 pairs, with m paths for each pair, giving V 2 m To insert an updated edge will take O(logm), giving an overall running time of O(V 2 mlogm)

 HYBRID ALGORITHM It attempts a compromise between the Constant Update and the Constant Query algorithms When the speed on an edge has changed by a specified threshold, the time to traverse that edge will be updated, and all paths that contain that edge will have their overall time updated If the updated edge is contained within every path of every pair of vertices, this algorithm will take O(V 2 m) To retrieve the fastest path, the application will only have to compare the times to traverse all m paths from the source to the destination and return the path with the minimum time, which can be accomplished in O(m)

ALGORITHMIC RUNNING TIME COMPARISON FOR FASTEST PATH ALGORITHMS Pre- computation Update Edge Retrieve Fastest Path Naïve (Johnson) N/A O(V 2 logV +VE) O(1) Dynamic All- Pairs Shortest Path N/AO(V 2 log 3 V ) O(1) Pre-Computed – Constant Update O(V 2 E! ) O(1)O(Vm) Pre-Computed – Constant Query O(V 2 mlog m) O(1) Pre-Computed – Hybrid O(V 2 E! ) O(V 2 m)O(m) O(V 2 E! )

 Depending on the value of m, the Pre- computed class of algorithms may execute faster than the other classes of algorithms  If the number of edge updates greatly exceeds the number of fastest path queries then constant update algorithm will work efficiently

IMPLEMENTATION DETAILS  The values in Table II were obtained by running ` 10,000 random edge updates and 10,000 random fastest path queries, then averaging the amounts of time to compute each respectively  Naïve class algorithm takes more amount of time  Pre-computed constant query algorithm performs faster than all other algorithms  Pre-computed constant update algorithm requires least cost for edge updation  Pre-Computed – Hybrid algorithm is nearly as fast as pre-computed query algorithms

Pre- computatio n Update Edge Retrieve Fastest Path Los Angeles and LA Downtown Los Angele s LA Downtow n LA Angele s LA Downtow n Naïve (Johnson) Dynamic All- Pairs Shortest Path Pre-computed Constant update Pre- Computed Constant Query Pre- Computed – Hybrid ACTUAL RUNNING TIME COMPARISON FOR FASTEST PATH ALGORITHMS (IN MILLISECONDS)

CONCLUSION  Traffic is a problem in many countries of the world  Adding lanes to highways or adding additional hardware is not always a viable solution based on cost and space limitations  Using existing roadway communication infrastructure and gathering data from a continuous flow of traffic has the potential to improve the overall flow of traffic in a transportation network with a very limited cost

 This paper presents a number of algorithms to update the edges and to compute the fastest path  Realizing that the number of edge updates will greatly exceed the number of fastest path queries, the Pre- Computed –Constant Update algorithm executes the fastest

REFERENCES 1.Dynamically Computing Fastest Paths for Intelligent Transportation Systems by Jeffrey Miller 2.Cormen, Thomas H., Charles E. Leiserson, Ronald L. Rivest, Clifford Stein. Introduction to Algorithms – 2nd Edition. The MIT Press, Experimental Analysis of Dynamic All Pairs Shortest Path Algorithms Camil Demetrescu,Giuseppe F. Italiano 4.Shrank, David, Tim Lomax. “2009 Urban Mobility Report.” Texas transportation Institute’s Annual Urban Mobility Report, September 2009

QUESTIONS?