Abstract

Theoretical research is conducted on finding the shortest path with stochastic and time-dependent characteristics of link travel time in urban road networks. Considering the influence of signalized intersections on travel time, the research first presents a function of waiting time at signalized intersections and analyzes its characteristics. Then, considering the reliability of travel time, the travel time model under the min-max theorem is established, and a mathematical proof that the stochastic time-dependent traffic networks can be reduced to a deterministic time-dependent network is presented by using the first mathematical induction. Finally, based on analyzing the characteristics of the shortest path and minimum travel time, which vary with the start time, we propose solving the shortest path problem with a shortest path algorithm based on Dijkstra’s algorithm that takes the waiting time at signalized intersections into consideration. The research results showed that the algorithm proposed in this study does not depend on the acquisition of the probability distribution of travel time compared with the traditional algorithm. The range of uncertain travel time can be derived from historical data and travelers’ experiences, and the obtained shortest path has more robust time reliability.

1. Introduction

With the rapid development of the economy and the acceleration of urbanization, the number of motor vehicles and road traffic has dramatically increased, which has led to a series of problems such as traffic congestion. Choosing the optimal path can, to a certain extent, reduce travel time, cost waste, and resource loss. Therefore, travelers must formulate the optimal travel plan and route before departure [1].

The urban traffic network is dynamic rather than static. In the stochastic time-dependent (abbreviated as STD) traffic networks, the travel time changes with traffic flow. For example, the sudden increase of traffic flow in the morning, noon, and evening rush hours and the decrease of traffic flow at night will more or less lead to corresponding changes in travel time, thus showing the time-dependent characteristics of travel time [2]. In addition, urban traffic networks are susceptible to bad weather, emergencies, traffic control, and occasional traffic congestion, thus showing stochastic time characteristics [3]. The time dependence and stochasticity of traffic networks constitute the stochastic time-dependent characteristics of the travelers’ travel time. The existence of such uncertainty leads to the uncertainty of travelers’ travel time, significantly affecting travelers’ travel plans and increasing travel time and cost as well as waste and consumption of resources. As a result, travelers demand not only safety, convenience, and punctuality for each road section but also economy and reliability for each intersection of the road system, that is, higher requirements for the reliability of path travel time. In the classical shortest path (SP) problem in graph theory, the intersection is usually studied as a location point, and only the sum of travel times of each segment on the path is considered, but the waiting time delay at the signal intersection is not considered [4]. However, in the urban road network, the driver’s waiting time at the signalized intersection accounts for a large proportion of its travel time, and most of the optimal path planning algorithms only consider the travel time of the section, resulting in a significant difference between the desired optimal path and the actual optimal path. Therefore, the waiting time at the signalized intersection must be taken into account when calculating travel time to reduce the difference between predicted travel time and actual travel time. This article focuses on studying the shortest reliable route in urban commuting where the travel time is random and uncertain, but the travel time has a time window requirement. A holistic consideration of the influence of signalized intersections on travel time allows the presentation of the waiting time function of signalized intersections and the road network transformation method, which transforms a stochastic time-dependent traffic network into a deterministic time-dependent traffic network to solve the shortest reliable path problem.

In the following, Section 2 analyzes the research status at home and abroad. Section 3 describes the shortest path problem and the waiting time at signalized intersections under STD networks and expresses the characteristics of waiting time at signalized intersections through functions. Then, the shortest reliable path model is established and a mathematical proof that the STD network can be transformed into a deterministic time-dependent network is put forward. Section 4 proposes a shortest path algorithm that accounts for waiting time at signalized intersections. Section 5 sets up numerical experiments. Section 6 analyses the experimental results. Section 7 summarizes the full text.

2. Literature Review

The research on the SP problem in the field of transportation started relatively early. Since it was put forward, domestic and foreign traffic scholars have done extensive research on the problem, continuously extending many variants based on existing research, such as the K-short path problem and reliable path problem. With the development and deepening of relevant research, many scholars not only continuously improve and innovate on the model but also continuously optimize the model-solving algorithm, providing a theoretical basis and new methods for other research in the field of transportation.

