CN114170831A - City K time-varying shortest path acquisition method considering safety and efficiency - Google Patents
City K time-varying shortest path acquisition method considering safety and efficiency Download PDFInfo
- Publication number
- CN114170831A CN114170831A CN202111495756.4A CN202111495756A CN114170831A CN 114170831 A CN114170831 A CN 114170831A CN 202111495756 A CN202111495756 A CN 202111495756A CN 114170831 A CN114170831 A CN 114170831A
- Authority
- CN
- China
- Prior art keywords
- intersection
- node
- time
- starting
- label
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Classifications
-
- G—PHYSICS
- G08—SIGNALLING
- G08G—TRAFFIC CONTROL SYSTEMS
- G08G1/00—Traffic control systems for road vehicles
- G08G1/09—Arrangements for giving variable traffic instructions
- G08G1/0962—Arrangements for giving variable traffic instructions having an indicator mounted inside the vehicle, e.g. giving voice messages
- G08G1/0968—Systems involving transmission of navigation instructions to the vehicle
-
- G—PHYSICS
- G08—SIGNALLING
- G08G—TRAFFIC CONTROL SYSTEMS
- G08G1/00—Traffic control systems for road vehicles
- G08G1/01—Detecting movement of traffic to be counted or controlled
- G08G1/0104—Measuring and analyzing of parameters relative to traffic conditions
- G08G1/0125—Traffic data processing
-
- G—PHYSICS
- G08—SIGNALLING
- G08G—TRAFFIC CONTROL SYSTEMS
- G08G1/00—Traffic control systems for road vehicles
- G08G1/09—Arrangements for giving variable traffic instructions
- G08G1/0962—Arrangements for giving variable traffic instructions having an indicator mounted inside the vehicle, e.g. giving voice messages
- G08G1/0968—Systems involving transmission of navigation instructions to the vehicle
- G08G1/096833—Systems involving transmission of navigation instructions to the vehicle where different aspects are considered when computing the route
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Radar, Positioning & Navigation (AREA)
- Remote Sensing (AREA)
- Mathematical Physics (AREA)
- Chemical & Material Sciences (AREA)
- Analytical Chemistry (AREA)
- Navigation (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
- Traffic Control Systems (AREA)
Abstract
The invention discloses a city K time-varying shortest path obtaining method considering safety and efficiency, comprising the following steps: 1. acquiring a real-time urban road network map; 2. initializing a variable list tag for each intersection node; 3. obtaining pareto optimal label set through pareto ordering4. By passingThe intersection node in the system completes the forward update of the kth short path; 5. finding the node v from the starting point intersectionstartNode v of intersection to terminalendAnd the distance values and the shortest path are traced back and output. The invention can obtain K optimal travel paths with efficiency and safety taken into account, thereby ensuring personal travel safetyAnd the stability and the high efficiency of social traffic.
Description
Technical Field
The invention belongs to the field of vehicle navigation path optimization, and particularly relates to a method for acquiring a time-varying shortest path of an urban K time, which considers safety and efficiency.
Background
With the rapid increase of the automobile holding capacity of residents, a large number of users and a wide development space are obtained by navigation software, and the development of functions of reducing travel time, avoiding congestion, reducing charge and the like in a corresponding navigation algorithm provides great convenience for daily travel of people.
However, in the prior art, the following disadvantages exist, firstly, the existing navigation algorithm rarely establishes more definite relation with the future real-time road conditions, so that the navigation result is unlikely to be close to the actual situation; secondly, comprehensive consideration on risk cost and the like except time cost is lacked, and the existing algorithm cannot induce the vehicle to find an optimal path with lower travel cost and higher safety; thirdly, with the continuous enlargement of the urban road network scale, the journey selection between the origin and destination can have a plurality of different paths.
Disclosure of Invention
The invention aims to solve the defects of the prior art, and provides a method for acquiring the shortest time-varying urban K time path with safety and efficiency considered, so that K optimal travel paths with efficiency and safety considered can be obtained, and the safety of personal travel and the stability and high efficiency of social traffic are guaranteed.
In order to achieve the purpose, the invention adopts the following technical scheme:
the invention relates to a method for acquiring a time-varying shortest path of an urban K time with safety and efficiency considered, which is characterized by comprising the following steps:
step 1: defining parameters and initializing;
acquiring real-time road network data and obtaining an urban road network graph G ═ (V, A), wherein V represents an intersection node set, and V ═ V1,v2,v3,...,vn,...,vN},vnN represents the total number of the nodes of the N-th intersection, wherein N is 1,2,3.. N; let vstartIndicating the starting intersection node, vendRepresents an endpoint intersection node, and vstart、vend∈V;
Defining n intersection node vnThe kth short circuit of (a) indicates a node v from the starting intersectionstartReach the n intersection node vnThe kth route after the driving time and the driving risk are arranged in all the routes;
node v of any n-th intersectionnSet of tags D (v)n) Wherein the kth tag Dk(vn) Node v representing starting point intersectionstartReach the n-th intersection node v in the city road network graph GnIs the relevant property of the current kth short, i.e. Dk(vn)=(vn,dk(vn),ek(vn),pk(vn),qk(vn) Wherein d) isk(vn) Indicating a node v from the starting intersectionstartReach the n-th intersection node v in the city road network graph GnCurrent kth short-circuited driving time, ek(vn) Indicating a node v from the starting intersectionstartReach the n-th intersection node v in the city road network graph GnIs currently being usedRisk of kth short circuit, pk(vn) Indicating a node v from the starting intersectionstartReach the n intersection node vnRequired time dk(vn) And driving risk ek(vn) A corresponding predecessor intersection node; q. q.sk(vn) Indicating a node v from the starting intersectionstartReach the n intersection node vnThe kth short-circuit of (c) is at the tag set D (p) of the intersection node of the preceding drivek(vn) Tag number in); a denotes a set of links between intersection nodes, and a ═ aij=(vi,vj)|i,j=1,2,...N},(vi,vj) Represents the ith intersection node viTo the jth intersection node vjThe distance between, let omegaij(t) is the time t of the road section (v)i,vj) The running time weight value; if the ith intersection node viAnd j intersection node vjThere is no link between them, let omegaij(t) ± infinity; let epsilonij(t) is the time t of the road section (v)i,vj) The driving risk weight value; if the ith intersection node viAnd j intersection node vjThere is no link between them, let epsilonij(t)=+∞;
Defining the number of shortest paths as K;
defining a total label set as D; the h-th label in the total label set D is marked as Dh;
Defining P as the total number of labels in the total label set D;
definition ofSearching a pareto optimal label set in a total label set D under the mth iteration during the kth short circuit;
Defining a set R for storing each precursor intersection node of the path where the node is located in the process of backtracking the path of any intersection node;
definition of t0Is the departure time;
initializing intersection nodes v of starting point start1 st tag ofLabel set D (v) of any other n-th intersection noden) 1 st tag D in (1)1(vn) Are all initialized tovn≠vstart(ii) a Let D be { D ═ D1(vstart)};
Initializing k to 1, m to 1;
step 2: calculating the kth short path;
step 2.1.2: sequentially connecting the labels in the total label set D withThe tags in (1) are subjected to pareto comparison;
step 2.1.2.1: traversing the labels in the total label set D;
assigning P +1 to P, if P > P holds, then we will assign P +1 to PAssigning a value to D, and turning to the step 2.2; otherwise, getThe total number of the tags in (1) is W; making the current comparison frequency w equal to 0; wherein the \ representation removes the latter symbol from the former;
if W is true, then it willIs assigned toAnd updates W, turning to step 2.1.2.1; otherwise, after assigning w +1 to w, DpAndw th label ofComparing; wherein the content of the first and second substances,indicating label DpThe described nodes of the intersection are described as,indicating a node v from the starting intersectionstartNode reaching intersection in urban road network graph GThe current drive time of the kth short circuit,indicating a node v from the starting intersectionstartNode reaching intersection in urban road network graph GThe current driving risk of the kth short circuit,indicating a node v from the starting intersectionstartNode for reaching intersectionTime requiredAnd driving riskA corresponding predecessor intersection node;indicating a node v from the starting intersectionstartNode for reaching intersectionThe kth short-circuit of (2) a label set of a preceding drive intersection nodeThe label number in (1);presentation labelThe described nodes of the intersection are described as,indicating a node v from the starting intersectionstartNode reaching intersection in urban road network graph GThe current drive time of the kth short circuit,indicating a node v from the starting intersectionstartNode reaching intersection in urban road network graph GThe current driving risk of the kth short circuit,indicating a node v from the starting intersectionstartNode for reaching intersectionTime requiredAnd driving riskA corresponding predecessor intersection node;indicating a node v from the starting intersectionstartNode for reaching intersectionThe kth short-circuit of (2) a label set of a preceding drive intersection nodeThe label number in (1); if it isAnd isIf true, go to step 2.1.2.1;
if it isAnd isThen will beIs assigned toAssigning W-1 to W, assigning W-1 to W, and turning to step 2.1.2.2;
step 2.2: detecting a pareto optimal label set;
step 2.2.1: judging whether a terminal intersection v is foundendThe kth short circuit of (1);
if it isIf the value is empty, turning to the step 3; if not, then,judgment ofIn (1)Whether it is the terminal intersection vendIf yes, turning to step 2.2.2; otherwise, assigning m +1 to m, and turningStep 2.3;
step 2.2.2: judging whether a terminal intersection v is foundendK short circuits of (2):
if K is larger than K, turning to step 3; otherwise, after k +1 is assigned to k, making m equal to 1, and turning to step 2.3;
step 2.3: forward updating;
judgment ofIf the value is empty, assigning m +1 to m, and turning to the step 2.1; otherwise, from1 st tag ofGet its intersection nodeWill be provided withIs assigned toThen, the nodes of the current intersection are connectedAll adjacent intersection nodes are added into the temporary adjacent intersection node setThen turning to step 2.3.1;
judgment ofIf the current state is empty, turning to the step 2.3; otherwise, take outThe node of the first adjacent intersection is recorded asTurning to step 2.3.2;
step 2.3.2: loop detection;
order toNode of slave intersectionThe kth tag of (1)Get out the front-drive intersection nodeAnd label numberJudgment ofI.e. whether a ring is present, if yes, go to step 2.3.1; otherwise it will beAssigning a value to R, and continuously according to the nodes of the predecessor intersectionFirst in the set of labelsInformation of the front-driving intersection of each label is sent to the starting intersection vstartRepeating the above operations to backtrack if the whole process is completedIf no ring exists in the process, turning to the step 2.3.3;
step 2.3.3: updating the driving time and the driving risk of the feasible path;
fromTake out the running timeAnd driving riskAnd calculating the node v of the intersection from the starting pointstartThroughArrive atTemporary distance ofAnd intersection node v from the starting pointstartThroughArrive atTemporary driving risk of To representTime road sectionThe running time weight value;to representTime road sectionThe driving risk weight value; order toWill be provided withAssigning to D; turning to step 2.3.1;
and step 3: output vstartAnd vendThe shortest driving time, driving risk and path among K pieces of the bridge are determined;
according to the node v of the terminal intersectionendSet of tags D (v)end) Middle | D (v)end) L tags, from end point vendThe kth tag (v)end,dk(vend),ek(vend),pk(vend),qk(vend) Start by passing p continuouslyk(vend) Backtracking the front-driving node to the intersection node v of the starting pointstartThereby obtaining a slave vstartTo vendTo obtain | D (v) from the k-th short pathend) I shortest path.
Compared with the prior art, the invention has the beneficial effects that:
1. the invention organically unifies the two important indexes of the driving time and the driving risk in the path selection by comprehensively analyzing the two important indexes, and comprehensively considers the two aspects of the driving time and the driving risk by pareto sorting. The method not only realizes the shortest time of selecting the route, but also greatly reduces the accident rate on each route, ensures the travel safety of residents to the maximum extent, and plays a positive role in maintaining the safety, stability and high efficiency of the social traffic network.
2. According to the invention, through analysis of a large amount of historical data counted by navigation software, the driving time of a road section and the relation between the driving risk and the time when a driver arrives at the road section are obtained, and only when the K shortest path is solved, the path planning can be dynamically carried out for the driver, the line condition can be more truly provided for the driver, and the traffic jam and the occurrence of traffic accidents can be reduced to a certain extent.
3. The method is particularly suitable for the conditions of complex urban road network structure and large road network node number, the optimal path search range is limited by adopting the K shortest path algorithm, and the planned path not only can meet the requirement of minimizing the driving risk of a single vehicle, but also fully relieves the urban traffic pressure, reduces the environmental pollution and realizes the reasonable allocation of road network resources under the condition of updating the road network traffic state information in real time.
4. The city K time-varying shortest-path problem considering safety and efficiency is degraded into a standard shortest-path problem if the driving risks of all road sections are 0, namely the city K time-varying shortest-path problem considering efficiency. If the driving time of all the road sections is 0, the problem is degraded to the standard safest road problem, namely a time-varying shortest-circuit problem in the safety-considered city K.
Drawings
FIG. 1 is a flowchart of a city K time-varying shortest path acquisition method considering security and efficiency dual objectives;
FIG. 2 is a flowchart illustrating the detailed steps of finding a pareto optimal tag set in FIG. 1;
FIG. 3 is a diagram of an exemplary network utilized in the present invention;
FIG. 4 is a diagram illustrating a pareto optimal label set and a total label set at the 1 st iteration when the 1 st short is found according to an exemplary embodiment of the present invention;
FIG. 5 is a diagram illustrating pareto optimal label sets and total label sets at the 7 th iteration when finding the 1 st short in the exemplary embodiment of the present invention;
FIG. 6 is a schematic diagram of the present invention showing the pareto optimal labels found when the 3 rd short circuit is found;
Detailed Description
In this embodiment, a method for acquiring a time-varying shortest path in an urban K time considering security and efficiency is described, where a specific flowchart is shown in fig. 1 and is performed according to the following processes:
step 1: defining parameters and initializing;
the method for obtaining real-time road network data and obtaining the city road network graph G ═ (V, a), the algorithm adopted by the invention is shown in fig. 3, for example, V represents the intersection node set, and V ═ V1,v2,v3,...,vn,...,vN},vnN represents the total number of the nodes of the N-th intersection, wherein N is 1,2,3.. N; let vstartIndicating the starting intersection node, vendRepresents an endpoint intersection node, and vstart、vend∈V;
Defining n intersection node vnThe kth short circuit is a path with the kth in the ascending order of the comprehensive evaluation of the driving time and the driving risk value in all found paths reaching the node;
node v of any n-th intersectionnSet of tags D (v)n) Wherein the kth tag Dk(vn) Node v representing starting point intersectionstartReach the n-th intersection node v in the city road network graph GnThe current kth short; let Dk(vn)=(vn,dk(vn),ek(vn),pk(vn),qk(vn) Wherein d) isk(vn) Indicating a node v from the starting intersectionstartReach the n-th intersection node v in the city road network graph GnCurrent kth short-circuited driving time value ek(vn) Indicating a node v from the starting intersectionstartReach the n-th intersection node v in the city road network graph GnCurrent kth short-circuit driving risk value, pk(vn) Indicating a node v from the starting intersectionstartReach the n intersection node vnRequired time value dk(vn) And driving risk value ek(vn) A corresponding predecessor intersection node; q. q.sk(vn) Indicating a node v from the starting intersectionstartReach the n intersection node vnThe kth short-circuit of (c) is at the tag set D (p) of the intersection node of the preceding drivek(vn) Tag number in); a denotes a set of links between intersection nodes, and a ═ aij=(vi,vj)|i,j=1,2,...N},(vi,vj) Represents the ith intersection node viTo the jth intersection node vjThe distance between, let omegaij(t) is a road section (v)i,vj) The running time weight value; if the ith intersection node viAnd j intersection node vjThere is no link between them, let omegaij(t) ± infinity; let epsilonij(t) is a road section (v)i,vj) The driving risk weight value; if the ith intersection node viAnd j intersection node vjThere is no link between them, let epsilonij(t) ± infinity; the time variable t here is of a continuous type; the time variable t is a discrete variable and is also applicable; in the present example, the time variable gap value is 10, and the specific driving time variable weight and driving risk time variable weight are shown in table 1; the driving risk is obtained by converting the accident occurrence rate;
table 1 is a sample road segment time varying weight table used in the present invention
Defining the number of shortest paths as K;
defining a total label set as D; the h-th label in the total label set D is marked as Dh;
Defining P as the total number of labels in the total label set D;
definition ofFinding a pareto optimal label set in a total label set D under the mth iteration when the kth shortest path is found;
defining a set R for storing each precursor intersection node of the path where the node is located in the process of backtracking the path of any intersection node;
definition of t0Is the departure time;
initializing intersection nodes v of starting point start1 st tag ofLabel set D (v) of any other n-th intersection noden) 1 st tag D in (1)1(vn) Are all initialized tovn≠vstart(ii) a Let D be { D ═ D1(vstart)};
Initializing k to 1, m to 1;
step 2: calculating the kth short path;
step 2.1.1: initializing a pareto optimal label set;
when k is 1 and m is 1, v is updated at this timestartAdjacent intersection node v1The first label in the label set is D1(v1)=(v1,20,40,vstart1), update vstartAdjacent intersection node v2Set of tags ofWherein the first label is D1(v2)=(v2,10,50,vstart1), mixing D with1(v1) And D1(v2) Placing in D; as shown in fig. 4;
step 2.1.2: the labels in the total label set D are sequentially connected withThe tags in (1) are subjected to pareto comparison;
step 2.1.2.1: traversing the labels in the total label set D;
assigning P +1 to P, if P > P holds, then we will assign P +1 to PAssigning a value to D, and turning to the step 2.2; otherwise, getThe total number of the tags in (1) is W; making the current comparison frequency w equal to 0; wherein the \ representation removes the latter symbol from the former;
if W is true, then it willIs assigned toAnd updates W, turning to step 2.1.2.1; otherwise, after assigning w +1 to w, DpAndw th label ofComparing; wherein the content of the first and second substances,
if it isAnd isThen will beIs assigned toAssigning W-1 to W, assigning W-1 to W, and turning to step 2.1.2.2;
step 2.2: detecting a pareto optimal label set;
step 2.2.1: judging whether a terminal intersection v is foundendThe kth short circuit of (1);
if it isIf the value is empty, turning to the step 3; if not, then,judgment ofIn (1)Whether it is the terminal intersection vendIf yes, turning to step 2.2.2; otherwise, assigning m +1 to m, and turning to the step 2.3;
when k is 1 and m is 7, the process is repeatedUpdate v4Adjacent intersection node v3The third label in the label set is D4(v3)=(v3,90,110,v4,3), update v4Adjacent intersection node vendThe fourth label in the label set is D4(vend)=(vend,80,90,v43), mixing D4(v3) And D4(vend) Placing in D; as shown in fig. 5;
step 2.2.2: judging whether a terminal intersection v is foundendK short circuits of (2):
if K is larger than K, turning to step 3; otherwise, assigning k +1 to k, enabling m to be 1, and turning to step 2.3;
step 2.3: forward updating;
otherwise, from1 st tag ofGet its intersection nodeWill be provided withIs assigned toCreating collectionsAnd join the node of the current intersectionAll adjacent intersection nodes of (1); then turning to step 2.3.1;
judgment ofIf the current state is empty, turning to the step 2.3; otherwise, take outThe node of the first adjacent intersection is recorded asTurning to step 2.3.2;
step 2.3.2: loop detection;
order toNode of slave intersectionThe kth tag of (1)Get out the front-drive intersection nodeAnd label numberWill be provided withAssigning a value to R, and continuously according to the first label in the precursor intersection node label setInformation of the front-driving intersection of each label is sent to the starting intersection vstartBacktracking is carried out, and each backtracking precursor intersection node is added into the set R; judging in the whole backtracking processNamely whether the adjacent intersection node which is updated currently through the forward direction is contained in the RIf so, it indicates thatSo that a loop exists, and the process is shifted to step 2.3.1; otherwise, turning to step 2.3.3;
step 2.3.3: updating the time value and the driving risk value of the feasible path;
fromTaking outCalculating the node v of the intersection from the starting pointstartThroughArrive atTemporary distance value ofAnd intersection node v from the starting pointstartThroughArrive atTemporary driving risk valueOrder toHandleAssigning to D; turning to step 2.3.1;
and step 3: output vstartAnd vendThe shortest driving time, driving risk and path among K pieces of the bridge are determined;
according to the node v of the terminal intersectionendSet of tags D (v)end) Middle | D (v)end) I tags, sequentially will | D (v)end) The intersection nodes where the | paths pass, the driving time and the driving risk are output; wherein, the passed intersection nodes are output in a backtracking mode, and one of the labels is recorded as (v)end,dk(vend),ek(vend),pk(vend),qk(vend) Constantly passing through pk(vend) Backtracking the front-driving node to the intersection node v of the starting pointstartObtaining a piece of slave vstartTo vendThe kth short full path of (1); when the intersection is ended, a schematic diagram obtained by sequencing all found pareto optimal labels in each intersection node is shown in fig. 6; it can be seen that v is reachedendThe driving time of the first short circuit is 50, and the driving risk is 80; reaches vendThe driving time of the second short circuit is 70, and the driving risk is 90; reaches vendThe driving time of the third short circuit is 70 and the driving risk is 95.
Claims (1)
1. A city K time-varying shortest path obtaining method considering safety and efficiency is characterized by comprising the following steps:
step 1: defining parameters and initializing;
acquiring real-time road network data and obtaining an urban road network graph G ═ (V, A), wherein V represents an intersection node set, and V ═ V1,v2,v3,...,vn,...,vN},vnN represents the total number of the nodes of the N-th intersection, wherein N is 1,2,3.. N; let vstartIndicating the starting intersection node, vendRepresents an endpoint intersection node, and vstart、vend∈V;
Defining n intersection node vnThe kth short circuit of (a) indicates a node v from the starting intersectionstartReach the n intersection node vnThe kth route after the driving time and the driving risk are arranged in all the routes;
node v of any n-th intersectionnSet of tags D (v)n) Wherein the kth tag Dk(vn) Node v representing starting point intersectionstartReach the n-th intersection node v in the city road network graph GnIs the relevant property of the current kth short, i.e. Dk(vn)=(vn,dk(vn),ek(vn),pk(vn),qk(vn) Wherein d) isk(vn) Indicating a node from the starting pointPoint vstartReach the n-th intersection node v in the city road network graph GnCurrent kth short-circuited driving time, ek(vn) Indicating a node v from the starting intersectionstartReach the n-th intersection node v in the city road network graph GnCurrent kth short-circuit risk, pk(vn) Indicating a node v from the starting intersectionstartReach the n intersection node vnRequired time dk(vn) And driving risk ek(vn) A corresponding predecessor intersection node; q. q.sk(vn) Indicating a node v from the starting intersectionstartReach the n intersection node vnThe kth short-circuit of (c) is at the tag set D (p) of the intersection node of the preceding drivek(vn) Tag number in); a denotes a set of links between intersection nodes, and a ═ aij=(vi,vj)|i,j=1,2,...N},(vi,vj) Represents the ith intersection node viTo the jth intersection node vjThe distance between, let omegaij(t) is the time t of the road section (v)i,vj) The running time weight value; if the ith intersection node viAnd j intersection node vjThere is no link between them, let omegaij(t) ± infinity; let epsilonij(t) is the time t of the road section (v)i,vj) The driving risk weight value; if the ith intersection node viAnd j intersection node vjThere is no link between them, let epsilonij(t)=+∞;
Defining the number of shortest paths as K;
defining a total label set as D; the h-th label in the total label set D is marked as Dh;
Defining P as the total number of labels in the total label set D;
definition ofSearching a pareto optimal label set in a total label set D under the mth iteration during the kth short circuit;
defining a set R for storing each precursor intersection node of the path where the node is located in the process of backtracking the path of any intersection node;
definition of t0Is the departure time;
initializing intersection nodes v of starting pointstart1 st tag ofLabel set D (v) of any other n-th intersection noden) 1 st tag D in (1)1(vn) Are all initialized tovn≠vstart(ii) a Let D be { D ═ D1(vstart)};
Initializing k to 1, m to 1;
step 2: calculating the kth short path;
step 2.1.2: sequentially connecting the labels in the total label set D withThe tags in (1) are subjected to pareto comparison;
step 2.1.2.1: traversing the labels in the total label set D;
assigning P +1 to P, if P > P holds, then we will assign P +1 to PAssigning a value to D, and turning to the step 2.2; otherwise, getThe total number of the tags in (1) is W; making the current comparison frequency w equal to 0; wherein the \ representation removes the latter symbol from the former;
if W is true, then it willIs assigned toAnd updates W, turning to step 2.1.2.1; otherwise, after assigning w +1 to w, DpAndw th label ofComparing; wherein the content of the first and second substances, indicating label DpThe described nodes of the intersection are described as,indicating a node v from the starting intersectionstartNode reaching intersection in urban road network graph GThe current drive time of the kth short circuit,indicating a node v from the starting intersectionstartNode reaching intersection in urban road network graph GThe current driving risk of the kth short circuit,indicating a node v from the starting intersectionstartNode for reaching intersectionTime requiredAnd driving riskA corresponding predecessor intersection node;indicating a node v from the starting intersectionstartNode for reaching intersectionThe kth short-circuit of (2) a label set of a preceding drive intersection nodeThe label number in (1); presentation labelThe described nodes of the intersection are described as,indicating a node v from the starting intersectionstartNode reaching intersection in urban road network graph GThe current drive time of the kth short circuit,indicating a node v from the starting intersectionstartNode reaching intersection in urban road network graph GThe current driving risk of the kth short circuit,indicating a node v from the starting intersectionstartNode for reaching intersectionTime requiredAnd driving riskA corresponding predecessor intersection node;indicating a node v from the starting intersectionstartNode for reaching intersectionThe kth short-circuit of (2) a label set of a preceding drive intersection nodeThe label number in (1); if it isAnd isIf true, go to step 2.1.2.1;
if it isAnd isThen will beIs assigned toAssigning W-1 to W, assigning W-1 to W, and turning to step 2.1.2.2;
step 2.2: detecting a pareto optimal label set;
step 2.2.1: judging whether a terminal intersection v is foundendThe kth short circuit of (1);
if it isIf the value is empty, turning to the step 3; if not, then,judgment ofIn (1)Whether it is the terminal intersection vendIf yes, turning to step 2.2.2; otherwise, assigning m +1 to m, and turning to the step 2.3;
step 2.2.2: judging whether a terminal intersection v is foundendK short circuits of (2):
if K is larger than K, turning to step 3; otherwise, after k +1 is assigned to k, making m equal to 1, and turning to step 2.3;
step 2.3: forward updating;
judgment ofIf the value is empty, assigning m +1 to m, and turning to the step 2.1; otherwise, from1 st tag ofGet its intersection nodeWill be provided withIs assigned toThen, the nodes of the current intersection are connectedAll adjacent intersection nodes are added into the temporary adjacent intersection node setThen turning to step 2.3.1;
judgment ofIf the current state is empty, turning to the step 2.3; otherwise, take outThe node of the first adjacent intersection is recorded asTurning to step 2.3.2;
step 2.3.2: loop detection;
order toNode of slave intersectionThe kth tag of (1)Get out the front-drive intersection nodeAnd label numberJudgment ofI.e. whether a ring is present, if yes, go to step 2.3.1; otherwise it will beAssigning a value to R, and continuously according to the nodes of the predecessor intersectionFirst in the set of labelsInformation of the front-driving intersection of each label is sent to the starting intersection vstartRepeating the above operations for backtracking, and if no loop exists in the whole process, turning to the step 2.3.3;
step 2.3.3: updating the driving time and the driving risk of the feasible path;
fromTake out the running timeAnd driving riskAnd calculating the node v of the intersection from the starting pointstartThroughArrive atTemporary distance ofAnd intersection node v from the starting pointstartThroughArrive atTemporary driving risk of To representTime road sectionThe running time weight value;to representTime road sectionThe driving risk weight value; order toWill be provided withAssigning to D; turning to step 2.3.1;
and step 3: output vstartAnd vendThe shortest driving time, driving risk and path among K pieces of the bridge are determined;
according to the node v of the terminal intersectionendSet of tags D (v)end) Middle | D (v)end) L tags, from end point vendThe kth tag (v)end,dk(vend),ek(vend),pk(vend),qk(vend) Start by passing p continuouslyk(vend) Backtracking the front-driving node to the intersection node v of the starting pointstartThereby obtaining a slave vstartTo vendTo obtain | D (v) from the k-th short pathend) I shortest path.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111495756.4A CN114170831B (en) | 2021-12-09 | 2021-12-09 | City K time-varying shortest path acquisition method considering safety and efficiency |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111495756.4A CN114170831B (en) | 2021-12-09 | 2021-12-09 | City K time-varying shortest path acquisition method considering safety and efficiency |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114170831A true CN114170831A (en) | 2022-03-11 |
CN114170831B CN114170831B (en) | 2022-09-13 |
Family
ID=80484778
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111495756.4A Active CN114170831B (en) | 2021-12-09 | 2021-12-09 | City K time-varying shortest path acquisition method considering safety and efficiency |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114170831B (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101739817A (en) * | 2009-11-26 | 2010-06-16 | 西北工业大学 | Shortest path planning method for dynamic origins |
WO2017015951A1 (en) * | 2015-07-28 | 2017-02-02 | 苏州大学张家港工业技术研究院 | Uncontrolled intersection vehicle passing guiding system based on vehicle-road cooperation and guiding method therefor |
US20180308371A1 (en) * | 2017-04-19 | 2018-10-25 | Beihang University | Joint search method for uav multiobjective path planning in urban low altitude environment |
CN112435498A (en) * | 2020-11-23 | 2021-03-02 | 合肥工业大学 | Urban road network shortest path acquisition method based on directivity induction |
CN112991801A (en) * | 2021-03-05 | 2021-06-18 | 合肥工业大学 | Optimal safety path obtaining method based on time-varying road condition |
-
2021
- 2021-12-09 CN CN202111495756.4A patent/CN114170831B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101739817A (en) * | 2009-11-26 | 2010-06-16 | 西北工业大学 | Shortest path planning method for dynamic origins |
WO2017015951A1 (en) * | 2015-07-28 | 2017-02-02 | 苏州大学张家港工业技术研究院 | Uncontrolled intersection vehicle passing guiding system based on vehicle-road cooperation and guiding method therefor |
US20180308371A1 (en) * | 2017-04-19 | 2018-10-25 | Beihang University | Joint search method for uav multiobjective path planning in urban low altitude environment |
CN112435498A (en) * | 2020-11-23 | 2021-03-02 | 合肥工业大学 | Urban road network shortest path acquisition method based on directivity induction |
CN112991801A (en) * | 2021-03-05 | 2021-06-18 | 合肥工业大学 | Optimal safety path obtaining method based on time-varying road condition |
Non-Patent Citations (3)
Title |
---|
HAI-BO MU 等: "Shortest path algorithm for road network with traffic restriction", 《2009 2ND INTERNATIONAL CONFERENCE ON POWER ELECTRONICS AND INTELLIGENT TRANSPORTATION SYSTEM (PEITS)》 * |
杨丽娟 等: "基于Dijkstra拓展算法路线优化", 《长春工业大学学报》 * |
范文等: "时变网络环境下城市应急救援路径优化", 《计算机应用》 * |
Also Published As
Publication number | Publication date |
---|---|
CN114170831B (en) | 2022-09-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107545320B (en) | Urban rail transit passenger path planning method and system based on graph theory | |
CN105844362B (en) | Urban traffic comprehensive trip decision-making device | |
JP4975711B2 (en) | Using multiple cost levels for route discovery calculations | |
Veloso et al. | Sensing urban mobility with taxi flow | |
CN111898793B (en) | Path selection method considering user perception difference in combined travel mode | |
CN107103169B (en) | Traffic network balance calculation method for meeting travel continuation requirements | |
CN113987103B (en) | Combined travel path searching method and system for urban comprehensive transportation network | |
CN113837446A (en) | Multi-source heterogeneous data-based airport land side area traffic situation prediction method | |
CN100542117C (en) | A kind of method for searching path based on complex network quotient space model | |
CN115060278A (en) | Intelligent vehicle battery replacement navigation method and system based on multi-target genetic algorithm | |
CN114170831B (en) | City K time-varying shortest path acquisition method considering safety and efficiency | |
Kanoh et al. | Route guidance with unspecified staging posts using genetic algorithm for car navigation systems | |
CN111882092B (en) | Taxi vehicle searching method suitable for shared trip | |
Falek et al. | Muse: Multimodal separators for efficient route planning in transportation networks | |
CN109741597B (en) | Bus section operation time prediction method based on improved deep forest | |
Zündorf | Multimodal journey planning and assignment in public transportation networks | |
CN116187605A (en) | Bus network line selection method based on GIS technology | |
CN112069391B (en) | Geohash-based cargo forward road carpooling method | |
CN110827563B (en) | Parking guidance system and method based on most reliable path | |
Luo et al. | A new memetic algorithm to solve the stochastic tsp | |
CN111275970A (en) | Optimal route planning method considering real-time bus information | |
CN110220526A (en) | ANPR vehicle guidance scheme generation method based on path time value | |
CN116341921B (en) | Data-driven urban rail transit transfer joint capacity assessment method | |
CN116701495B (en) | Subway-bus composite network key station identification method | |
Pan et al. | Road Network Modeling with Layered Abstraction for Path Discovery in Vehicle Navigation Systems. |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |