Professional Documents
Culture Documents
Algorithms
Younggeun Cho and Jungsuk Kwac
Department of Electrical Engineering
Stanford University
Stanford, CA, 94305, USA
E-mail: ygcho@stanford.edu,kwjusu1@stanford.edu;
8
S1 = (x1 + x2 )/2 x1 ,
35
xl + xl+1 xl1 + xl
Sl = , for l = 2, ..., l 1,
Variace of travel time(min)
7
Mean travel time(min)
30
6
2 2
25 SL = xL (xL1 + xL )/2 .
5
20
4
Then, by assuming that v(t, l) remains the same when the
15
3 vehicle is in the segment l, we can calculate the travel time
10
2 for this segment.
5 1
0 0
1 2 3 4 5 6 7 1 2 3 4 5 6 7 x1 ( x1 x2 ) / 2 x2 ( x2 x3 ) / 2 x3 ( x3 x4 ) / 2 ( xL 2 xL 1 ) / 2 xL 1 ( xL 1 xL ) / 2 xL
Date Date
Fig. 1. Means and variances of travel time for a trip from University Avenue v(1, t ) v(2, t ) v(3, t ) v( L 1, t ) v ( L, t )
to San Francisco with Highway 101N.
Fig. 2. Re-segmentation of the route
The new algorithm exploits this difference in such a way
that the coefficient for each day is obtained by training on a Once, re-segmentation is done, there remains the problem of
subset of S that contains only the same days in a week. More discretized time. This problem stems from the fact that sensors
formally, D (t, ) and D t, minimize measure the speeds with some time interval, t. t = 5 minutes
S (D (t, ), D (t, )) for PeMS. So, if a car enters segment l at time t and stays at
XD 2 the same segment more than t, it speeds should be changed
= T (t, sn ) (t, ) (t, ) , to be v(t + t, l). Figure 3 illustrates this issue. The horizontal
sn S
axis and the vertical axis are discretized so that the space-time
where D {SU N, M ON, T U E, W ED, T HU, F RI, SAT } is divided into small grids. The blue line represents the path
and SD = {si S; sn collected on D day in a week}. Once of a vehicle. In each grid, the speed remains constant so the
obtained, D (t, ) and D t, is used to predict the travel slope of the line is constant. The travel time can be computed
times only for D days. the time when the path reaches the end of the last segment.
3
40
t 2't HM
TVLR
sample path 35
CT
v(l , t 't ) v(l 1, t 't ) TVPS
t 't 25
v(l , t ) v(l 1, t ) 20
t 15
segment l segment l 1
10
0
As the authors in [2] argue, the travel times computed with SUN MON TUE WED THU
Days in a week
FRI SAT
lane represent the average speeds of vehicles. The test set of 30 TVPS(d)
12
10
Average relative erorr(%).
CT
2 TVLR(d)
TVPS(d)
0
10 20 30 40 50 60 70
VI. C ONCLUSION
In this project, the problem of predicting travel time is
addressed. As predictors, four methods are presented and
one suggestion, days-in-a-week effect, for improving the
performance is made. As shown in the evaluation results with
the route from Univ. Avenue to San Francisco on highway 101
North, considering days-in-a-week reduces prediction error
significantly. Furthermore, TVLR(d) is suggested as a useful
method with its good performance and simplicity.
To further improve the accuracy of prediction, it can be
considered using other models such as the linear model using
link flow and occupancy. We can also try to consider other
factors that affect travel time such as the traffic information
for the crossing highways.
R EFERENCES
[1] Freeway Performance Measurement System (PeMS),
http://pems.eecs.berkeley.edu.
[2] X. Zhang and J. Rice, Short-Term Travel Time Prediction, Transporta-
tion Research Part C, Vol. 11, 2003, pp. 187-210.
[3] J. M. Kwon and K. Petty, A Travel Time Prediction Algorithm Scalable
to Freeway Networks With Many Nodes with Arbitrary Travel Routes,
Trasportation Research Record, 2005.
[4] J. M. Kwon and P. Varaiya, Components of Congestion: Delay from
Incidents, Special Events, Lane Closures, Weather, Potential Ramp
Metering Gain, and Excess Demand, Transportation Research Record,
2006.