• No results found

Traffic congestion is a real problem

N/A
N/A
Protected

Academic year: 2022

Share "Traffic congestion is a real problem"

Copied!
22
0
0

Loading.... (view fulltext now)

Full text

(1)

A Continuous Query System for Dynamic Route Planning

Nirmesh Malviya (IIT Kanpur, MIT) Samuel Madden (MIT) Arnab Bhattacharya (IIT Kanpur)

Published in ICDE 2011

(2)

Traffic congestion is a real problem

Click to edit Master text styles

Second level

Third level

Fourth level Fifth level

$115 billion congestion cost in 2009 (in USA)

34 hours of yearly peak delay for

average commuter

COMAD 2011 Arnab Bhattacharya 2

(3)

Continuous Routing Queries

Click to edit Master text styles

Second level

Third level

Fourth level Fifth level

A traffic aware dynamic route planning service

User registers pair <source s, destination t>

Continuously monitors s-t routes as traffic delays change

Keeps user updated with a near-optimal s-t route

Scalable

COMAD 2011 Arnab Bhattacharya 3

(4)

Doesn’t Google Maps solve this problem already?

Click to edit Master text styles

Second level

Third level

Fourth level Fifth level

Routing

based on pre- processed

edge weights

Ad-hoc

routing only

Real time traffic layer overlay for visualization

COMAD 2011 Arnab Bhattacharya 4

(5)

Roadblocks

Can’t do repeated shortest-path recalculation Not scalable

Academic work on incremental SP algorithms High space overhead (memory-resident) High computation overhead

Tries to get optimal (which is not critical here)

COMAD 2011 Arnab Bhattacharya 5

(6)

Solution: A Continuous Query System

Click to edit Master text styles

Second level

Third level

Fourth level Fifth level

Click to edit Master text styles

Second level

Third level

Fourth level Fifth level

COMAD 2011 Arnab Bhattacharya 6

(7)

Key Ideas

Traffic updates affect only a small part of the road network Mix of pre-computation and on-the-fly route calculation Update only when there are significant delay changes

COMAD 2011 Arnab Bhattacharya 7

(8)

Our Algorithms

K-Candidate-Paths

Click to edit Master text styles

Second level

Third level

Fourth level Fifth level

Proximity-based approach

Click to edit Master text styles

Second level

Third level

Fourth level Fifth level

COMAD 2011 Arnab Bhattacharya 8

(9)

K candidate paths

Pre-compute K different routes

Dynamically select the best candidate as delays change Re-computation limited to K routes

Want changes in traffic delays to not adversely affect all K routes simultaneously

Different strategies for computing K paths

COMAD 2011 Arnab Bhattacharya 9

(10)

Yen’s algorithm

Find the shortest path

Pick a vertex v from the path

Delete edges joining v in the path Find the shortest path again

COMAD 2011 Arnab Bhattacharya 10

(11)

K-Variance

Perturb randomly the edge weights

For every perturbation, find the shortest path

Sample the edge cost from a Gaussian distribution Parameters learnt from history

Run the algorithm until K distinct paths are found Lots of overlap in paths

COMAD 2011 Arnab Bhattacharya 11

(12)

Partially overlapping paths

Click to edit Master text styles Second level

Third level

Fourth level Fifth level

COMAD 2011 Arnab Bhattacharya 12

(13)

System Architecture

Click to edit Master text styles Second level

Third level

Fourth level Fifth level

COMAD 2011 Arnab Bhattacharya 13

(14)

K-Statistical

Variant of Yen’s K shortest loopless paths algorithm

Loopy paths, i.e., paths with cycle don’t make sense

Delete each edge of the path found in the previous iterations with some probability

Re-do the shortest path calculation on the modified graph

COMAD 2011 Arnab Bhattacharya 14

(15)

Proximity-based

Compute shortest paths in a constrained region Constraint on proximity

Shape of constrained region is ellipse Polygons take more space

Ellipses better represent human behavior than rectangles

COMAD 2011 Arnab Bhattacharya 15

(16)

Proximity-based

COMAD 2011 Arnab Bhattacharya 16

(17)

Results

7,000 drives chosen from CarTel log containing 150,000 real drives Replayed data from 2 months of our traffic delay database

Crucial parameters:

ϵ: captures number of segments with delay updates ϒ: captures degree of change in segment delay

K: set to 5

COMAD 2011 Arnab Bhattacharya 17

(18)

Two orders of magnitude faster

COMAD 2011 Arnab Bhattacharya 18

500 1000 1500 3000 5000

1 10 100 1000 10000

Naïve A*

K-STATISTICAL

Number of continuous routing queries registered in the system

Total processing times (s) - log scale

(19)

New routes are near optimal

COMAD 2011 Arnab Bhattacharya 19

0.05 0.1 0.25 0.5 0.75000000000000011 1

-0.01 0.01 0.03 0.05 0.07 0.09 0.11 0.13 0.15

Y-STATISTICAL NAÏVE A*

ϵ : threshold fraction of updated segments on any of the K pathsO

ptimality Ratio = (cost-optimal)/optimal

(20)

Previously reported routes are near optimal on no update

COMAD 2011 Arnab Bhattacharya 20

0.1 0.25 0.5 0.75000000000000011 1

0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4 0.45 0.5

K-STATISTICAL

Precomputed K-STATISTICAL

ϵ : threshold fraction of updated segments on any of the K pathsOptimality Ratio = (cost-optimal)/optimal

(21)

Conclusions

Fast and scalable continuous routing scheme which is accurate Routes delivered by our techniques are within 4-7% of the optimal

average optimality gap for pre-computed routes over 30% in all cases

COMAD 2011 Arnab Bhattacharya 21

(22)

Conclusions

Fast and scalable continuous routing scheme which is accurate Routes delivered by our techniques are within 4-7% of the optimal

average optimality gap for pre-computed routes over 30% in all cases

COMAD 2011 Arnab Bhattacharya 22

THANK YOU

References

Related documents

More specifically, the paper employs a text analysis of keywords related to hierarchic, market, and network governance styles in high-profile SDG plans from Denmark, Japan, and

As shown in Figure 3.1 that the second level of Speed (A2), second level of Feed (B2) and the third level of Depth of Cut (C3) provides the optimum value of Surface

But the paradox of negative existence reappears when we put the question: how is the really real compatible with the finite, the phenomenal, the subjective,

We can see the network congestion, number of light paths, single hop traffic/offered traffic increases with increase in number of

As the output quality of any con- catenative speech synthesizer relies heavily on the accuracy of segment boundaries in the speech database [9], manual method of segmentation was

Learned Counsel appearing on behalf of the Petitioners/ Stamp Vendors submits that the Second and Third Respondents /State Bank of India, by misinterpreting the

16 Measurement/report time versus number of slaves corresponding to master and variable inverse link speed b for single level tree network with master and sequential reporting

A bstract : The extended generalised exponential potential (LGEP) is employed to determine second- and third-order elastic constants of fee aluminium along with