In 1959, Dijkstra [5] first studied the SP problem and put forward the traditional Dijkstra’s algorithm to solve the problem in static traffic networks. After that, many scholars conducted in-depth research and improvement on this topic. Xue and Chai [6] improved Dijkstra’s algorithm and verified the effectiveness of the algorithm in solving the shortest path under uncertain weather conditions through experiments. Liu et al. [7] applied the Dijkstra algorithm as the global path planning algorithm and the dynamic window approach as its local path planning algorithm to the smart car, enabling it to successfully avoid obstacles from the planned initial position and reach the designated position. Wang et al. [8] proposed a three-dimensional Dijkstra’s optimization algorithm, which can generate a global optimal ship path in a poor marine environment, and the solution obtained by the generated multiobjective function is exact. Wang et al. [9] put forward an improved Dijkstra-ant colony algorithm by combining a greedy algorithm with a heuristic algorithm. It turns out that the algorithm has strong global search ability and good convergence performance, thus improving global search efficiency. However, these traditional SP problem algorithms all take static, deterministic transportation networks as the research object. The obtained solutions are exact solutions with high computational complexity, so they are not suitable for large-scale networks.

Considering the stochasticity and uncertainty of the urban road network, many scholars [1013] have begun to study the stochastic network. They have studied the routing optimization problem under a class of uncertain conditions to find the optimal route solution that meets the time window requirements under the condition of uncertain travel time. However, the above scholars do not consider the time-dependent characteristics of link weights, which cannot meet the travel needs of travelers.

Liu [14] established the sum of the carbon emission cost, transportation cost, penalty cost for exceeding the time window, and the damage cost of the cold chain cargo as the objective function and established a route optimization model of cold chain container multimodal transportation. Xu and Li [15] researched the time-dependent vehicle routing problem and proposed an unconventional path optimization approach, known as the fissile ripple spreading algorithm (FRSA). Liu and Zhang [16] considered the time dependence of link weights and optimized the shortest path within a time window with time-dependent driving risk. By analyzing the time-dependent characteristics of urban road networks, Zhao et al. [17] designed an electric vehicle routing problem (EVRP) model under time-dependent traffic conditions for route planning of fresh products in urban cold chains. However, the above scholars have only considered the stochastic or time-dependent characteristics of link weights but ignored the comprehensive stochastic time-dependent characteristics.

Few scholars comprehensively consider the stochastic and time-dependent characteristics of urban road networks. Many scholars [18, 19] built optimization models under stochastic time-dependent networks and used improved labeling algorithms to find optimal paths. Considering the difficulty of solving the optimal path problem in the stochastic time-dependent networks, Sun et al. [2] adopted a robust optimization method to take the path with the highest cost as the optimal path and transformed the stochastic time-dependent networks into a deterministic time-dependent network. Because it is difficult to know the probability distribution of travel time in the travel process of a section, Yang et al. [20] put forward a route selection algorithm considering risks and actual traffic flow conditions on the current road. Although the above scholars have considered the stochastic time-dependent characteristics of urban road networks, they have not yet considered the reliability of travel time, and therefore they could not realize that path planning meets the reliability requirements.

Asakura and Kashiwadani [21] first proposed a definition of travel time reliability in 1991, using probability to express travel time reliability and studying the probability of travelers arriving at destinations within the desired travel time to measure potential travel delays. The Florida Department of Transportation studied the Florentine method of travel time reliability and defined travel time reliability as the probability that the travel time of a road section is less than or equal to the sum of the desired travel time and the acceptable delay time. In 2002, the Texas Department of Transportation used the Buffer Index to describe trip time reliability, defined as the ratio of travel time to the average travel time required to ensure that travelers arrived at their destination on time. Later on, Tu et al. [22] investigated the constrained reliable shortest path problem for electric vehicles in the urban transportation network. They proposed an algorithm that can obtain the exact solutions within satisfactory computational time. Arun Prakash [23] presented a decreasing order-of-time algorithm and a label-correcting network pruning algorithm to determine the most reliable routes on stochastic and time-dependent networks. The above scholars have studied the shortest reliable path problem of STD networks, but they usually regard intersections as nodes on the path, without considering the link weight on the nodes. However, in real road conditions, because of the existence of signalized intersections, the vehicle will generate waiting time when passing the node, and the waiting time at signalized intersections accounts for a large proportion of the overall vehicle travel time, so the waiting time at signalized intersections must be considered in the travel time of the road network.

