CN105139685B - A kind of road network evacuation planning method based on maximum flow rate heat source - Google Patents
A kind of road network evacuation planning method based on maximum flow rate heat source Download PDFInfo
- Publication number
- CN105139685B CN105139685B CN201510451828.3A CN201510451828A CN105139685B CN 105139685 B CN105139685 B CN 105139685B CN 201510451828 A CN201510451828 A CN 201510451828A CN 105139685 B CN105139685 B CN 105139685B
- Authority
- CN
- China
- Prior art keywords
- node
- path
- max
- collection
- capacity
- 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.)
- Active
Links
Landscapes
- Navigation (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
It is in being applied to simulate oriented road network structure, it is characterized in that following steps are carried out the invention discloses a kind of road network evacuation planning method based on maximum flow rate heat source:1st, construct super source node and be associated with oriented road network structure;2 road network evacuation planning parameters are defined;The Path selection of 3 evacuation plannings.The present invention has considered the evacuation time in required evacuation path and has evacuated the aspect influence of capacity two, in the hope of in each Path selection, the evacuation path that most capacity are evacuated in most short evacuation time can be always selected, so as to improve the evacuation efficiency of the road network evacuation planning.
Description
Technical field
The invention belongs to path planning, information processing, Geomatics field, and it is related to the application of graph theory, specifically
Say it is a kind of road network evacuation planning method based on maximum flow rate heat source.
Background technology
Today's society, the metropolitan density of population is increasing, and the situation of urban traffic blocking is also increasingly protruded, this
Outward, can the densification of urban population bring the problem that evacuate harm reduction influence in time when Disaster Event occurs, because
This, road network evacuates problem and is increasingly becoming people's problem urgently to be resolved hurrily.The path planning of science how is carried out to refer to
Lead and control to treat the action path of population in Evacuation area, will with as big as possible evacuation efficiency and evacuation time as small as possible
The region specified is transferred to the masses'safety of devastated, with important real Research Significance.
For such case, such issues that there has been proposed a variety of algorithm models to solve, such as traditional linear gauge
Draw and the method such as analog simulation.Later, also occur in that a kind of method of entitled heuritic approach in academia solve it is this kind of dredge
The problem of dissipating.One time, a variety of similar heuritic approaches like surging clouds went out, and such as greedy algorithm recalls algorithm, adverse current algorithm
Etc. emerge in an endless stream.Several years ago, Lu Qingsong professors propose a kind of heuritic approach of CCRP on the basis of MRCCP algorithms
Thought, the heat source for always allowing evacuation path short every time in the case where capacity is evacuated in limitation is evacuated, in practice it has proved that,
Efficiency of the efficiency of CCRP than MRCCP improves.Later, have scholar CCRP basis on, it is proposed that it is various
Modified hydrothermal process, has plenty of path-first algorithm long, some proposition intelligence off-load algorithms.However, these algorithm ideas are generated
Evacuation path always because the resource of residual capacity on path can not be made full use of, extend evacuate every time Path selection when
Between and evacuation time, therefore total evacuation time is inevitably influenced whether, so as to the evacuation for causing road network evacuation planning is imitated
Rate is low.
The content of the invention
The present invention is to overcome the deficiencies in the prior art part, it is proposed that a kind of road network based on maximum flow rate heat source is dredged
Planing method is dissipated, the evacuation time in required evacuation path has been considered and has been evacuated the aspect influence of capacity two, in the hope of on each road
When footpath selects, the evacuation path that most capacity are evacuated in most short evacuation time can be always selected, so as to improve the road network
The evacuation efficiency of evacuation planning.
The present invention is adopted the following technical scheme that to solve above technical problem:
A kind of road network evacuation planning method based on maximum flow rate heat source of the present invention, is to be applied to simulate oriented road network
In structure G (V, E), in the oriented road network structure G (V, E) of simulation, V represents set of node, and has V={ Vs,Vz,Vd};VsTable
Show source node set, VzRepresent set of intermediate nodes;VdRepresent destination node collection;And have:Vs={ V1,V2,…,Vi,…,Va};ViRepresent
The source node set VsIn i-th source node, and Vi={ Vi,cap,Vi,occ, Vi,capRepresent the source node set VsIn i-th source
Node ViThe current capacity of node, Vi,occRepresent the source node set VsIn i-th source node ViInitial capacity to be evacuated, 1≤
i≤a;Vz={ Va+1,…,Vj,…,Vb, VjRepresent the set of intermediate nodes VzIn j-th intermediate node, and Vj={ Vj,cap,
Vj,capRepresent the set of intermediate nodes VzIn j-th intermediate node VjThe current capacity of node, a+1≤j≤b;Vd={ Vb+1,…,
Vk,…,Vc, VkRepresent the destination node collection VdIn k-th destination node, and Vk={ Vk,cap,Vk,occ, Vk,capRepresent described
Destination node collection VdIn k-th destination node VkThe current capacity of node, Vk,occRepresent the destination node collection VdIn k-th mesh
Node VkAccommodated evacuation capacity, b+1≤k≤c;E represents side collection, and has E={ e1,e2,…,eh,…,eH, ehRepresent
It is described the h articles in collection E while, it is assumed that the h articles side ehIt is by n-th in the set of node VhIndividual nodeSet out to its phase
Even n-thh' individual nodeTerminate generated side, and haveRepresent the h articles side eh's
Current capacity,Represent and pass through the h articles side ehTransit time;It is characterized in, the road network evacuation planning method is by such as
Lower step is carried out:
Step 1, the super source node V of construction0And be associated with the oriented road network structure G (V, E):
Step 1.1, the super source node V of structure0, and haveRepresent the super source node V0
Evacuation capacity;
Step 1.2, by the super source node V0Respectively with the source node set VsIn each source node be connected so that
Generation a bars side, is designated as Represent the super source node V0With the source node set VsIn
I source node ViBe connected generated side, and has: Represent the super source node V0With it is described
Source node set VsIn i-th source node ViBe connected generated sideCurrent capacity,Represent and saved by the super source
PointV 0With the source node set VsIn i-th source node ViBe connected generated sideTransit time;
Step 1.3, by the source node set VsIn i-th source node ViInitial capacity V to be evacuatedi,occIt is assigned toAnd makeRealize the super source node V0With the source node set VsIn i-th source node ViAssociation;
So as to realize the super source node V0With the association of the oriented road network structure G (V, E) of simulation;
Step 2, the definition of road network evacuation planning parameter:
Step 2.1, the definition of path planning parameter:
The definition moment is t, and for recording the time course of the evacuation planning, initializes t=0;
It is G (V, E) ' to define the oriented road network structure of the traversal path with time dimension, and evacuates shortest path for solving;
The path cost vector for defining t is Dt, and have Dt={ Dt,b+1,Dt,b+2,…,Dt,k,…,Dt,c, Dt,kRepresent
The path cost vector DtIn k-th component, and for storing t from the super source node V0To the purpose section
Point set VdIn k-th destination node VkThe minimum time cost for being spent;
The Path selection queue vector for defining t is Patht, and have Patht={ Pt,b+1,Pt,b+2,…,Pt,k,…,
Pt,c};Pt,kRepresent the Path selection queue vector PathtIn k-th component, and for storing t from described super
Source node V0To the destination node collection VdIn k-th destination node VkThe minimum time cost D for being spentt,kCorresponding road
Footpath, and it is designated as shortest path;
The path flow rate vector for defining t is Ratet, and have Ratet={ Rt,b+1,Rt,b+2,…,Rt,k,…,Rt,c},
Rt,kRepresent the path flow rate vector RatetIn k-th component, and for storing Path selection queue vector described in t
PathtIn k-th component Pt,kThe ratio of the current capacity of the maximum of upper receiving and transit time, i.e., from the super source node V0
To the destination node collection VdIn k-th destination node VkShortest path Pt,kFlow rate;
Define the path flow rate vector Rate of ttMiddle largest component is maximum flow rate Rt,max;
T is defined by the Path selection queue vector PathtIn maximum flow rate Rt,maxCorresponding shortest path,
It is maximum flow rate path, is designated as Pt,max;
Define path output queue collection and be combined into OutPut_Path, and initialize the path output queue set OutPut_
Path is sky;
Step 2.2, road network state parameter are defined and initialized:
Defining the current capacity nodes collection of t isFor all nodes in representing the set of node V in the surplus of t
Remaining current capacity, and have Represent m-th node V in the set of node VmIn the surplus of t
Remaining current capacity;
As t=0, initializationVm,capRepresent m-th node V in the set of node VmCurrent appearance
Amount, so as to obtain the current capacity nodes collection at t=0 moment
Define residual capacity time expanding node to integrate is Vcap, by the current capacity nodes collection at t=0 momentIt is stored in described
Residual capacity time expanding node collection VcapIn;
Merge it is described while collection E and while collection EV0In all sides, constitute side complete or collected works Eunion;
Defining the current capacity side collection of t is, for representing the side complete or collected works EunionIn each bar side in the surplus of t
Remaining current capacity, and haveAnd R=H+a;Represent the side complete or collected works EunionIn r
Residue current capacity of the bar side in t, it is assumed that the r articles current capacity of the residue on sideIt is by the set of node V and described
Super source node V0In n-thrIndividual node VnrSet out to coupled n-thr' individual nodeTerminate generated side in t
The current capacity of residue, and have
During t=0 moment, by the side complete or collected works EunionIn from n-thrIndividual node VnrSet out to coupled n-thr' individual section
PointTerminate the current capacity on generated sideIt is assigned toSo as to obtain the current capacity at t=0 moment
Side collection
Define residual capacity time extension side to integrate is Ecap, by the current capacity side collection at t=0 momentIt is stored in described surplus
Covolume amount time extension side collection EcapIn;
Step 3, the Path selection of evacuation planning:
Step 3.1, in t, carry out path planning parameter reset operation:
Step 3.1.1, parameter reset:
The path cost vector D of t is sett={ Dt,b+1,Dt,b+2,…,Dt,k,…,Dt,cIn each component value be just
It is infinitely great;The Path selection queue vector Path of t is sett={ Pt,b+1,Pt,b+2,…,Pt,k,…,Pt,cIn each vector value
It is sky;The path flow rate vector Rate of t is sett={ Rt,b+1,Rt,b+2,…,Rt,k,…,Rt,cIn each component value be
It is empty;The maximum flow rate R of t is sett,max=0;The maximum flow rate path P of t is sett,maxIt is sky;
Oriented road network structure G (V, the E) ' reset of step 3.1.2, the traversal path with time dimension:
The oriented road network structure G (V, E) is assigned to G (V, E) ';
According to the residual capacity time expanding node collection VcapMiddle remaining current capacity is corresponding to 0 node acquisition
Time dimension, and judge that in the node that the middle remaining current capacity of G (V, E) ' is 0 be invalid on corresponding time dimension;
Collection E in side is extended according to the residual capacity timecapMiddle remaining current capacity is the time corresponding to 0 side acquisition
Dimension, and judge that on the side that the middle remaining current capacity of G (V, E) ' is 0 be invalid on corresponding time dimension;So as to obtain
The oriented road network structure G (V, E) of traversal path with time dimension ';
Step 3.2, according to oriented road network structure G (V, the E) ' interior joint of the traversal path with time dimension and side whether
For invalid, travel through the oriented road network structure G (V, E) of the traversal path with time dimension ' in from the super source node V0Arrive
The destination node collection VdIn k-th destination node VkThe all paths passed through;
Choose and reach k-th destination node VkThe minimum path of time cost is spent in all paths passed through as the
K destination node VkShortest path and be stored in the Path selection queue vector Path of t respectivelytK-th component Pt,kIn;
So as to by the destination node collection VdThe shortest path of middle all purposes node is stored in the Path selection queue vector respectively
PathtIn corresponding component;
Step 3.3, by t Path selection queue vector PathtIn k-th component Pt,kThe time cost for being spent is deposited
Enter the path cost vector DtK-th component Dt,kIn, so as to by the destination node collection VdMiddle all purposes node is most
Short path spends time cost to be stored in the path cost vector D respectivelytIn corresponding component;
Step 3.4, acquisition t Path selection queue vector PathtIn k-th component Pt,kRepresented shortest path
On allow current maximum to evacuate capacity FPt,k;So as to obtain in t from the super source nodeV 0To the destination node collection
VdMaximum evacuation capacity set { F on the shortest path of middle all purposes nodePt,b+1,FPt,b+2,…,FPt,k,…,FPt,c};
Step 3.4.1, acquisition t Path selection queue vector PathtIn k-th component Pt,kRepresented shortest path
Footpath, is designated asAnd haveNt,kIt is most short described in representing
Path Pt,kIn remove super source node V0Outer passed through node total number;Represent the shortest path Pt,kMiddle passed through
nt,kIndividual node, 1≤nt,k≤Nt,k;
Step 3.4.2, obtain the shortest path P using formula (1)t,kIt is middle by the 0th nodeAnd pass through
N-tht,kIndividual nodeArrival timeSo as to obtain the shortest path Pt,kThe arrival time of middle passed through node
Collection
In formula (1),Represent in the side complete or collected works EunionIn, by the shortest path Pt,kIn from n-tht,k-1
Individual nodeSet out to coupled n-tht,kIndividual nodeTerminate the transit time on generated side;
Step 3.4.3, renewal road network state parameter:
Step 3.4.3.1, according to the shortest path Pt,kIt is middle by n-tht,kIndividual nodeArrival time
Inquire about the residual capacity time expanding node collection VcapIn whether include arrival timeCurrent capacity nodes collection
If not including, makeFor empty and be stored in the residual capacity time expanding node collection VcapIn;Otherwise, maintainNo
Become;
Inquire about the current capacity nodes collectionIn whether include described n-tht,kIndividual nodeIn arrival time
When the current node capacity of residueIf comprising maintainingIt is constant;Otherwise, by the shortest path Pt,k
It is middle by n-tht,kIndividual nodeThe current capacity of corresponding node in the set of node VIt is assigned toWillIt is stored in the current capacity nodes collectionIn;So as to realize the remaining current node
CapacityIt is stored in the residual capacity time expanding node collection VcapIn;
Step 3.4.3.2, step 3.4.3.1 is repeated, so as to obtain the shortest path Pt,kMiddle passed through node
Remaining node capacity in respective arrival time dimension, and it is sequentially stored into the residual capacity time expanding node collection VcapIn;
Step 3.4.3.3, according to the shortest path Pt,kIt is middle to pass through from n-tht,k- 1 nodeSet out to its
Connected n-tht,kIndividual nodeTerminate the arrival time on generated sideInquire about the residual capacity time extension side
Collection EcapIn whether include arrival timeWhen current capacity side collectionIf not including, orderFor empty and be stored in
The residual capacity time extension side collection EcapIn;Otherwise, maintainIt is constant;
Inquire about the current capacity side collectionIn whether include the shortest path Pt,kIn from n-tht,k- 1 nodeSet out to coupled n-tht,kIndividual nodeTerminate generated side in arrival timeWhen the current side of residue
CapacityIf comprising maintainingIt is constant;Otherwise, by the side complete or collected works EunionIn by described
Shortest path Pt,kIn from n-tht,k- 1 nodeSet out to coupled n-tht,kIndividual nodeTerminate generated side
Current capacityIt is assigned toWillIt is stored in the current capacity side collectionIn, so as to realize the remaining current edge capacityIt is stored in the residual capacity time extension side collection
EcapIn;
Step 3.4.3.4, step 3.4.3.3 is repeated, so as to obtain the shortest path Pt,kMiddle passed through side exists
Remaining edge capacity in respective arrival time dimension, and it is sequentially stored into the residual capacity time extension side collection EcapIn;
Step 3.4.4, the Path selection queue vector Path is obtained according to formula (2)tIn k-th component Pt,kInstitute's generation
Current maximum evacuation capacity is allowed on the shortest path of table
In formula (2),Represent the shortest path Pt,kOn n-tht,kIndividual nodeIn arrival timeWhen
The current capacity of residue;Represent from the shortest path Pt,kOn n-tht,k- 1 nodeSet out to
Coupled n-tht,kIndividual nodeTerminate generated side in arrival timeWhen the current capacity of residue;
Step 3.5, t is obtained using formula (3) from the super source node V0To the destination node collection VdIn k-th
Destination node VkShortest path flow rate Rt,k, so as to obtain t from the super source node V0To the destination node collection
VdThe flow rate vector of the shortest path of middle all purposes nodeAnd obtain the t
Path flow rate vector RatetMiddle maximum flow rate Rt,max:
Step 3.6, judge Rt,max=0 and V0,capWhether=0 set up, if all setting up, performs step 3.10;
If only Rt,max=0 sets up, then it represents that t Path selection queue vector PathtIt is invalid, and can not in t
Evacuated again, the value of t+1 is assigned to t, and return to step 3.1 recalculates evacuation planning path;
If all invalid, then it represents that moment Path selection queue vector PathtEffectively, and from the Path selection queue to
Amount PathtIt is middle by maximum flow rate Rt,maxCorresponding shortest path is selected, and is stored in the maximum flow rate path Pt,max, and be designated asAnd the maximum flow rate path Pt,maxIt is middle through celebrating a festival
The arrival time collection of point is designated asAnd have Represent the maximum flow rate path Pt,maxIn remove super source node V0Outer passed through node total number,Represent described
Maximum flow rate path Pt,maxMiddle passed throughIndividual node,Remember the maximum flow rate path Pt,max
Corresponding maximum capacity of evacuating is Ft,max;By the maximum flow rate path Pt,maxIn remove the super source node V0Outer pathway institute
The node of process is stored in the path output queue set OutPut_Path, and records maximum capacity and each node evacuated
Arrival time;And perform step 3.7;
Step 3.7, using formula (4) respectively to the maximum flow rate path Pt,maxThe residue on middle passed through node and side is led to
Row capacity is modified, and modified values are newly stored into the residual capacity time expanding node collection VcapDuring with the residual capacity
Between extend side collection EcapIn, so as to realize the residual capacity time expanding node collection VcapSide is extended with the residual capacity time
Collection EcapRenewal;
In formula (4),Represent the maximum flow rate path Pt,maxOnIt is individual
NodeSet out to coupledIndividual nodeTerminate generated side in arrival timeWhen
The current capacity of residue;Represent the maximum flow rate path Pt,maxOnIndividual nodeArrive
Up to the timeWhen the current capacity of residue;
Step 3.8, obtain the super source node V using formula (5)0In the current capacity V of the residue of t0,cap:V0, cop=
V0, cap-FT, max (5)
Step 3.9, judge V0,capWhether=0 set up, if so, then perform step 3.10;Otherwise, step 3.1 is performed;
Step 3.10, the evacuation planning terminate, and the path output queue collection in maximum flow rate path is stored described in acquisition
Close the final result of OutPut_Path.
Compared with the prior art, beneficial effects of the present invention are embodied in:
1st, the present invention is on the basis of existing CCRP heuritic approaches thought, has bypassed selection evacuation path most long and most
Short evacuation path, the concept of addition time dimension carrys out the state of Dynamic Maintenance network structure, reduces the selection of effective shortest path
Difficulty;Using the measure of path flow rate, evacuation capacity and dredging that evacuation path is spent on path are evacuated in comprehensive utilization
The time of dissipating, with the practicality for evacuating the flow rate in path to evaluate the evacuation path, strive for that maximum can be realized at each moment
Evacuation capacity;
2nd, the present invention adds time dimension dynamically to maintain most in the shortest path from source node to destination node is chosen
Short path collection, when destination node is chosen, preferential to reject invalid node under correspondence time dimension, road is reduced on invalid side
Footpath cost.When all traversal paths are completed, an optimal shortest path collection just can be obtained, it is achieved thereby that path cost
Minimum effect;
3rd, the present invention is on the basis of shortest path, using required shortest path evacuation capacity at a time and
Spend time taking proportionate relationship, i.e. flow rate value to judge the average evacuation capacity of this shortest path, choose wherein flow rate value maximum
Shortest path as the evacuation path at the moment, realize the maximum effect of the average passenger distributing volume in path;
4th, the evacuation path selected by the present invention is the evacuation capacity in foundation path and spends time taking proportionate relationship, therefore road
The dense degree of web frame is big not as its influence to existing evacuation planning algorithm to result influence degree of the invention,
Therefore the present invention has more preferable adaptability and stability.
Brief description of the drawings
Fig. 1 is road net model figure of the present invention;
Fig. 2 is the road net model figure containing super source node of present invention construction;
Fig. 3 is flow chart of the method for the present invention.
Specific embodiment
In the present embodiment, a kind of road network evacuation planning method based on maximum flow rate heat source, is to be applied to simulation to have
In to road network structure G (V, E), in oriented road network structure G (V, E) is simulated, V represents set of node, and has V={ Vs,Vz,Vd, structure
Make result as shown in Figure 1;VsRepresent source node set, VzRepresent set of intermediate nodes;VdRepresent destination node collection;And have:Vs={ V1,
V2,…,Vi,…,Va};ViRepresent source node set VsIn i-th source node, and Vi={ Vi,cap,Vi,occ, Vi,capRepresent source node
Collection VsIn i-th source node ViThe current capacity of node, Vi,occRepresent source node set VsIn i-th source node ViInitial wait to dredge
Dissipate capacity, 1≤i≤a, road network evacuation in, source node set represent be there is accident and population than comparatively dense place, such as
The places such as office block, supermarket, school;What set of intermediate nodes was represented is the cross junction run into during evacuation, is turned round
Place etc.;What destination node collection was represented is the last accumulation point of Evacuation during road network is evacuated, such as square, bomb shelter etc.;
These places are modeled as corresponding node in the present invention;As shown in figure 1, source node V2={ 50,15 }, wherein 50 represent
Source node V2The current capacity of node be 50, the current capacity for describing normal node;15 represent source node V2Initial wait to dredge
It is 15 to dissipate capacity, represents and is evacuating at first, and how many capacity the node needs to be evacuated;Current capacity is dredged with initial
Scattered capacity can be with equal, it is also possible to unequal;Vz={ Va+1,…,Vj,…,Vb, VjRepresent set of intermediate nodes VzIn in the middle of j-th
Node, and Vj={ Vj,cap, Vj,capRepresent set of intermediate nodes VzIn j-th intermediate node VjThe current capacity of node, a+1≤j
≤ b, as shown in figure 1, intermediate node V4={ 8 }, wherein 8 represent intermediate node V4The current capacity of node be 8;Vd=
{Vb+1,…,Vk,…,Vc, VkRepresent destination node collection VdIn k-th destination node, and Vk={ Vk,cap,Vk,occ, Vk,capRepresent
Destination node collection VdIn k-th destination node VkThe current capacity of node, Vk,occRepresent destination node collection VdIn k-th section of mesh
Point VkAccommodated evacuation capacity, b+1≤k≤c, as shown in figure 1, destination node V13={ 200,200 }, wherein first 200
Represent destination node V13Current capacity;Represent destination node V for second 20013The evacuation capacity that can be accommodated, i.e., in road network
The capacity evacuated and come from source node can be received in evacuation;V is set under usual statek,occWith Vk,capIt is equal;E represents side collection,
And have E={ e1,e2,…,eh,…,eH, ehWhen representing the h articles in collection E, it is assumed that the h articles side ehIt is by n-th in set of node Vh
Individual node VnhSet out to coupled n-thh' individual nodeTerminate generated side, nhAnd nh' node is represented respectivelyWith
NodeNode serial number in set of node V, and have Represent the h articles side ehIt is current
Capacity,Represent and pass through the h articles side ehTransit time;
As shown in figure 1, by intermediate node V8Set out to intermediate node V11The current capacity on the side of composition isBy
Intermediate node V8Set out to intermediate node V11The transit time on the side of composition isAs shown in figure 1, describing single file
The road network structure in road;Invention can also be used to describe the road network structure of two-way traffic, for example, can utilizeWithRepresent respectively by intermediate node V8Set out to intermediate node V11The side of end and by intermediate node V11Set out to centre
Node V8The current capacity on the side of end, both can with it is equal can also be unequal;Specific situation can be according in real world
Depending on road network True Data;
In the present embodiment, a kind of road network evacuation planning method based on maximum flow rate heat source is to enter according to the following procedure
OK:
Step 1, the super source node V of construction0And be associated with oriented road network structure G (V, E):Construction result such as Fig. 2 institutes
Show;
Step 1.1, the super source node V of structure0, and have Represent super source node V0Dredge
Capacity is dissipated, as shown in Fig. 2 according to source node V1, V2And V3Initial capacity sum to be evacuated, obtain V0={ 30 }, 30 represent structure
The super source node V for making0Evacuation capacity be 30;
Step 1.2, by super source node V0Respectively with source node set VsIn each source node be connected, so as to generate a bars
Side, is designated asei' represent super source nodeV 0With source node set VsIn i-th source node ViIt is connected
The side for being generated, and have:And have: Represent super source nodeV 0With source node set VsIn i-th
Source node ViBe connected generated side ei' current capacity,Represent and pass through super source node V0With source node set VsIn i-th
Individual source node ViBe connected generated side ei' transit time;
Step 1.3, by source node set VsIn i-th source node ViInitial capacity to be evacuatedIt is assigned toAnd makeRealize super source node V0With source node set VsIn i-th source node ViAssociation;So as to realize super source node V0
With the association for simulating oriented road network structure G (V, E), as shown in Fig. 2 super source node V0With source node V2The side e of phase adhesion2'=
{ 15,0 }, wherein 15 represent side e2' the current capacity in sideIt is 15;0 represents by side e2' the time cost for being spentIt is 0;
Step 2, the definition of road network evacuation planning parameter:
Step 2.1, the definition of path planning parameter:
The definition moment is t, and for recording the time course of evacuation planning, initializes t=0;
The oriented road network structure G (V, E) of traversal path of the definition with time dimension ', and evacuate shortest path for solving;
The path cost vector for defining t is Dt, and have Dt={ Dt,b+1,Dt,b+2,…,Dt,k,…,Dt,c, Dt,kRepresent
Path cost vector DtIn k-th component, and for storing t from super source nodeV 0To destination node collection VdIn k-th
Destination node VkThe minimum time cost for being spent;
The Path selection queue vector for defining t is Patht, and have Patht={ Pt,b+1,Pt,b+2,…,Pt,k,…,
Pt,c};Pt,kRepresent Path selection queue vector PathtIn k-th component, and for storing t from super source node V0Arrive
Destination node collection VdIn k-th destination node VkThe minimum time cost D for being spentt,kCorresponding path, and it is designated as shortest path
Footpath;
The path flow rate vector for defining t is Ratet, and have Ratet={ Rt,b+1,Rt,b+2,…,Rt,k,…,Rt,c},
Rt,kRepresent path flow rate vector RatetIn k-th component, and for storing t Path selection queue vector PathtIn
K-th component Pt,kThe ratio of the current capacity of the maximum of upper receiving and transit time, i.e., from super source node V0To destination node collection
VdIn k-th destination node VkShortest path Pt,kFlow rate;
Define the path flow rate vector Rate of ttMiddle largest component is maximum flow rate Rt,max;
T is defined by Path selection queue vector PathtIn maximum flow rate Rt,maxCorresponding shortest path, is most
Big flow rate path, is designated as Pt,max;
Define path output queue collection and be combined into OutPut_Path, and initialization path output queue set OutPut_Path
It is sky;
Step 2.2, road network state parameter are defined and initialized:
Defining the current capacity nodes collection of t isLead in the residue of t for all nodes in representing set of node V
Row capacity, and have Represent m-th node V in set of node VmPassed through in the residue of t and held
Amount;
As t=0, initializationVm,capRepresent m-th node V in set of node VmCurrent capacity, from
And obtain the current capacity nodes collection at t=0 moment
Define residual capacity time expanding node to integrate is Vcap, by the current capacity nodes collection at t=0 momentIt is stored in residue
Capacity time expanding node collection VcapIn;
Merge side collection E and by super source node V0Respectively with source node set VsIn each source node be connected so as to generation
Side collectionIn all sides, constitute side complete or collected works Eunion;
Defining the current capacity side collection of t isFor representing side complete or collected works EunionIn each bar side t residue lead to
Row capacity, and haveAnd R=H+a;Represent side complete or collected works EunionIn the r articles side in t
The current capacity of the residue at moment, it is assumed that the r articles current capacity of the residue on sideIt is by set of node V and super source node V0In
nrIndividual node VnrSet out to coupled n-thr' individual nodeTerminate residue current capacity of the generated side in t, and
HavenrAnd nr' node V is represented respectivelynrAnd nodeIn set of node V and super source node V0In node
Numbering;
When the t=0 moment, by side complete or collected works EunionIn from n-thrIndividual node VnrSet out to coupled n-thr' individual node
Terminate the current capacity on generated sideIt is assigned toSo as to obtain the current capacity side collection at t=0 moment
Define residual capacity time extension side to integrate is Ecap, by the current capacity side collection at t=0 momentIt is stored in remaining appearance
Amount time extension side collection EcapIn;
Step 3, the Path selection of evacuation planning:The flow chart of the bright middle routing resource of we is as shown in Figure 3:
Step 3.1, in moment t, carry out path planning parameter reset operation:
Performing step 3.1 can carry out the calculating in evacuation planning path to step 3.6;For mutually lower possible in the same time
There is a plurality of evacuation path, i.e., may have under synchronization it is multiple solve, it is necessary to successive ignition performs step 3.1 to step 3.6,
Therefore need to reset parameters described below before calculating every time, it is ensured that the railway network planning under current iteration number of times under current time
The validity of parameter, and calculate effective maximum flow rate path under current road network structure state;So as to guarantee in synchronization
Under obtain a plurality of different evacuation path to greatest extent;
Step 3.1.1, parameter reset:
The path cost vector D of t is sett={ Dt,b+1,Dt,b+2,…,Dt,k,…,Dt,cIn each component value be just
It is infinitely great;The Path selection queue vector Path of t is sett={ Pt,b+1,Pt,b+2,…,Pt,k,…,Pt,cIn each vector value
It is sky;The path flow rate vector Rate of t is sett={ Rt,b+1,Rt,b+2,…,Rt,k,…,Rt,cIn each component value be
It is empty;The maximum flow rate R of t is sett,max=0;The maximum flow rate path P of t is sett,maxIt is sky;
Oriented road network structure G (V, the E) ' reset of step 3.1.2, the traversal path with time dimension:
Oriented road network structure G (V, E) is assigned to G (V, E) ';
According to residual capacity time expanding node collection VcapMiddle remaining current capacity is the time corresponding to 0 node acquisition
Dimension, and judge that in the node that the middle remaining current capacity of G (V, E) ' is 0 be invalid on corresponding time dimension;
Collection E in side is extended according to the residual capacity timecapMiddle remaining current capacity is the time dimension corresponding to 0 side acquisition,
And judge that on the side that the middle remaining current capacity of G (V, E) ' is 0 be invalid on corresponding time dimension;So as to obtain the band time
The oriented road network structure G (V, E) of traversal path of dimension ';
For example, traversal path road network structure G (V, E) with time dimension ' in, it is assumed that from node V5Set out to node V8Knot
The side of beam moment t=5 residual capacity be 0, then by traversal path road network structure G (V, E) ' in this side set at the t=5 moment
It is invalid edges;
Whether step 3.2, it is nothing according to oriented road network structure G (V, the E) ' interior joint of the traversal path with time dimension and side
Effect, the traversal traversal path with time dimension oriented road network structure G (V, E) ' in from super source node V0To destination node collection VdIn
K-th destination node VkThe all paths passed through;
Choose and reach k-th destination node VkThe minimum path of time cost is spent in all paths passed through as the
K destination node VkShortest path and be stored in moment t Path selection queue vector Path respectivelytIn k-th component Pt,kIn;
So as to by destination node collection VdThe shortest path of middle all purposes node is stored in Path selection queue vector Path respectivelytAccordingly
In component;
Traditional shortest path first mainly has dijkstra's algorithm, A*Algorithm etc., adds time dimension to obtain most
Short path;In the present invention, by taking dijkstra's algorithm as an example, using a kind of improved dijkstra's algorithm:Using most rickle
Method optimizes the selection in Dijkstra to destination node;Assuming that set of node has been selected in the presence of one, in this has selected set of node,
Using minimum heaping method, from the oriented road network structure G (V, E) of the traversal path with time dimension ' in choose super source node V0
The minimum node of time cost is spent as transition node, further according to residual capacity time expanding node collection VcapAnd residual capacity
Time extension side collection EcapQuery Result, judge the effective of all sides with the destination node as starting point and corresponding terminal
Property, if invalid, it is invalid that the side is set to;If effectively, the information of corresponding terminal is added having selected in set of node, carry out
The searching operation of next node, until having traveled through all nodes, then can obtain the shortest path from source node to destination node
Footpath;As illustrated in fig. 2, it is assumed that step 3 is performed first in moment t=0, from super source node V0To destination node V13Path be
Example, obtains its shortest path P0,13={ V0,V1,V5,V8,V11,V13};
Step 3.3, by t Path selection queue vector PathtIn k-th component Pt,kThe time cost for being spent is deposited
Enter path cost vector DtIn k-th component Dt,kIn, so as to by destination node collection VdThe shortest path of middle all purposes node
Spent time cost is stored in path cost vector D respectivelytIn corresponding component;For example, the t=0 moment from super source node to
Destination node V13Shortest path P0,13={ V0,V1,V5,V8,V11,V13Spend time cost for path side transit time
Sum, is deposited into path cost vector D0,13In, D0,13=0+1+1+3+1=6;
Step 3.4, acquisition t Path selection queue vector PathtIn k-th component Pt,kRepresented shortest path
On allow current maximum to evacuate capacitySo as to obtain in t from super source nodeV 0To destination node collection VdIn own
Maximum evacuation capacity set { F on the shortest path of destination nodePt,b+1,FPt,b+2,…,FPt,k,…,FPt,c};
Step 3.4.1, acquisition t Path selection queue vector PathtIn k-th component Pt,kRepresented shortest path
Footpath, is designated asAnd haveNt,kRepresent shortest path
Pt,kIn remove super source node V0Outer passed through node total number;Represent shortest path Pt,kMiddle passed through n-tht,kIndividual section
Point, 1≤nt,k≤Nt,k;For example, the t=0 moment is from super source node V0To destination node V13Shortest path P0,13={ V0,V1,V5,
V8,V11,V13, except super source node V0Outer is 5 by node, then N0,13=5;
Step 3.4.2, obtain shortest path P using formula (1)t,kIt is middle by the 0th nodeAnd for passing through
nt,kIndividual nodeArrival timeSo as to obtain shortest path Pt,kThe arrival time collection of middle passed through node
In formula (1),Represent in side complete or collected works EunionIn, i.e. side collection E and super source node V0Respectively with source node
Collection VsIn the connected side collection E of each source nodeV0In, by shortest path Pt,kIn from n-tht,k- 1 nodeSet out to its
Connected n-tht,kIndividual nodeTerminate the transit time on generated side;For example, moment t=0 is from super source node V0To mesh
Node V13Shortest path P0,13={ V0,V1,V5,V8,V11,V13, shortest path P0,13In all nodes arrival time collection
It is { 0,0,1,2,5,6 };
Step 3.4.3, renewal road network state parameter:
Step 3.4.3.1, according to shortest path Pt,kIt is middle by n-tht,kIndividual nodeArrival timeInquiry
Residual capacity time expanding node collection VcapIn whether include arrival timeCurrent capacity nodes collectionIf not wrapping
Contain, then makeFor empty and be stored in residual capacity time expanding node collection VcapIn;Otherwise, maintainIt is constant;
The current capacity nodes collection of inquiryIn whether include n-tht,kIndividual nodeIn arrival timeWhen residue
Current node capacityIf comprising maintainingIt is constant;Otherwise, by shortest path Pt,kIt is middle by
nt,kIndividual nodeThe current capacity of corresponding node in set of node VIt is assigned toWillDeposit
Enter current capacity nodes collectionIn;So as to realize the current node capacity of residueIt is stored in the expansion of residual capacity time
Exhibition set of node VcapIn;
Step 3.4.3.2, step 3.4.3.1 is repeated, so as to obtain shortest path Pt,kMiddle passed through node is each
Remaining node capacity from arrival time dimension, and it is sequentially stored into residual capacity time expanding node collection VcapIn;
For example, it is assumed that performing step 3 first in moment t=0, current road network structure G (V, E) ' all nodes and side have
Effect, it is known that moment t=0 from super source node V is obtained by step 3.2 and step 3.4.2 respectively0To destination node V13Shortest path
Footpath P0,13={ V0,V1,V5,V8,V11,V13And P0,13In all nodes arrival time collection { 0,0,1,2,5,6 }, then source section
Point V1Arrival time t=0 residual capacity from step 2.2Expanded by the residual capacity time
Exhibition set of node VcapThe current capacity nodes collection at middle t=0 momentComprising then performing shortest path P0,13={ V0,V1,V5,
V8,V11,V13In next process node V5Operation;But such as V5In arrival time t=1, the residual capacity time expands
Exhibition set of node VcapIn not comprising current capacity nodes collectionThen makeFor empty and be stored in VcapIn;IfIn not comprising
Moment t=1 node V5The current node capacity of residueThen makeAnd willIt is stored in
In, realize byIt is stored in VcapIn;It is similar to successively, obtains intermediate node V8In the residual capacity of arrival time t=2Intermediate node V11In the residual capacity of arrival time t=5Destination node V13
In the residual capacity of arrival time t=6Successively by these nodes in its arrival time dimension
The current capacity nodes that remaining node capacity is stored in corresponding time dimension are concentrated, so as to realize holding the current node of these nodes
Amount is stored in VcapIn;
Step 3.4.3.3, according to shortest path Pt,kIt is middle to pass through from n-tht,k- 1 nodeSet out to coupled
N-tht,kIndividual nodeTerminate the arrival time on generated sideInquiry residual capacity time extension side collection EcapIn be
It is no comprising arrival timeWhen current capacity side collectionIf not including, orderFor empty and be stored in residual capacity
Time extension side collection EcapIn;Otherwise, maintainIt is constant;
The current capacity side collection of inquiryIn whether include shortest path Pt,kIn from n-tht,k- 1 nodeSet out
To coupled n-tht,kIndividual nodeTerminate generated side in arrival timeWhen the current edge capacity of residueIf comprising maintainingIt is constant;Otherwise, by side complete or collected works EunionIn by shortest path Pt,k
In from n-tht,k- 1 nodeSet out to coupled n-tht,kIndividual nodeTerminate the current capacity on generated sideIt is assigned toWillIt is stored in current capacity side collectionIn, thus realize by
The current edge capacity of residueIt is stored in residual capacity time extension side collection EcapIn;
Step 3.4.3.4, step 3.4.3.3 is repeated, so as to obtain shortest path Pt,kMiddle passed through side is respective
Remaining edge capacity in arrival time dimension, and it is sequentially stored into residual capacity time extension side collection EcapIn;
For example, shortest path P in above-mentioned example0,13={ V0,V1,V5,V8,V11,V13Each bar side residual capacity calculate such as
Under:For example by super source node V0Set out to source node V1End side arrival time t=0 residual capacityBy
Step 2.2 understandsBy residual capacity time extension side collection EcapThe current capacity side collection at middle t=0 momentIncluded in, then perform shortest path P0,13In next process side operation;By source node V1Set out in the middle of extension
Node V5Terminate residual capacity of the generated side in arrival time t=0WithIt is similar, held by residue
Amount time extension side collection EcapThe current capacity side collection E at middle t=0 momentc ( a 0 p )Comprising then continuing executing with shortest path P0,13In
The next operation on the side of process;
But for example by extension intermediate node V5Set out to extension intermediate node V8The side that is generated of end in arrival time
During t=1, it is E to integrate on residual capacity time extension sidecapIn not comprising current capacity side collectionThen makeIt is sky, and willIt is stored in EcapIn;If current capacity side collectionIn not comprising remaining current edge capacityThen make
And be stored inIn, thus realize byIt is stored in EcapIn;It is similar to successively, by extension intermediate node V8Set out to extension
Intermediate node V11The side that is generated of end arrival time t=2 residual capacityBy extension intermediate node
V11Set out to destination node V13The side that is generated of end arrival time t=5 residual capacitySuccessively
These are concentrated when the remaining edge capacity in its arrival time dimension is stored in the current capacity of corresponding time dimension, so that real
The current edge capacity on these sides is now stored in EcapIn;
Step 3.4.4, Path selection queue vector Path is obtained according to formula (2)tIn k-th component Pt,kRepresented
Current maximum evacuation capacity F is allowed on shortest pathPt,k:
In formula (1),Represent shortest path Pt,kOn n-tht,kIndividual nodeIn arrival timeWhen it is surplus
Remaining current capacity, by residual capacity time expanding node collection VcapMiddle acquisition;Represent from shortest path Pt,kOn
N-tht,k- 1 nodeSet out to coupled n-tht,kIndividual nodeTerminate generated side in arrival timeWhen the current capacity of residue, by residual capacity time extension side collection EcapMiddle acquisition;
For example, examples cited in step 3.4.3, it is assumed that perform step 4 first in moment t=0, current oriented road network structure
All nodes and side in G (V, E) ' are all effective, obtain V0,cap=30, shortest path P0,13={ V0,V1,V5,V8,V11,V13In
Node { V1,V5,V8,V11,V13The current capacity of residue in each corresponding arrival time dimension { 0,1,2,5,6 } is
{ 50,6,30,18,200 }, the current capacity of residue of each side in each corresponding arrival time dimension { 0,0,1,2,5 } is
{ 10,5,4,7,6 }, then being obtained using formula (2) allows the current maximum capacity of evacuating to be above this shortest path
Step 3.5, t is obtained using formula (3) from super source node V0To destination node collection VdIn k-th destination node
VkShortest path flow rate Rt,k, for example, shortest path P0,13Flow rate R0,13=FP0,13/D0,13=4/6=0.677;So as to
Obtain t from super source node V0To destination node collection VdThe flow rate vector Rate of the shortest path of middle all purposes nodet=
{Rt,b+1,Rt,b+2,…,Rt,k,…,Rt,c};And obtain the path flow rate vector Rate of ttMiddle maximum flow rate Rt,max:
Rt,k=FPt,k/Dt,k (3)
Step 3.6, judge Rt,max=0 and V0,capWhether=0 set up, if all setting up, performs step 3.10;
If only Rt,max=0 sets up, then it represents that t Path selection queue vector PathtIt is invalid, and can not in t
Evacuated again, the value of t+1 is assigned to t, and return to step 3.1 recalculates evacuation planning path;
If all invalid, then it represents that in t Path selection queue vector PathtEffectively, one can be selected to can perform
Evacuation path, and from Path selection queue vector PathtIt is middle by maximum flow rate Rt,maxCorresponding shortest path is selected, and is stored in
Maximum flow rate path Pt,max, and be designated asAnd max-flow
Rate path Pt,maxMiddle the arrival time collection by nodeAnd haveNt,max' represent maximum flow rate path Pt,maxIn remove super source node V0Outer passed through node is total
Number,Represent maximum flow rate path Pt,maxMiddle passed through n-tht,max' individual node, 1≤nt,max′≤Nt,max′;Note is maximum
Flow rate path Pt,maxCorresponding maximum capacity of evacuating is Ft,max;
As shown in figure 3, obtaining maximum flow rate and corresponding shortest path according to this step;By maximum flow rate path Pt,maxIn
Except super source node V0The node that outer pathway is passed through is stored in path output queue set OutPut_Path, and records maximum
The arrival time of capacity and each node is evacuated, for example, in oriented road network structure as shown in Figure 2, it is assumed that this step is obtained first
Shortest path P with maximum flow ratet,maxIt is at the t=0 moment from super source node V0To destination node V13Shortest path
P0,13={ V0,V1,V5,V8,V11,V13And path in all nodes corresponding arrival time collection { 0,0,1,2,5,6 }, it is allowed to it is logical
Capable maximum capacity of evacuating is FP0,13=4, as shown in the first row output in table 1, except super source node is not written into, other nodes are adopted
Write with the form of "-node (arrival time) ", path planning form is V1 (0)-V5 (1)-V8 (2)-V11 (5)-V13 (6);
The source node of the shortest path is V1, the destination node of arrival is V13, the maximum capacity of evacuating on path is 4, performs the evacuation
The time cost that path is spent is 6;And perform step 3.7;
Step 3.7, using formula (4) respectively to maximum flow rate path Pt,maxThe residue on middle passed through node and side is current to be held
Amount is modified, and modified values are newly stored into residual capacity time expanding node collection VcapWith residual capacity time extension side collection Ecap
In, so as to realize residual capacity time expanding node collection VcapWith residual capacity time extension side collection EcapIn each component value more
Newly;
In formula (4),Represent maximum flow rate path Pt,maxOn n-tht,max' -1 nodeIt is dealt into coupled n-tht,max' individual nodeTerminate generated side in arrival timeWhen residue lead to
Row capacity;Represent maximum flow rate path Pt,maxOn n-tht,max' individual nodeIn arrival timeWhen the current capacity of residue;
For example, examples cited in step 3.4.3, obtain first with maximum flow rate path P0,13={ V0,V1,V5,V8,
V11,V13In, extend intermediate node V5Initial residual capacity in arrival time t=1Calculated using formula (4)
After obtainExtension intermediate node V8Residual capacity in arrival time t=2Obtained after being calculated using formula (4)Other nodes are right in each institute
The residual capacity in arrival time dimension answered calculates acquisition successively;In maximum flow rate path institute by each side each corresponding
Arrival time on residual capacity calculate operation it is all similar, by extension intermediate node V5Set out to extension intermediate node V8
Terminating residual capacity of the generated side in arrival time t=1 isObtained after being calculated using formula (4)Residual capacity is 0, it is meant that as shown in step 4.1, and the side will be at the t=1 moment
It is invalid;Residual capacity of remaining side on the time dimension of corresponding arrival time can successively calculate acquisition;
Therefore, it is sequentially completed residual capacity time expanding node collection VcapWith residual capacity side collection EcapIn each component value
Renewal;
Step 3.8, obtain super source node V using formula (5)0In the current capacity V of the residue of moment t0,cap, calculating gained is
The current available capacity for also needing to evacuate:
V0, cap-V0, cap=FT, max (5)
Step 3.9, judge V0,capWhether=0 set up, if so, then perform step 3.10;Otherwise, step 3.1 is performed, this
Place turns to the calculating that step 3.1 re-executes a new round, the value of t+1 is not assigned into t, it is meant that may be used also under current time t
Can there is an evacuation path, what will be performed is the iterative calculation in the maximum flow rate path of a new round under current time t;
Step 3.10, evacuation planning terminate, and acquisition stores the path output queue set OutPut_ in maximum flow rate path
The final result of Path;For example, road network structure as shown in Figure 1, its result such as path output queue set OutPut_ of table 1
Shown in Path examples, a plurality of evacuation planning path for ensureing that total number of evacuation total evacuation is finished is outputed, there is permission on path
The number and evacuation time of evacuation.
The path output queue set OutPut_Path examples of table 1
Source node | Number of evacuation | Path planning | Evacuation time |
4 | 6 | ||
1 | 7 | ||
4 | 8 | ||
1 | 8 | ||
2 | 9 | ||
5 | 10 | ||
4 | 7 | ||
1 | 8 | ||
4 | 13 | ||
2 | 10 | ||
1 | 10 | ||
1 | 10 |
More than, preferably a kind of implementation method only of the invention gives the example of oriented uni-direction road grid structure, in addition,
This method can apply in the middle of oriented two-way road network structure completely, specific embodiment, and user can be according to real generation
The road grid traffic on boundary carries out mathematical modeling and parameter setting, can obtain identical effect.It should be noted that, it is any to be familiar with
Those skilled in the art the invention discloses technical scope in, technology according to the present invention scheme and its inventive concept
It is subject to equivalent or relevant parameter changes, should be all included within the scope of the present invention.
Claims (1)
1. a kind of road network evacuation planning method based on maximum flow rate heat source, be applied to simulate oriented road network structure G (V,
E in), in the oriented road network structure G (V, E) of simulation, V represents set of node, and has V={ Vs,Vz,Vd};VsRepresent source node
Collection, VzRepresent set of intermediate nodes;VdRepresent destination node collection;And have:Vs={ V1,V2,…,Vi,…,Va};ViRepresent the source section
Point set VsIn i-th source node, and Vi={ Vi,cap,Vi,occ, Vi,capRepresent the source node set VsIn i-th source node Vi's
Node passes through capacity, Vi,occRepresent the source node set VsIn i-th source node ViInitial capacity to be evacuated, 1≤i≤a;Vz
={ Va+1,…,Vj,…,Vb, VjRepresent the set of intermediate nodes VzIn j-th intermediate node, and Vj={ Vj,cap, Vj,capTable
Show the set of intermediate nodes VzIn j-th intermediate node VjThe current capacity of node, a+1≤j≤b;Vd={ Vb+1,…,Vk,…,
Vc, VkRepresent the destination node collection VdIn k-th destination node, and Vk={ Vk,cap,Vk,occ, Vk,capRepresent the purpose
Set of node VdIn k-th destination node VkThe current capacity of node, Vk,occRepresent the destination node collection VdIn k-th section of mesh
Point VkAccommodated evacuation capacity, b+1≤k≤c;E represents side collection, and has E={ e1,e2,…,eh,…,eH, ehRepresent described
When the h articles in collection E, it is assumed that the h articles side ehIt is by n-th in the set of node VhIndividual nodeSet out to coupled
N-thh' individual nodeTerminate generated side, and have Represent the h articles side ehIt is current
Capacity,Represent and pass through the h articles side ehTransit time;It is characterized in that, the road network evacuation planning method is by following step
Suddenly carry out:
Step 1, the super source node V of construction0And be associated with the oriented road network structure G (V, E):
Step 1.1, the super source node V of structure0, and have V0={ V0,cap,Represent the super source node V0's
Evacuate capacity;
Step 1.2, by the super source node V0Respectively with the source node set VsIn each source node be connected, so as to generate a
Bar side, is designated ase′iRepresent the super source node V0With the source node set VsIn i-th source
Node ViBe connected generated side, and has: Represent the super source node V0Saved with the source
Point set VsIn i-th source node ViBe connected generated side e 'iCurrent capacity,Represent and pass through the super source node V0
With the source node set VsIn i-th source node ViBe connected generated side e 'iTransit time;
Step 1.3, by the source node set VsIn i-th source node ViInitial capacity V to be evacuatedi,occIt is assigned toAnd
OrderRealize the super source node V0With the source node set VsIn i-th source node ViAssociation;So as to realize
The super source node V0With the association of the oriented road network structure G (V, E) of simulation;
Step 2, the definition of road network evacuation planning parameter:
Step 2.1, the definition of path planning parameter:
The definition moment is t, and for recording the time course of the evacuation planning, initializes t=0;
It is G (V, E) ' to define the oriented road network structure of the traversal path with time dimension, and evacuates shortest path for solving;
The path cost vector for defining t is Dt, and have Dt={ Dt,b+1,Dt,b+2,…,Dt,k,…,Dt,c, Dt,kRepresent described
Path cost vector DtIn k-th component, and for storing t from the super source node V0To the destination node collection
VdIn k-th destination node VkThe minimum time cost for being spent;
The Path selection queue vector for defining t is Patht, and have Patht={ Pt,b+1,Pt,b+2,…,Pt,k,…,Pt,c};
Pt,kRepresent the Path selection queue vector PathtIn k-th component, and for storing t from the super source node
V0To the destination node collection VdIn k-th destination node VkThe minimum time cost D for being spentt,kCorresponding path, and remember
It is shortest path;
The path flow rate vector for defining t is Ratet, and have Ratet={ Rt,b+1,Rt,b+2,…,Rt,k,…,Rt,c},Rt,kTable
Show the path flow rate vector RatetIn k-th component, and for storing Path selection queue vector Path described in tt
In k-th component Pt,kThe ratio of the current capacity of the maximum of upper receiving and transit time, i.e., from the super source node V0To institute
State destination node collection VdIn k-th destination node VkShortest path Pt,kFlow rate;
Define the path flow rate vector Rate of ttMiddle largest component is maximum flow rate Rt,max;
T is defined by the Path selection queue vector PathtIn maximum flow rate Rt,maxCorresponding shortest path, is most
Big flow rate path, is designated as Pt,max;
Define path output queue collection and be combined into OutPut_Path, and initialize the path output queue set OutPut_Path
It is sky;
Step 2.2, road network state parameter are defined and initialized:
Defining the current capacity nodes collection of t isLead in the residue of t for all nodes in representing the set of node V
Row capacity, and have Represent m-th node V in the set of node VmLead in the residue of t
Row capacity;
As t=0, initialization Represent m-th node V in the set of node VmCurrent capacity, from
And obtain the current capacity nodes collection at t=0 moment
Define residual capacity time expanding node to integrate is Vcap, by the current capacity nodes collection at t=0 momentIt is stored in the residue
Capacity time expanding node collection VcapIn;
Merge side the collection E and Bian JiIn all sides, constitute side complete or collected works Eunion;
Defining the current capacity side collection of t isFor representing the side complete or collected works EunionIn each bar side t residue lead to
Row capacity, and haveAnd R=H+a;Represent the side complete or collected works EunionIn the r articles side
In the current capacity of the residue of t, it is assumed that the r articles current capacity of the residue on sideIt is by the set of node V and described super
Source node V0In n-thrIndividual nodeSet out to coupled n-thr' individual nodeTerminate generated side in the surplus of t
Remaining current capacity, and have
During t=0 moment, by the side complete or collected works EunionIn from n-thrIndividual nodeSet out to coupled n-thr' individual node
Terminate the current capacity on generated sideIt is assigned toSo as to obtain the current capacity side collection at t=0 moment
Define residual capacity time extension side to integrate is Ecap, by the current capacity side collection at t=0 momentIt is stored in the residual capacity
Time extension side collection EcapIn;
Step 3, the Path selection of evacuation planning:
Step 3.1, in t, carry out path planning parameter reset operation:
Step 3.1.1, parameter reset:
The path cost vector D of t is sett={ Dt,b+1,Dt,b+2,…,Dt,k,…,Dt,cIn each component value be it is just infinite
Greatly;The Path selection queue vector Path of t is sett={ Pt,b+1,Pt,b+2,…,Pt,k,…,Pt,cIn each vector value be
It is empty;The path flow rate vector Rate of t is sett={ Rt,b+1,Rt,b+2,…,Rt,k,…,Rt,cIn each component value be sky;If
Put the maximum flow rate R of tt,max=0;The maximum flow rate path P of t is sett,maxIt is sky;
Oriented road network structure G (V, the E) ' reset of step 3.1.2, the traversal path with time dimension:
The oriented road network structure G (V, E) is assigned to G (V, E) ';
According to the residual capacity time expanding node collection VcapMiddle remaining current capacity is the time corresponding to 0 node acquisition
Dimension, and judge that in the node that the middle remaining current capacity of G (V, E) ' is 0 be invalid on corresponding time dimension;
Collection E in side is extended according to the residual capacity timecapMiddle remaining current capacity is the time dimension corresponding to 0 side acquisition,
And judge that on the side that the middle remaining current capacity of G (V, E) ' is 0 be invalid on corresponding time dimension;So as to obtain the band time
The oriented road network structure G (V, E) of traversal path of dimension ';
Whether step 3.2, it is nothing according to oriented road network structure G (V, the E) ' interior joint of the traversal path with time dimension and side
Effect, travel through the oriented road network structure G (V, E) of the traversal path with time dimension ' in from the super source node V0To described
Destination node collection VdIn k-th destination node VkThe all paths passed through;
Choose and reach k-th destination node VkThe minimum path of time cost is spent in all paths passed through as k-th mesh
Node VkShortest path and be stored in the Path selection queue vector Path of t respectivelytK-th component Pt,kIn;So as to
By the destination node collection VdThe shortest path of middle all purposes node is stored in the Path selection queue vector Path respectivelytPhase
In the component answered;
Step 3.3, by t Path selection queue vector PathtIn k-th component Pt,kThe time cost for being spent is stored in described
Path cost vector DtK-th component Dt,kIn, so as to by the destination node collection VdThe shortest path of middle all purposes node
Spent time cost is stored in the path cost vector D respectivelytIn corresponding component;
Step 3.4, acquisition t Path selection queue vector PathtIn k-th component Pt,kAllowed on represented shortest path
Current maximum evacuation capacitySo as to obtain in t from the super source node V0To the destination node collection VdMiddle institute
Maximum evacuation capacity set on the shortest path of purposeful node
Step 3.4.1, acquisition t Path selection queue vector PathtIn k-th component Pt,kRepresented shortest path, note
For And have Nt,kRepresent the shortest path
Pt,kIn remove super source node V0Outer passed through node total number;Represent the shortest path Pt,kMiddle passed through n-tht,kIt is individual
Node, 1≤nt,k≤Nt,k;
Step 3.4.2, obtain the shortest path P using formula (1)t,kIt is middle by the 0th nodeAnd n-th for passing throught,k
Individual nodeArrival timeSo as to obtain the shortest path Pt,kThe arrival time collection of middle passed through node
In formula (1),Represent in the side complete or collected works EunionIn, by the shortest path Pt,kIn from n-tht,k- 1 nodeSet out to coupled n-tht,kIndividual nodeTerminate the transit time on generated side;
Step 3.4.3, renewal road network state parameter:
Step 3.4.3.1, according to the shortest path Pt,kIt is middle by n-tht,kIndividual nodeArrival timeInquiry
The residual capacity time expanding node collection VcapIn whether include arrival timeCurrent capacity nodes collectionIf no
Comprising then makingFor empty and be stored in the residual capacity time expanding node collection VcapIn;Otherwise, maintainIt is constant;
Inquire about the current capacity nodes collectionIn whether include described n-tht,kIndividual nodeIn arrival timeWhen
The current node capacity of residueIf comprising maintainingIt is constant;Otherwise, by the shortest path Pt,kMiddle institute
By n-tht,kIndividual nodeThe current capacity of corresponding node in the set of node VIt is assigned toWillIt is stored in the current capacity nodes collectionIn;So as to realize the remaining current node capacity
It is stored in the residual capacity time expanding node collection VcapIn;
Step 3.4.3.2, step 3.4.3.1 is repeated, so as to obtain the shortest path Pt,kMiddle passed through node is each
Remaining node capacity from arrival time dimension, and it is sequentially stored into the residual capacity time expanding node collection VcapIn;
Step 3.4.3.3, according to the shortest path Pt,kIt is middle to pass through from n-tht,k- 1 nodeSet out to coupled
N-tht,kIndividual nodeTerminate the arrival time on generated sideInquire about the residual capacity time extension side collection Ecap
In whether include arrival timeWhen current capacity side collectionIf not including, orderFor empty and be stored in described
Residual capacity time extension side collection EcapIn;Otherwise, maintainIt is constant;
Inquire about the current capacity side collectionIn whether include the shortest path Pt,kIn from n-tht,k- 1 node
Set out to coupled n-tht,kIndividual nodeTerminate generated side in arrival timeWhen the current edge capacity of residueIf comprising maintainingIt is constant;Otherwise, by the side complete or collected works EunionIn by described most short
Path Pt,kIn from n-tht,k- 1 nodeSet out to coupled n-tht,kIndividual nodeTerminate the logical of generated side
Row capacityIt is assigned toWillIt is stored in the current capacity side collectionIn,
So as to realize the remaining current edge capacityIt is stored in the residual capacity time extension side collection EcapIn;
Step 3.4.3.4, step 3.4.3.3 is repeated, so as to obtain the shortest path Pt,kMiddle passed through side is respective
Remaining edge capacity in arrival time dimension, and it is sequentially stored into the residual capacity time extension side collection EcapIn;
Step 3.4.4, the Path selection queue vector Path is obtained according to formula (2)tIn k-th component Pt,kIt is representative most
Current maximum evacuation capacity is allowed on short path
In formula (2),Represent the shortest path Pt,kOn n-tht,kIndividual nodeIn arrival timeWhen it is surplus
Remaining current capacity;Represent from the shortest path Pt,kOn n-tht,k- 1 nodeSet out to its
Connected n-tht,kIndividual nodeTerminate generated side in arrival timeWhen the current capacity of residue;
Step 3.5, t is obtained using formula (3) from the super source node V0To the destination node collection VdIn k-th purpose
Node VkShortest path flow rate Rt,k, so as to obtain t from the super source node V0To the destination node collection VdIn
The flow rate vector Rate of the shortest path of all purposes nodet={ Rt,b+1,Rt,b+2,…,Rt,k,…,Rt,c};And obtain the t
The path flow rate vector Rate at momenttMiddle maximum flow rate Rt,max:
Step 3.6, judge Rt,max=0 and V0,capWhether=0 set up, if all setting up, performs step 3.10;
If only Rt,max=0 sets up, then it represents that t Path selection queue vector PathtIt is invalid, and can not be again in t
Evacuated, the value of t+1 is assigned to t, and return to step 3.1 recalculates evacuation planning path;
If all invalid, then it represents that moment Path selection queue vector PathtEffectively, and from the Path selection queue vector
PathtIt is middle by maximum flow rate Rt,maxCorresponding shortest path is selected, and is stored in the maximum flow rate path Pt,max, and be designated as And the maximum flow rate path Pt,maxIt is middle through celebrating a festival
The arrival time collection of point is designated asAnd have
N′t,maxRepresent the maximum flow rate path Pt,maxIn remove super source node V0Outer passed through node total number,Represent described
Maximum flow rate path Pt,maxMiddle passed through the n-th 't,maxIndividual node, 1≤n 't,max≤N′t,max;Remember the maximum flow rate path
Pt,maxCorresponding maximum capacity of evacuating is Ft,max;By the maximum flow rate path Pt,maxIn remove the super source node V0Outward
The node that path is passed through is stored in the path output queue set OutPut_Path, and records the maximum capacity and each evacuated
The arrival time of node;And perform step 3.7;
Step 3.7, using formula (4) respectively to the maximum flow rate path Pt,maxThe residue on middle passed through node and side is current to be held
Amount is modified, and modified values are newly stored into the residual capacity time expanding node collection VcapExpand with the residual capacity time
Side collection EcapIn, so as to realize the residual capacity time expanding node collection VcapSide collection is extended with the residual capacity time
EcapRenewal;
In formula (4),Represent the maximum flow rate path Pt,maxOn the n-th 't,max- 1 nodeSet out to coupled the n-th 't,maxIndividual nodeTerminate generated side in arrival timeWhen it is surplus
Remaining current capacity;Represent the maximum flow rate path Pt,maxOn the n-th 't,maxIndividual nodeReach
TimeWhen the current capacity of residue;
Step 3.8, obtain the super source node V using formula (5)0In the current capacity V of the residue of t0,cap:
V0,cap=V0,cap-Ft,max (5)
Step 3.9, judge V0,capWhether=0 set up, if so, then perform step 3.10;Otherwise, step 3.1 is performed;
Step 3.10, the evacuation planning terminate, and the path output queue set in maximum flow rate path is stored described in acquisition
The final result of OutPut_Path.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510451828.3A CN105139685B (en) | 2015-07-24 | 2015-07-24 | A kind of road network evacuation planning method based on maximum flow rate heat source |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510451828.3A CN105139685B (en) | 2015-07-24 | 2015-07-24 | A kind of road network evacuation planning method based on maximum flow rate heat source |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105139685A CN105139685A (en) | 2015-12-09 |
CN105139685B true CN105139685B (en) | 2017-06-06 |
Family
ID=54725012
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510451828.3A Active CN105139685B (en) | 2015-07-24 | 2015-07-24 | A kind of road network evacuation planning method based on maximum flow rate heat source |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105139685B (en) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107067114B (en) * | 2017-04-20 | 2020-07-28 | 桂林电子科技大学 | Call routing method based on answer set program |
CN107133704B (en) * | 2017-06-23 | 2020-06-02 | 南京师范大学 | Simulation method for large-scale crowd dynamic emergency evacuation following optimal-forgetting rule |
CN107578630B (en) * | 2017-09-11 | 2020-05-26 | 合肥工业大学 | Setting method for secondary road distance at road plane intersection |
CN109887289A (en) * | 2019-03-28 | 2019-06-14 | 南京邮电大学 | A kind of network vehicle flowrate maximization approach of urban traffic network model |
CN110852490B (en) * | 2019-10-23 | 2023-07-25 | 淮阴工学院 | Tramcar station personnel evacuation path optimization method based on evacuation network |
CN110782178B (en) * | 2019-11-01 | 2020-11-06 | 北京航空航天大学 | Traffic network planning aid decision-making method and device |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2001001369A1 (en) * | 1999-06-25 | 2001-01-04 | Daimlerchrysler Ag | Method for controlling transport units in a traffic network |
KR100924534B1 (en) * | 2007-06-14 | 2009-11-02 | 학교법인 영광학원 | Broadcasting method to reduce network fragmentation in vehicle ad-hoc network |
CN104008666B (en) * | 2014-05-08 | 2016-08-24 | 中山大学 | A kind of fingerpost distribution method towards point of interest |
-
2015
- 2015-07-24 CN CN201510451828.3A patent/CN105139685B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN105139685A (en) | 2015-12-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105139685B (en) | A kind of road network evacuation planning method based on maximum flow rate heat source | |
Chow et al. | Evaluation of turbulence closure models for large-eddy simulation over complex terrain: flow over Askervein Hill | |
CN105608896A (en) | Traffic bottleneck identification method in urban traffic network | |
CN107220731A (en) | A kind of logistics distribution paths planning method | |
CN104462714B (en) | A kind of municipal drain network plane layout design optimized calculation method | |
CN107133704B (en) | Simulation method for large-scale crowd dynamic emergency evacuation following optimal-forgetting rule | |
CN104392094A (en) | Reliability evaluation method of urban road network based on data of floating vehicles | |
CN107563803A (en) | A kind of market area partition method based on cost grid | |
Escudero | WARSYP: a robust modeling approach for water resources system planning under uncertainty | |
CN104992249B (en) | A kind of flood-diversion area hedging metastasis model method for building up under passive flood diversion scene | |
CN103116698A (en) | GM (1, 1) model prediction method based on cubic spline | |
CN110490381A (en) | Bus trunk line planing method based on mixed integer programming | |
CN107315847A (en) | A kind of river and the generation method and device of underground water coupled simulation parameter | |
Rui et al. | Urban growth modeling with road network expansion and land use development | |
CN107169080A (en) | A kind of geospatial analysis system being combined based on GIS and spatial database | |
Sharma et al. | Shortest Path Algorithms Technique for Nearly Acyclic Graphs | |
Branishtov et al. | Graph methods for estimation of railway capacity | |
CN110162903A (en) | A kind of urban architecture windward side density calculating method and system parallel based on grid | |
Cristea et al. | Supermixed labyrinth fractals | |
CN103593800B (en) | Community discovery method based on factions' random walk | |
Stanilov | Bridging the gap between urban morphology and urban modelling K. Stanilov | |
Zhao et al. | Vehicle route assignment optimization for emergency evacuation in a complex network | |
CN105138768A (en) | Multi-agent system consistency achieving method based on cell decomposition | |
CN105427581A (en) | Traffic simulation method and traffic simulation system based on floating car data | |
Nilsson et al. | A compartmental dynamical network flow model for evacuation planning of cities |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |