Optimal Path Finding Method Study Based On Stochastic Travel Time
Optimal Path Finding Method Study Based On Stochastic Travel Time
Received July 22, 2013; revised August 25, 2013; accepted September 18, 2013
Copyright 2013 Zhanquan Sun et al. This is an open access article distributed under the Creative Commons Attribution License,
which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
ABSTRACT
Finding optimal path in a given network is an important content of intelligent transportation information service. Static
shortest path has been studied widely and many efficient searching methods have been developed, for example
Dijkstras algorithm, Floyd-Warshall, Bellman-Ford, A* et al. However, practical travel time is not a constant value but
a stochastic value. How to take full use of the stochastic character to find the shortest path is a significant problem. In
this paper, GPS floating car is used to detect road sections travel time. The probability distribution of travel time is
estimated according to Bayes estimation method. The combined probability distribution of a feasible route is calculated
according to probability operation. The objective function is to find the route that has the biggest probability to arrive
for desired time thresholds. Improved Genetic Algorithm is used to calculate the optimal path. The efficiency of the
proposed method is illustrated with a practical example.
Keywords: Optimum Path; Stochastic Travel Time; Genetic Algorithm; Floating Car
v 0
r 0 tr 1 tr r 1 r (1) n 2
2
td td td 2
1 1
0 n 2 exp 2 2 i 1 xi d d
n 2
When the sample time interval is fixed, the formula
can be simplified as
According to above Bayesian method, the distribution
v0 v p of travel time can be determined.
r 1 vr
p 1
v 2 (2)
p 3. Distribution of Shortest Path
Travel time of a road section can be calculated, i.e. Let G S , E , T be a road network, where S is the
vertices set, E is the link set, and T is the weight cult to obtain the analytic solution. Genetic algorithm is a
value set of E . Let R S1 S 2 S k denote a path from problem solving method based on the concept of natural
start node S1 to end node S n . The travel time of sec- selection and genetics. It has been quite successfully ap-
tion i, i 1, 2,, k is denoted by X i that obey normal plied in machine learning and optimization problems. It
distribution N i , i . The shortest path is denoted by is adopted to resolve the optimization problem. Classic
variable Y . It can be calculated according to the fol- genetic algorithm will generate unreasonable path. Im-
lowing equation. proved genetic algorithm is used to analyze the optimum
y x1 x2 xn (9) problem. The algorithm is introduced as follows.
The GA design involves several key components: ge-
The travel time of each road section is supposed inde- netic representation, population initialization, fitness
pendent. According to probability theory, the sum of function, selection scheme, crossover, and mutation. A
independent normally distributed variables is also nor- sample road network is shown as in Figure 1. The objec-
mally distributed. The distribution parameters are as fol- tion is to find the optimum route from source node 1 to
lows. destination node 12. The GA method can be described as
E Y E X 1 X 2 X n follows.
1) Genetic representation
E X1 E X 2 E X n (10) A routing path from source node to the destination
1 2 n node is encoded by a string of positive integers that rep-
resent the IDs of nodes through which the path passes.
D Y D X 1 X 2 X n Each position of the string represents an order of the
D X1 D X 2 D X n (11) node in the road network. A feasible route is from the
source node to the destination node without circle. Fig-
2 2 2
1 2 n
ure 2 is a sample from source node to the destination
The distribution of shortest path y can be described as node.
2) Population initialization
y 2 The initial population P is composed of a certain
1
f y exp
y
(12) number of chromosomes. The source node is taken as the
2 y 2 2
y
starting point of a chromosome p , which is constant. A
where feasible route is generated though selecting one of the
y 1 2 n neighbors provided that it has not been picked before. It
keeps doing this operation until it reaches to destination
and node. The population scale is determined according to
y2 12 22 n2 . practical requirement.
After the probability distribution being determined, the 3) Fitness function
probability of arriving at objection in time t is as fol- For a given solution, evaluate its quality, which is de-
lows. termined by the fitness function. In this paper, the fitness
function is the probability of arriving at destination in
pt p y dy
t
(13) time t . The probability distribution of a given solution
2 y 2 y2 (14)
sub to S1 S2 S k R
Figure 1. Road network.
where R is the feasible path set from source node to
destination node. 1 2 3 7 11 12
From the above optimization problem, we can see that
the object function is an integration function. It is diffi- Figure 2. A feasible path from source to destination node.
R1 1 2 3 7 11 12 R1 1 2 6 10 11 12
R2 1 2 3 7 6 10 11 12 R1 1 5 6 7 8 12
R1 1 2 3 7 6 10 11 12
R1 1 2 3 7 11 12
R1 1 2 6 10 11 12 R1 1 2 3 4 8 7 11 12
1 2 3 4 5 6 7 8 9 10 11 12
Note: denotes that the two node are not connected directly.
apply the proposed method to practical system. With the for the Heuristic Determination of Minimum Cost Paths,
development of floating car, the data scale will become IEEE Transactions on Systems Science and Cybernetic,
Vol. 4, No. 2, 1968, pp. 100-107.
larger and larger. How to extend the proposed optimal
http://dx.doi.org/10.1109/TSSC.1968.300136
path finding method to large scale data is our future re-
[8] I. Chabini, Discrete Dynamic Shortest Path Problems in
search work.
Transportation Applications: Complexity and Algorithms
with Optimal Run Time, Transportation Research Re-
7. Acknowledgements cord, Vol. 1645, No. 1, 1998, pp. 170-175.
http://dx.doi.org/10.3141/1645-21
This work is partially supported by national youth sci-
ence foundation (No. 61004115), national science foun- [9] Y. Fan, R. E. Kalaba and J. E. Moore, Shortest Paths in
Stochastic Networks with Correlated Link Costs, Com-
dation (No. 61272433), and Provincial Fund for Nature puters and Mathematics with Applications, Vol. 49, No.
project (No. ZR2010FQ018) 9-10, 2005, pp. 1549-1564.
http://dx.doi.org/10.1016/j.camwa.2004.07.028
REFERENCES [10] E. D. Miller-Hooks and H. S. Mahmassani, Least Ex-
pected Time Paths in Stochastic, Time-Varying Trans-
[1] Y. Nie and Y. Y. Fan, Arriving-On-Time Problem: Dis- portation Networks, Transportation Science, Vol. 34, No.
crete Algorithm That Ensures Convergence, Transporta- 2, 2002, pp. 198-215.
tion Research Record, 1964, pp. 193-200. http://dx.doi.org/10.1287/trsc.34.2.198.12304
[2] E. W. Dijkstra, A Note on Two Problems on Connexion [11] Z. S. Yang, Basis Traffic Information Fusion Technol-
with Graphs, Numerische Mathematik, Vol. 1, No. 1, ogy and Its Application, China Railway Publish House,
1959, pp. 269-271. Beijing, 2005.
http://dx.doi.org/10.1007/BF01386390
[12] C. Liu, X. L. Meng and Y. M. Fan, Determination of Rou-
[3] M. Sniedovich, Dijkstras Algorithm Revisited: The ting Velocity with GPS Floating Car Data and WebGIS-
Dynamic Programming Connexion, Journal of Control Based Instantaneous Traffic Information Dissemination,
and Cybernetics, Vol. 35, No. 3, 2006, pp. 599-620. The Journal of Navigation, Vol. 61, No. 2, 2008, pp. 337-
[4] R. W. Floyd, Algorithm 97: Shortest Path, Communi- 353. http://dx.doi.org/10.1017/S0373463307004547
cations of the ACM, Vol. 5, No. 6, 1962, p. 345. [13] X. Zhang, Shortest Paths Probability Distribution of
http://dx.doi.org/10.1145/367766.368168 Stochastic Road Network, Master Thesis, 2010.
[5] R. Bellman, On a Routing Problem, Quarterly of Ap- [14] P. B. Mirchandani, Shortest Distance and Reliability of
plied Mathematics, Vol. 16, No. 1, 1958, pp. 87-90. Probabilistic Networks, Computer and Operations Re-
[6] D. Delling, P. Sanders, D. Schultes and D. Wagner, En- search, Vol. 3, No. 4, 1976, pp. 347-355.
gineering Route Planning Algorithms, Algorithmics of http://dx.doi.org/10.1016/0305-0548(76)90017-4
Large and Complex Networks, Vol. 5515, 2009, pp. 117- [15] S. X. Zhang, X. J. Liu and Y. Yang, Dynamic Stochastic
139. http://dx.doi.org/10.1007/978-3-642-02094-0_7 Shortest Path Algorithm, Acta Physica Sinica, Vol. 61,
[7] P. E. Hart, N. J. Nilsson and B. Raphael, A Formal Basis No. 12, 2012, Article ID: 160201.
[16] G. R. Jagadeesh, T. Srikanthan and K. H. Quek, Heuris- [17] C. W. Ahn and R. S. Ramakrishna, A Nondominated
tic Techniques for Accelerating Hierarchical Routing on Sorting Genetic Algorithm for Shortest Path Routing Pro-
Road Networks, IEEE Transactions on Intelligent Trans- blem, IEEE Transactions on Evolutionary Computa-
portation Systems, Vol. 3, No. 4, 2002, pp. 301-309. tion, Vol. 6, No. 6, 2002, pp. 566-579.
http://dx.doi.org/10.1109/TITS.2002.806806 http://dx.doi.org/10.1109/TEVC.2002.804323