In the existing shortest path problem considering intersection delay, different researchers have proposed various algorithm models from different angles [24]. Qin et al. [25] used a reliable energy consumption path-finding algorithm for signalized traffic networks, and the result showed that accounting for the delays at signalized intersections can improve the prediction accuracy of vehicle energy consumption. Ju and Du [26] suggested the periodic change of intersection signals in urban road systems which is the leading cause of uncertain delays and proposed a hyperpath search method based on intersection signal timing. Therefore, the application of the algorithm to the traffic field has limitations. Kamal et al. [27] presented a novel adaptive traffic signal control scheme, which aims at minimizing the total crossing time of all vehicles. Liang et al. [28] extended a real-time traffic signal control algorithm based on the Internet for vehicles at isolated intersections to minimize the average vehicle delay, which can improve fairness at intersections with minimal loss of efficiency. However, this study looked at individual signalized intersections and did not take into account signal timing at intersections, where vehicles may change routes based on delays encountered.

Based on the previous research on the routing problem in STD networks, this article further considers the waiting time at signalized intersections, studies the shortest reliable path in the worst case, and transforms the STD network into a deterministic time-dependent network to solve the shortest reliable path problem.

3. Problem Description

3.1. Shortest Path Problem of Stochastic Time-Dependent Networks

The shortest path problem of travelers from the starting point to the destination can be described as the optimal path selection problem in an STD network. Given a directed graph , where is the set of the nodes and is the set of links. Assume that the number of nodes is and the number of links is , , as shown in Figure 1. The path is the non-empty node set of the directed graph, which is arranged in order from the starting point through the nodes until the end, where and . is the set of time periods, which can be discretized into a set of periods with the same time interval. is a piecewise function associated with the departure time, which indicates the travel time on the link and its value will change with different departure moments, reflecting the time-dependent characteristics of the STD network. To reflect the stochastic properties of the stochastic time-dependent network, let , where is a constant in period , and is a non-negative random variable not more than the constant , that is, , so .

3.2. Waiting Time Function at Signalized Intersections

The time dissipation at signalized intersections can be divided into two parts: one is the time delay, mainly manifested as low-speed driving and parking caused by vehicles queuing at intersections or slowing down upstream of the intersections; the other is the waiting time, mainly reflected in the time when vehicles wait for the permission to pass at the signalized intersections. The waiting time at the signalized intersection is related to waiting for the target phase and selecting the subsequent path [4]. In this article, by selecting the phase to represent the vehicle’s turning condition, vehicles passing through a signalized intersection necessitate representation through phases, such as “go straight,” “turn left,” and “turn right.” As shown in Figure 2, taking a typical intersection as an example, when a vehicle is waiting for a signal light instruction, because only vehicles in one direction are allowed to pass in each phase, the selection of the subsequent path is also related to the waiting time, which is not considered in the traditional shortest path algorithm. Therefore, this research will consider the influence of this factor while studying the waiting time at the signalized intersections.

The waiting time at the signalized intersections is related to the time of arrival at the intersection, and the parameter settings are shown in Table 1.

Assuming that the required phase when the vehicle arrives at a signalized intersection is , the current phase when the vehicle arrives at the signalized intersection is , and meeting the condition that , . The waiting time at the signalized intersection can be discussed in two cases:(1)When , the required phase of the vehicle is the first phase; when , the vehicle can pass without waiting; when , the vehicle needs to wait from phase until the end of the signal cycle and the beginning of the next cycle, as shown in Figure 3(a). Also, the waiting time at the signalized intersection is(2)When , the waiting time at the signalized intersection can be discussed in three cases:(i)When , indicating that the vehicle can pass without waiting when it arrives at the signalized intersection, the waiting time at the signalized intersections is .(ii)When , the vehicle needs to wait from the current phase to the phase of the next signal cycle after arriving at the signalized intersection, as shown in Figure 3(b). The waiting time at signalized intersections is(iii)When , the vehicle arrives at the signalized intersection to wait from phase to the phase of the cycle, as shown in Figure 3(c). The waiting time at signalized intersections is

Assume that a signalized intersection has independent phases and each phase duration of the signalized intersection is . The waiting time function of each phase at the signalized intersection is shown in Figure 4: the horizontal coordinate is the time when vehicles arrive at the signalized intersection, and the vertical coordinate is the waiting time required at different phases at the signalized intersection.

