Research on Inquiry Algorithm HCCS in Public Transport System
- Author
- GaoZuo
- Advisor
- QiHong , SunChengMin
- School
- Jilin University
- Major
- Computer technology
- Classification
- TP311.52 Software Development
- Degree
- Master's thesis
- Year
- 2008
- Downloads
- 128
- Citations
- 1
- public traffic networks
- the shortest path algorithm
- the least transfer times
- the transfer times algorithm HCCS
Abstract
In the inquiry system of public transportation, the most critical problem is that how to choose the travel path. In order to help those who use public transport system to make a choice in the path, changing routes, this paper proposed the inquiry algorithm HCCS, and use it in the transportation design. After testing, it was improved that this algorithm has a certain credibility and feasibility. It can solve transport problems in multi-point at the minimum number of change for the first goal, and the least time at the second.By statistical analysis in passengers, we may conclude that the factors they concerned most are as follows: frequency of bus-change, expenses, distance, and so on. Above all, the first two attract their attention most. Freight car drivers concerned about the shortest path in order to the greatest degree of time-saving fuel-efficient, but bus passengers tend to taken convenience and comfort into more account Therefore, the meaning of shortest-path in road network and bus lines is different. In road network, the target is only to find the path at the shortest distance between two points. But in transportation, passengers would not change their bus in order to seek the shortest path. Because a transfer to another line is time-consuming and laborious, In many cases, bus-change need to take a trip on foot to another site, and this will take some time. So to the bus passengers, the significance of the shortest path is not the shortest distance, but the least change times. Consequently the research of inquiry algorithm HCCS based on the number of transfer is of great significance.Considering passengers’travel psychoanalysis.the public model of optimum route is proposed,which goal is minimal transfer times.On the integrated analysis of the space relationship between station,basing on the searching model,the least transfer times problem is solved by translating to the problem of the shortest route between two stations.The improved Dijkstra algorithm is proposed,which can efficiently solve the travel project of all the least transfer times between two spots.The operating efficiencies of the existing shortest path searching algorithms such as Dijkstra algorithm on the limiting ellipse,etc.,are low and inconvenient in practical application,so they need to be improved. Although the algorithm on the limiting ellipse reduce the size of search scale greatly, but in the process of calculation for each node must determine whether it is in the oval, there are a large number of non-linear method of operation, all of the above make this algorithm inefficiency. With the increase in the number of polygon edges, the area of the polygon gradually reduce, finally approaching the end of the oval area. On the other hand, with the increase in the number of polygons edge, the calculate amount will be multiplied. Because each node and each side should be compared, so as to determine the point inside the edge or outside, In the end, to determine whether the nodes is in the polygon. Therefore, there is a certain side of the optimal number of polygons which could make the smallest capacity of calculating. By comparison in calculation, we find the optimal number which is 4.0n the basis of the Dijkstra algorithm on the limiting ellipse,by means of linearizing the ellipse and optimizing the limiting polygon.an optimal path algorithm based on the limiting parallelogram was proposed to improve significantly the searching efficiency.Through the above-mentioned algorithms for comprehensive, this paper proposed the inquiry algorithm HCCS, which aimed at minimum number of change and the least travel time.On this basis, established the optimal model of transportation.The innovation of algorithm HCCS is that it combined the algorithm of shortest path, transfer time, geometric method to limit the scope of the path, and improved the efficiency of the classical algorithms, bus travel can be more convenient in multi-point, and had also brought up a new viewpoint about sites next to each other. In the algorithm, only when the different lines have a point of intersection, interchange can be achieved. But the result is not always in line with the actual situation, for example, it may cost only twice interchange to the destination, However, the result of change requires three or four times.The reason is that we ignored the appearance of human habits, that they used to walk a short distance than taking a bus . People often choose this way to reduce the number of transfer. Sites next to each other is a semi-quantitative concept of distance used to describe the distance between sites,usually based on people’s behavior and the average length of the road. If there are no buses for interchange indirectly after getting off at a site, we may consider whether there is a site nearside. According to this idea, the above method had been improved, analysis about sites next to each other had been added to each transfer,therefore, the first goal is to reduce the number of interchange and least travel time as the second one. Changchun public traffic data is used as an example to prove that the algorithm applied in transportation is feasible and efficient. This transport system can solve transport problems in multi-point, and can also find variety plans between two sites. It is an improvement on the shortest path algorithm. To apply the algorithm HCCS to practice can improve the efficiency of the public transport inquiry system, thus may help people enjoy a fast and convenient inquiry service.
Table of contents
Executive summary 4-7
first chapter 7-10
1.1 Background of topics
1.2 The development of meaning and purpose 7-8
1.3 Literature Review 8-10
1.3.1 Research 8-9
1.3.2 In this paper, ideas 9-10
Chapter II system development environment and related technology 10-14
2.1 development environment introduced
2.2 SQL SEVER 2005 introduced 10-11
2.2.1 In SQL SEVER 2005 brief 10
2.2.2 SQL SEVER 2005 the main features of the application in the system 10-11
2.3 ECLIPSE introduced 11-12
2.3.1 ECLIPSE Overview 11-12
2.3.2 ECLIPSE the advantages and applications in the system 12
2.4 JAVA technology 12-14
third chapter of algorithm design and 14-35
3.1 Basic algorithm 14-17
3.1.1 Dijkstra algorithm 14
3.1.2 geometry limit the range of the search line 14-17
3.2 query algorithms HCCS 17-20
3.2.1 Algorithm Description 17-18
3.2.2 model to establish 18-19
3.2.3 Algorithm Design 19-20
the 3.3 bus query system query algorithms HCCS the design and realization 20-35
3.3.1 transfer times algorithms HCCS applications in public transport query system meaning 20
3.3.2 bus travel select Analysis 20-21
3.3.3 system functions 21-22
3.3.4 system Summary Design 22-24
3.3.5 database design 24-28
3.3.6 data table design 28-30
3.3.7 system and main code modules 30-35
Chapter test 35-43
4.1 testing purposes 35
4.2 test significance 35-36
4.3 Test Method 36
4.4 test implementation 36-42
4.4.1 location A to location B bus routes queries test example 36-40
4.4.2 After the location A bus route queries test example 40-41
4.4.3 bus route through the site query tests example 41-42
4.5 Efficiency Analysis 42
4.6 model extensions 42-43
concluded 43-44
the
References 44-46
summary 46-48
ABSTRACT 48-51
Acknowledgements 51
Related dissertations
- Dijkstra Shortest Algorithm Research Based on GIS Spacial Distribution
- Research on Algorithms for Equilibrium and Non-equilibrium Traffic Assignment Models
- The Study of GIS-based Road Programming System
- Study on Shortest Path Algorithm on GIS-T
- Research and Development of Urban Transportation Network Analysis Systems Based on ComGIS
- Research on Surveillance Video Cropping Methods
- Time Expanded Network in the Hurricane Evacuation System Application
- Study on the Logistics Park Location with Bi-level Distribution
- Research on Dynamic Time Shortest Path and Application of the CGIS
- Study and Application of Route Optimization of Generic Cabling System in Intelligent Building
- Collaborative Design and Implementation of Communication Platform
- Reflected Wave Tomographic Simulation and the Application in Xi’an Ground Fissures