CN105788334A - Urban path finding method taking personal preferences of drivers into consideration - Google Patents
Urban path finding method taking personal preferences of drivers into consideration Download PDFInfo
- Publication number
- CN105788334A CN105788334A CN201610202186.8A CN201610202186A CN105788334A CN 105788334 A CN105788334 A CN 105788334A CN 201610202186 A CN201610202186 A CN 201610202186A CN 105788334 A CN105788334 A CN 105788334A
- Authority
- CN
- China
- Prior art keywords
- path
- driver
- weight coefficient
- probability
- section
- 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.)
- Pending
Links
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
- G08G1/096833—Systems involving transmission of navigation instructions to the vehicle where different aspects are considered when computing the route
- G08G1/096838—Systems involving transmission of navigation instructions to the vehicle where different aspects are considered when computing the route where the user preferences are taken into account or the user selects one route out of a plurality
Landscapes
- Physics & Mathematics (AREA)
- Mathematical Physics (AREA)
- Engineering & Computer Science (AREA)
- Radar, Positioning & Navigation (AREA)
- Remote Sensing (AREA)
- General Physics & Mathematics (AREA)
- Navigation (AREA)
- Traffic Control Systems (AREA)
Abstract
The invention provides an urban path finding method taking personal preferences of drivers into consideration. The method comprises the following steps: collecting driving GPS data of a driver and map attribute data to get a specific path chosen by the driver in previous travels and the information of the path including the road grade, length and the number of passing intersections; defining a road section generalized cost containing a parameter Beta and a multinomial Logit model to get the probability that the driver chooses the path, and estimating the personal preference parameter Beta through maximum likelihood estimation; and finding a path in conformity with the driver's preference and with the lowest generalized cost by use of a Dijkstra shortest path algorithm according to the calibrated generalized road section cost. The method has the advantage that the usual theoretical experience value is not taken for the measured impedance of a road section, and a shortest path is offered to a driver on the premise of considering the personal preference of the driver according to historical driving paths and on the basis of redefining the road section generalized cost.
Description
Technical field
The present invention relates to a kind of method finding shortest path, be specifically related to a kind of personalized city path finding method considering driver individual's preference.
Background technology
Developing rapidly and extensive use of information science technology, drive whole society's demand to spatial information, it is a kind of under computer hardware and software is supported that GIS-Geographic Information System (is called for short GIS), based on spatial database, use the theory of system engineering and information science, spatial data is carried out scientific management and comprehensive analysis, for the technological system of planning, decision, management and research offer information.
Analysis of network, as one of topmost function of GIS, has played important effect in electronic navigation, traffic for tourism, urban planning, and in analysis of network, the problem of most basic most critical has been shortest route problem.It, as the basis selecting optimal problem in many fields, occupies critical role in traffic network analysis system.From the angle of network model, Shortest Path Analysis is exactly look for a path hindering intensity minimum in specifying network between two nodes.Shortest route problem is always up a study hotspot of the subject such as traffic engineering, Geomatics, and computer data structure and effectively combining of algorithm that classical graph theory is perfect with development make new shortest path first continue to bring out, and differ from one another.Shortest Path Analysis is usually used in auto-navigation system and various City Integrated Emergency Response System etc. in practice, for instance at driving conditions, will calculate vehicle front travel route etc. in real time.
Summary of the invention
Technical problem: the present invention provides the city path finding method considering driver individual's preference that can meet personal like, personalized path finding.
Technical scheme: the city path finding method considering driver individual's preference of the present invention, comprises the following steps:
1) obtain driver trip historical data, described historical data be in the trip that driver is former select concrete path and the category of roads in path, length, by crossing quantity;
2) calculate the generalized cost V in section as follows, and it can be used as actual measurement impedance:
Wherein, k is certain paths selected, and r is starting point, and s is settled point,For the actual measurement impedance of path k between starting point r and settled some s;V is section generalized cost;Whether a is be highway: is that highway takes 1, is not that highway takes 0;Whether b is be major trunk roads: is that major trunk roads take 1, is not that major trunk roads take 0;Whether c is be branch road: is that branch road takes 1, is not that branch road takes 0;l1For express highway section length, l2For turnpike road segment length, l3For branch road road section length;β1For express highway section weight coefficient, β2For major trunk roads section weight coefficient, β3For branch road section weight coefficient, β4For crossing weight coefficient;Wherein β4* 1 for considering the number in section, the impact that namely expense is produced by the number of crossing;
Described β1、β2、β3、β4All try to achieve as follows: based on multinomial Logit mode, try to achieve the probability of selecting paths k;Based on historical data, estimate express highway section weight coefficient, major trunk roads section weight coefficient, branch road section weight coefficient, crossing weight coefficient with maximum likelihood estimate respectively;
3) utilize Dijkstra shortest path first, find the path that the generalized cost meeting drivers preference is the shortest.
Further, in the inventive method, described step 2) in, obtain the probability of selecting paths k in such a way:
It is primarily based on logit model, solves according to following formula and select the probability of path k between starting point r and settled some s
Wherein,For the actual measurement impedance of path k between starting point r and settled some s,For the meansigma methods of all path impedance, θ is conversion parameter, RrsBeing the set in all paths between starting point s and settled some r, l is certain paths in set of paths;
Then the probability of selecting paths k is calculated according to following formula:
Wherein, β represents β1、β2、β3Or β4。
Further, in the inventive method, described step 2) in estimate express highway section weight coefficient, major trunk roads section weight coefficient, branch road section weight coefficient, crossing weight coefficient as follows:
Between the starting point r and the settled some s that are drawn by historical data, the probability P (β) of Path selection situation is:
P (β)=n1logp1(β)+n2logp2(β)+...+nnlogpn(β)
Wherein, β represents β1、β2、β3Or β4, n1For the selected number of times in path 1, p1(β) for the selected probability in path 1, n2For the selected number of times in path 2, p2(β) for the selected probability in path 2, nnFor the selected number of times of path n, pn(β) for the selected probability of path n;
Then β is estimated according to following log-likelihood equation group1、β2、β3、β4:
Further, in the inventive method, described step 3) in Dijkstra shortest path first comprise the following steps:
Step0: initialize.
Step1: terminate inspection.
Step2: amendment T label.
Step3: determine P label.
Beneficial effect: the present invention compared with prior art, has the advantage that
Research commonly uses link travel time function and BPR function before; demarcate the generalized cost of road; perhaps this section is shortest path in theory; but the practical situation in conjunction with driver; there may be individual and have special demand, it will usually select a non-theoretic shortest path but a paths of individual's preference;The present invention then oneself definition section generalized cost (tried to achieve by the method mentioned in literary composition by the parameter beta in expense, and the method is exactly consider actual individual's preference of driver rather than existing theoretical hypothesis) so that the more hommization of the shortest path of offer, personalization.
The present invention is by the collection driving gps data and map attribute data to driver, demarcate broad sense Road Expense, in conjunction with multinomial Logit mode, maximal possibility estimation is used to estimate the generalized cost considering individual's parameter, utilize the shortest path that Dijkstra shortest path first obtains on this basis, it is then find the preference meeting driver, the path that generalized cost is the shortest.Advantage is in that the mensuration impedance in section is not take common theoretical empirical value, but according to history driving path, it is considered to driver individual's preference, having redefined, the basis of section generalized cost provides shortest path to driver.
Accompanying drawing explanation
Fig. 1 is the flow chart of the inventive method.
Fig. 2 is exemplary plot, has k between origin and destination1, k2......knPaths.
Detailed description of the invention
Below in conjunction with embodiment and Figure of description, the present invention is further illustrated.
The present invention provides a kind of personalized city path finding method considering driver individual's preference, is realized by following steps:
1) probability of selecting paths k is drawn by Logit path Choice Model.
In randomness Assignment Problem, between definition origin and destination r, s, each alternative path has gratifying degree is effectiveness, and traveler always selects the path that subjective judgment effectiveness is maximum, and the value of utility of kth paths can be expressed as:
In formula, UkEffectiveness for origin and destination selecting paths k;Actual measurement impedance for path;θ is by a positive transition parameter surveying impedance transformation effect;The stochastic error of the factors composition that expression path can not observe.
Logit model is based upon stochastic error, and on the basis that separate and obedience Gumbel is distributed, the probability solving selecting paths k based on logit model is:
In formula,For the actual measurement impedance of path k,For the meansigma methods of all path impedance, conversion parameter θ dimensionless, only relevant with alternative number of path, the excursion quite stable of θ is found through experiments, generally takes θ=3.3
2) the actual measurement impedance in the present invention, in formula (2)It is defined as the generalized cost V in section:
Then survey impedanceFor the linear function that parameter is β.
In formula, whether a is be highway (being that highway takes 1, be not that highway takes 0);
Whether b is be major trunk roads (being that major trunk roads take 1, be not that major trunk roads take 0);
Whether c is be branch road (being that branch road takes 1, be not that branch road takes 0);
l1、l2、l3Respectively corresponding road section length;
β4* 1 for considering the number in section, the impact that namely expense is produced by the number of crossing.
3) by the actual measurement impedance redefined and formula (3), substitute in Logit modular form (2), then the probability of selecting paths kBe a unknown parameter it is the function of β.
4) assume that the favored pathway that driver history selects is k1, then the probability in path selected by him, i.e. selecting paths k is selected by formula (4) known driver1Probability be:
5) assume that the driving historical data collected is 100 people, wherein, n1Personal selection path k1, n2Personal selection path k2.....nnPersonal selection path kn, wherein k1, k2...knIt it is the set in all paths;Driver selecting paths k1Probability be p (k1), driver selecting paths k2Probability be p (k2) ... driver selecting paths knProbability be p (kn)
The probability P (β) that then this sample occurs is represented by
P (β)=p (k1 n1·k2 n2…kn nn)
Take the logarithm, then
logp(k1 n1·k2n2…kn nn)=logpn1(k1)+logpn2(k2)+...+logpnn(kn)
P (β)=n1logp1(β)+n2logp2(β)+...+nnlogpn(β)
Log-likelihood equation group is:
β is estimated by formula (6), (7), (8), (9)1、β2、β3、β4。
6) according to the generalized cost V in the section demarcated and formula (3), the most frequently used shortest path is utilized to calculate heuristic algorithm--dijkstra's algorithm.
Dijkstra (Di Jiesitela) algorithm is proposed in nineteen fifty-nine by Holland computer scientist Dick Si Tela.Being be typically used for calculating the shortest path first from a summit to all the other each summits, solution is shortest route problem in directed graph.It is mainly characterized by centered by starting point outwards to extend layer by layer, until expanding to terminal.Dijkstra's algorithm can draw the optimal solution of shortest path.
Specifically comprising the following steps that of Dijkatra algorithm
Step0: initialize.Make i=0, s0={ vs, P{vs}=0, λ (vs)=0, rightMake T (v)=∞, λ (v)=M, make the label k=s of current check point;
Step1: terminate inspection.If si=N, algorithm terminates, now, c (vs, v)=P (v),Otherwise proceed to step2;
Step2: amendment T label.(v is made to eachk, vj) ∈ A andNode, if T (vj) > P (vk)+tkj, then amendment node vjT label, make T (vj)=P (vk)+tkj, λ (vj)=k;Otherwise proceed to Step3;
Step3: determine P label.OrderIf T is (vji) <+∞, then vjiT label be set to P label, i.e. P (vji)=T (vji), with S in seasoni+1=Si∪{vji, k=ji.Then make i=i+1, proceed to Step1;Otherwise, algorithm terminates, now to each node v ∈ Si, have c (vs, v)=P (v), and to eachc(vs, v)=T (v).
After the inventive method terminates, λ value " backward tracing " can be passed through and arrive from start node vsTo the shortest path of any node v, namely find the preference that meets driver, the path that generalized cost is the shortest.
Above-described embodiment is only the preferred embodiment of the present invention; it is noted that, for those skilled in the art; under the premise without departing from the principles of the invention; some improvement and equivalent replacement can also be made; the claims in the present invention are improved and are equal to the technical scheme after replacing by these, each fall within protection scope of the present invention.
Claims (4)
1. the city path finding method considering driver individual's preference, it is characterised in that the method comprises the steps:
1) obtain driver trip historical data, described historical data be in the trip that driver is former select concrete path and the category of roads in path, length, by crossing quantity;
2) calculate the generalized cost V in section as follows, and it can be used as actual measurement impedance:
Wherein, k is certain paths selected, and r is starting point, and s is settled point,For the actual measurement impedance of path k between starting point r and settled some s;V is section generalized cost;Whether a is be highway: is that highway takes 1, is not that highway takes 0;Whether b is be major trunk roads: is that major trunk roads take 1, is not that major trunk roads take 0;Whether c is be branch road: is that branch road takes 1, is not that branch road takes 0;l1For express highway section length, l2For turnpike road segment length, l3For branch road road section length;β1For express highway section weight coefficient, β2For major trunk roads section weight coefficient, β3For branch road section weight coefficient, β4For crossing weight coefficient;Wherein β4* 1 for considering the number in section, the impact that namely expense is produced by the number of crossing;
Described β1、β2、β3、β4All try to achieve as follows: based on multinomial Logit mode, try to achieve the probability of selecting paths k;Based on historical data, estimate express highway section weight coefficient, major trunk roads section weight coefficient, branch road section weight coefficient, crossing weight coefficient with maximum likelihood estimate respectively;
3) utilize Dijkstra shortest path first, find the path that the generalized cost meeting drivers preference is the shortest.
2. consider the city path finding method of driver individual's preference according to claim 1, it is characterised in that described step 2) in, obtain the probability of selecting paths k in such a way:
It is primarily based on logit model, solves according to following formula and select the probability of path k between starting point r and settled some s
Wherein,For the actual measurement impedance of path k between starting point r and settled some s,For the meansigma methods of all path impedance, θ is conversion parameter, RrsBeing the set in all paths between starting point s and settled some r, l is certain paths in set of paths;
Then the probability of selecting paths k is calculated according to following formula:
Wherein, β represents β1、β2、β3Or β4。
3. the city path finding method considering driver individual's preference according to claim 1 or claim 2, it is characterized in that, described step 2) in estimate express highway section weight coefficient, major trunk roads section weight coefficient, branch road section weight coefficient, crossing weight coefficient as follows:
Between the starting point r and the settled some s that are drawn by historical data, the probability P (β) of Path selection situation is:
P (β)=n1logp1(β)+n2logp2(β)+...+nnlogpn(β)
Wherein, β represents β1、β2、β3Or β4, n1For the selected number of times in path 1, p1(β) for the selected probability in path 1, n2For the selected number of times in path 2, p2(β) for the selected probability in path 2, nnFor the selected number of times of path n, pn(β) for the selected probability of path n;
Then β is estimated according to following log-likelihood equation group1、β2、β3、β4:
。
4. according to claim 1 or claim 2 consider driver individual's preference city path finding method, it is characterised in that described step 3) in Dijkstra shortest path first comprise the following steps:
Step0: initialize.
Step1: terminate inspection.
Step2: amendment T label.
Step3: determine P label.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610202186.8A CN105788334A (en) | 2016-04-01 | 2016-04-01 | Urban path finding method taking personal preferences of drivers into consideration |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610202186.8A CN105788334A (en) | 2016-04-01 | 2016-04-01 | Urban path finding method taking personal preferences of drivers into consideration |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105788334A true CN105788334A (en) | 2016-07-20 |
Family
ID=56394596
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610202186.8A Pending CN105788334A (en) | 2016-04-01 | 2016-04-01 | Urban path finding method taking personal preferences of drivers into consideration |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105788334A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107421555A (en) * | 2017-07-10 | 2017-12-01 | 奇瑞汽车股份有限公司 | The method and apparatus for determining guidance path |
CN108847042A (en) * | 2018-08-24 | 2018-11-20 | 讯飞智元信息科技有限公司 | A kind of traffic information dissemination method and device |
CN113380064A (en) * | 2021-05-21 | 2021-09-10 | 徐州工程学院 | Efficient highway passing system and method |
CN113781817A (en) * | 2021-09-28 | 2021-12-10 | 合肥工业大学 | Urban road network multisource shortest path obtaining method based on shared computation |
CN114358808A (en) * | 2021-11-15 | 2022-04-15 | 南京理工大学 | Public transport OD estimation and distribution method based on multi-source data fusion |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100836378B1 (en) * | 2005-06-23 | 2008-06-09 | 현대자동차주식회사 | Method for searching optimal driving course with considering domestic road environment |
CN102288189A (en) * | 2010-05-04 | 2011-12-21 | 三星电子株式会社 | Location information management method and apparatus of mobile terminal |
CN103217166A (en) * | 2012-01-21 | 2013-07-24 | 日电(中国)有限公司 | Method and system used for extracting route choice preference of users |
WO2014031367A2 (en) * | 2012-08-21 | 2014-02-27 | Goodle Inc. | Calculating a travel route based on a user's navigational preferences and travel history |
CN104006820A (en) * | 2014-04-25 | 2014-08-27 | 南京邮电大学 | Personalized dynamic real time navigation method and navigation system |
-
2016
- 2016-04-01 CN CN201610202186.8A patent/CN105788334A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100836378B1 (en) * | 2005-06-23 | 2008-06-09 | 현대자동차주식회사 | Method for searching optimal driving course with considering domestic road environment |
CN102288189A (en) * | 2010-05-04 | 2011-12-21 | 三星电子株式会社 | Location information management method and apparatus of mobile terminal |
CN103217166A (en) * | 2012-01-21 | 2013-07-24 | 日电(中国)有限公司 | Method and system used for extracting route choice preference of users |
WO2014031367A2 (en) * | 2012-08-21 | 2014-02-27 | Goodle Inc. | Calculating a travel route based on a user's navigational preferences and travel history |
CN104781634A (en) * | 2012-08-21 | 2015-07-15 | 谷歌公司 | Calculating a travel route based on a user's navigational preferences and travel history |
CN104006820A (en) * | 2014-04-25 | 2014-08-27 | 南京邮电大学 | Personalized dynamic real time navigation method and navigation system |
Non-Patent Citations (3)
Title |
---|
孙荣: "高速公路多路径标识点选址方法研究", 《中国优秀硕士学位论文全文数据库 工程科技Ⅱ辑》 * |
王炜: "多路径交通分配模型的改进及节点分配算法", 《东南大学学报》 * |
邓应军 等: "多路径交通量分配计算模型与方法研究", 《技术》 * |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107421555A (en) * | 2017-07-10 | 2017-12-01 | 奇瑞汽车股份有限公司 | The method and apparatus for determining guidance path |
CN107421555B (en) * | 2017-07-10 | 2020-01-10 | 奇瑞汽车股份有限公司 | Method and device for determining navigation path |
CN108847042A (en) * | 2018-08-24 | 2018-11-20 | 讯飞智元信息科技有限公司 | A kind of traffic information dissemination method and device |
CN108847042B (en) * | 2018-08-24 | 2021-04-02 | 讯飞智元信息科技有限公司 | Road condition information publishing method and device |
CN113380064A (en) * | 2021-05-21 | 2021-09-10 | 徐州工程学院 | Efficient highway passing system and method |
CN113781817A (en) * | 2021-09-28 | 2021-12-10 | 合肥工业大学 | Urban road network multisource shortest path obtaining method based on shared computation |
CN113781817B (en) * | 2021-09-28 | 2022-07-05 | 合肥工业大学 | Urban road network multisource shortest path obtaining method based on shared computation |
CN114358808A (en) * | 2021-11-15 | 2022-04-15 | 南京理工大学 | Public transport OD estimation and distribution method based on multi-source data fusion |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103278168B (en) | A kind of paths planning method evaded towards traffic hot spot | |
CN105788334A (en) | Urban path finding method taking personal preferences of drivers into consideration | |
Saw et al. | Literature review of traffic assignment: static and dynamic | |
Li et al. | Path-finding through flexible hierarchical road networks: An experiential approach using taxi trajectory data | |
CN108335483B (en) | Method and system for inferring traffic jam diffusion path | |
CN101957208B (en) | Method for discovering new road based on probe vehicle technology | |
CN105758410A (en) | Method for quickly planning and mixing paths on basis of A-star algorithms | |
US9983016B2 (en) | Predicting short term travel behavior with unknown destination | |
CN110222912B (en) | Railway travel route planning method and device based on time dependence model | |
CN110288205B (en) | Traffic influence evaluation method and device | |
CN113029180A (en) | Traffic restriction identification method and device, electronic equipment and storage medium | |
CN107085620A (en) | A kind of taxi and subway are plugged into the querying method and system of travel route | |
Wang et al. | Comprehensive performance analysis and comparison of vehicles routing algorithms in smart cities | |
Wei et al. | Research on the optimal route choice based on improved Dijkstra | |
CN104851298A (en) | Prediction of traffic condition and running time | |
CN104697543B (en) | A kind of path searching method therefor for merging individual character preference heterogeneity | |
EP3779363B1 (en) | Method and system for vehicle routing based on parking probabilities | |
El Esawey et al. | Calibration and validation of micro-simulation models of medium-size networks. | |
CN110260864A (en) | Construction method, device and the electronic equipment of optimal reference trace route | |
Chatterjee et al. | Level of service criteria on Indian multilane highways based on platoon characteristics | |
Jin et al. | Optimal routing of vehicles with communication capabilities in disasters | |
Chu | Network equilibrium model with dogit and nested logit structures | |
Jain et al. | A methodology for modelling urban traffic congestion based on its | |
Amores et al. | A study of rerouting beyond ad hoc decision making | |
CN112183871A (en) | Urban traffic guidance system based on air index |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20160720 |