The following conclusions can be drawn from the waiting time function image of signalized intersection:(1)At any signalized intersection , within a signal cycle, the signalized intersection waiting time function is a piecewise function. When the required phase is , the waiting time function is(2)The waiting time at the signalized intersection is related to the current phase of the vehicle and the required phase.(3)The waiting time range of signalized intersection is

3.3. Shortest Reliable Path Model

Average commuting time consumption significantly affects residents’ intuitive perception of commuting and quality of life. That is why it has been included in the “urban experience indicator system” as a prominent indicator to measure urban traffic convenience. The traditional SP problem usually takes travel time, cost, or resource consumption as the definition criteria of the optimal path. According to the Commuting Monitoring Report of China’s Major Cities in 2021, the average one-way commuting time in major cities in China is 36 minutes. When faced with uncertain travel conditions, the commuting time may be longer. For travelers, lateness will ruin their established plan and result in penalty costs, loss of opportunities, etc., while on the other extreme, early arrival will waste travelers’ time. Therefore, this research introduces the early arrival time penalty factor and the in-transit time factor to find the path with the most reliable travel time from the starting point to the destination as the optimal path under the condition that lateness is not allowed.

Let be the travel time from the starting point to the endpoint of the selected path starting from period and be time-dependent. Under the STD traffic network, the shortest reliable path is studied in this research to find the path with the minimum travel time in the worst case among the candidate paths as the optimal path, so as to realize that the route will not be deteriorated by the change of uncertainties. The shortest reliable path model in this study is as follows.

Objective function:which can be rewritten asS.t:

3.4. Network Conversion

Due to fluctuation in the STD network, the description of the traffic conditions of the real-time road network and problem solving have a certain complexity. Therefore, this study uses the first mathematical induction to derive the proposition that “A stochastic time-dependent network can be simplified into a deterministic time-dependent network,” so as to simplify the real-time traffic problem.

Proof Process. Assume that the time of arrival of the vehicle at node is , the departure time from node is period , the waiting time of the vehicle at node is , and the travel time of road section is . The travel time is now studied using the first mathematical induction method.Step 1. Assuming that the vehicle starts from node at time , the travel time through the link is , and , and then the uncertain can be converted into a deterministic period with an interval range: .Step 2. Assuming that the vehicle starts from node at time , the travel time through the link is , and , .

Therefore,

Then,

So, the uncertain can be converted into a deterministic period with interval range:

Step k − 2. Assuming that the vehicle starts from node at time , the travel time through the link is , and .

Therefore,

Then,

So, the uncertain can be converted into a deterministic period with interval range: .

Step k − 1. Assuming that the vehicle starts from node at time , the travel time through the link is , and .

Therefore,

Then,

So, the uncertain can be converted into a deterministic period with interval range: .

Therefore, a propositional STD network can be simplified into a deterministic time-dependent network.

Therefore, the objective function (9) can be rewritten asS.t:

The travel time of the path in the STD network can be transformed into a deterministic time-dependent network by the first mathematical induction. is a deterministic variable, which is the maximum value of the link travel time . Therefore, the objective function can be converted to solve the deterministic time-dependent network under the constraint of the time window , seeking the route with the minimum .

4. The Shortest Path Algorithm

The shortest path algorithm that accounts for waiting time at signalized intersections based on Dijkstra’s algorithm is used to solve the model. For a given origin node in the graph, the algorithm can find the shortest reliable path between it and every other node.Step 1: initialization.Before implementing the algorithm, it is necessary to initialize each signalized crossing node and assign every node a tentative distance value. Set the initial node to zero, which is the starting coordinate of the traveler, and all other nodes to infinity. Create sets , , and . is the set of unvisited nodes, consisting of all the unvisited nodes except the source node. Let be the set of visited nodes and be the set of all predecessors of node .Step 2: update labels.For the current node , consider all nodes except the nodes in . Then, the departure time, tentative maximum travel time , and minimum travel time of subsequent nodes are calculated according to equations (1)–(6). If is less than the previously recorded time, then overwrite the tag. Even if the node has been checked or marked as visited, it should remain in the unvisited set at this point.Step 3: move to the next node.Set the node with the best travel time marked as the next “current node ” and add this node to the set . Consider all nodes in the set except those nodes in to find the node with the minimum travel time from the initial node. Calculate the tentative minimum travel time , and if is less than the previously recorded distance, update the label and update the set .Step 4: stop and find the best path.If is empty and all node labels cannot be updated in Step 2, then stop. Otherwise, go back to Step 3 and continue updating the label to find a better path. After completing the label update of the last node in set , the optimal path from the starting point to the end point is found in the opposite direction starting from the last node.

5. Computational Test

To solve the shortest reliable path problem in the STD networks, this research conducts a computational test with the small traffic network described in Figure 5. The network contains 12 one-way road sections and 9 signalized intersections. The set of signalized intersection nodes is , including a cross-shaped intersection and 8 T-shaped intersections.

In order to ensure fairness between each phase, the green light duration of each phase is evenly allocated, so it is assumed that the green light duration of each phase at the same signalized intersection is the same. The signal starts at the moment of arrival at the starting point of 0, the phase sequence appears randomly, the properties of each signalized intersection are shown in Table 2, and the link weights are shown in Table 3. Now search for the shortest reliable path from the starting point to the end point .

Traditional Dijkstra’s algorithm and the improved shortest path algorithm based on Dijkstra’s algorithm considering the waiting time of signalized intersection are, respectively, used to calculate the shortest reliable path problem of this small traffic network. According to the results of the proof in Section 3 that the STD networks can be transformed into a deterministic time-dependent network, the original problem can be transformed into the shortest path problem in a deterministic time-dependent network. The transformed traffic network is shown in Figure 6, and the link weight is the upper limit of the original range.

5.1. Solving the Shortest Reliable Path

Visual Studio C/C++ 6.0 is used to calculate the shortest path and travel time between the starting and ending nodes for different departure times with the shortest path algorithm that accounts for the waiting time of signalized intersections based on Dijkstra’s algorithm, as shown in Table 4.

From Table 4, the shortest paths at different departure times can be obtained. As can be seen from Figure 7, the travel time varies periodically at different departure times, and the period duration is 48. The minimum travel time is 35, and the maximum travel time is 50. For the same origin destination (OD) matrix, 141 sets of experimental results are selected from the table to compare with the traditional Dijkstra’s algorithm without accounting for waiting time at signalized intersections, and the results are shown in Figure 7. The travel time obtained by the traditional shortest path algorithm is a fixed value of 35, which does not vary with the departure time, while the shortest travel time obtained by improved Dijkstra’s algorithm without accounting for waiting time at signalized intersections varies with the departure time.

5.2. Solving Travel Time Range

The shortest path and travel time range at different departure times can be obtained by using the upper and lower limits of road weight, respectively. The lower limit weights of the section are used to find the arrival moments and shortest path at different departure moments, as shown in Table 5.

From Table 5, the shortest path and travel time obtained by the lower limit of link weights can be obtained. The travel time range is the time interval obtained by the upper and lower limits of the road weight.

As can be seen from Figure 8, the travel time varies periodically at different departure times, and the period duration is 48. The minimum travel time is 29, and the maximum travel time is 39. For the same OD matrix, 142 sets of test results in the table are compared with traditional Dijkstra’s algorithm without accounting for the waiting time at signalized intersections. The travel time obtained by the traditional shortest path algorithm is a fixed value of 29, which does not change with the departure time, while the shortest travel time obtained by improved Dijkstra’s algorithm with intersection waiting time varies with the departure time. Figure 9 shows the travel time range that accounts for the waiting time at signalized intersections and the traditional travel time range that does not account for the waiting time at signalized intersections, respectively.

5.3. Contrast Trials with Varying Weights

A road section is randomly selected in the road network to simulate road congestion, and the experiment is repeated several times by changing the weight of the road section. The weight of the E-F section was set as [7-15], and the obtained results were compared with previous experimental results. The shortest path and travel time between the starting and ending points under different departure times were obtained, as shown in Table 6.

From Table 6, the shortest reliable path and travel time can be obtained by randomly changing the E-F weight value of the road section. As can be seen from Figure 10, the minimum travel time varies periodically at different departure times, and the cycle time is about 48. The experimental results of 152 groups in the selected table are compared with the traditional Dijkstra algorithm results that do not consider the waiting time at the intersection, and the results are shown in Figure 10. The travel time obtained by the traditional shortest path algorithm is a fixed value of 38, regardless of departure time. However, the minimum travel time obtained by the improved Dijkstra algorithm, which includes waiting time at intersections, varies with the departure time. The comparison test shows that the travel time can meet the requirements of rigid arrival time after randomly changing the weight of the road section, and the effectiveness and robustness of the algorithm are verified.

6. Result Analysis

The accuracy and effectiveness of the model and algorithm were demonstrated through computational testing. The analysis of the results of the computational testing led to the following conclusions:(1)A stochastic time-dependent network can be transformed into a deterministic time-dependent network through the maximum-minimum criterion, and the travel time range from the starting point to the end point can be obtained through the link weights.(2)The change of departure time will cause the shortest path of the vehicle from the starting point A to the endpoint I to change. For example, when the departure time is 0, the shortest path is A-D-E-F-I, and when the departure time is 20, the shortest path is A-B-E-F-I. This is mainly because different departure times cause the vehicle to reach the signalized intersections at different times, which makes a significant change in the waiting time at the signalized intersections according to the phase change and the subsequent path selection.(3)The change of departure time will cause the shortest travel time of the vehicle from the starting point A to the endpoint I to change periodically. For example, when the departure time is 0, the travel time range is [31, 41], and when the departure time is 20, the travel time range is [55, 57]. As shown in Figure 7, the shortest travel time shows a periodic change within a certain range, and the change period is 48. The reason for this change is that the waiting time for any phase at the signal intersection is a periodic function. The waiting time for any desired phase is characterized by a periodic cycle with the periodic duration of the signal intersection.(4)With different departure time, the minimum travel time shows a monotonic variation within a certain time range. The reason is that different departure times lead to different time for vehicles to arrive at the signalized intersection, which makes the waiting time at the signalized intersection change significantly according to the phase change and the subsequent path selection.(5)The minimum travel time of the optimal path is 29, and the worst case can be calculated as 50, indicating that the reliability of the travel time on the optimal path is poor, which may violate the constraints of the time window and cause commuters to be late. For example, the traveler needs to arrive at the destination before t = 35 under the constraint of a time window; otherwise, it will be regarded as late. If the traveler only considers the minimum travel time and does not consider the worst case and reliability of travel time, it may not meet the requirements of rigid arrival time. Thus, although the optimal path enables the traveler to reach the destination with the minimum expected travel time, for conservative travelers, the rigid arrival time requirements are not surely met due to the lack of consideration for the worst-case travel time and reliability.

7. Conclusion

Considering the impact of stochastic time-dependent characteristics of urban road networks on daily travel, the shortest reliable path problem in stochastic time-dependent networks was studied. First, in the STD network, this article proposes a waiting time function at the signalized intersection and analyzes the waiting time characteristics at the signalized intersection and draws the conclusion that the waiting time at the signalized intersection is a continuous non-differentiable periodic function. Then, a method of network transformation is proposed, and the first mathematical induction method is used to prove that the stochastic time-dependent network can be reduced to a deterministic time-dependent network, and the feasibility of this method is verified. Finally, a shortest path algorithm that accounts for waiting time at signalization intersections is proposed. Compared with the traditional probabilistic methods, this article does not need the accurate probability distribution of uncertainty data, since the range of uncertainty can be derived from the historical data and the experience of decision makers. By setting up a simple numerical experiment that takes into account the reliability requirements of the time window and the travel time, the reliable travel time and path corresponding to different departure times are obtained, and the rigid arrival time requirements of travelers are satisfied. Therefore, the algorithm can more accurately describe the real traffic conditions.

The deficiency of the paper is that the treatment of phases at signal intersections does not take into account the yellow light time and all-red time, which is still a restrictive assumption in this case. Moreover, the test lacks the analysis of the effect of dynamic real-time traffic volume on travel time. How to apply the algorithm proposed in this paper to a larger traffic network to verify the effectiveness of the proposed model and algorithm may be the content of subsequent research.

Data Availability

The data used to support the findings of this study are available from the corresponding author upon request.

Conflicts of Interest

The authors declare that there are no conflicts of interest regarding the publication of this paper.

Acknowledgments

This study was supported by the Natural Science Foundation of Shandong Province (no. ZR2021MG021).