Designing and Achieving Practical Algorithm for Path Calculation Based on Web Service
- Author
- ZhaoFuSheng
- Advisor
- YangZongYuan
- School
- East China Normal University
- Major
- Applied Computer Technology
- Classification
- TP393.09 The application of computer network
- Degree
- Master's thesis
- Year
- 2012
- Downloads
- 23
- Citations
- 0
Abstract
At present, the network has affected all aspects of life and production, the informationization relies on the Internet all along. Web page can expand the application range of the informationization. web page can provide all kinds of service for all people in the world. Web service is an intermediate service for web page developers, web page developers can design the web page easily by the use of the existing Web service. The calculating Web service can’t be found in the Internet these days. The path calculation Web service has important practical value.Path calculation is a research hot spot all the time. The shortest path problem has four algorithms.(1) Dijkstra algorithm.(2) Bellman-Ford algorithm.(3) SPFA algorithm.(4) Floyd algorithm. With the deepening of the application, these algorithms have been unable to meet the need of practical application. In practical applications, we often want to know the following pathes: all pathes from one vertex to another vertex, the shortest path of appointed edge number from one vertex to another vertex, all pathes of appointed edge number from one vertex to another vertex, all pathes from one vertex to all other vertex. After knowing these pathes, we can have more reference information in deciding procedure. This paper achieves these four algorithms.The main part of this paper is:This paper achieves the algorithm for the shortest path of appointed edge number from one vertex to another vertex based on path tree. The path tree is created according to the order of top to bottom and left to right. If the path from source vertex to destination vertex is found in creating the path tree, the path will be added to the two dimension linked list. The two dimension linked list contains all pathes from source vertex to destination vertex. The all pathes in the two dimension linked list are arranged in distance order. If the first path of appointed edge number is found in the two dimension linked list. the searching can be stoped. The first path of appointed edge number is the shortest path of appointed edge number from source vertex to destination vertex.This paper achieves the algorithm for the all pathes of appointed edge number from one vertex to another vertex based on improved path tree. The level member and distance member are added to each node of improved path tree. The value of level member is edge number ofthe path from source vertex to current vertex. The value of distance member is distance of the path from source vertex to current vertex. All nodes of the same level in improved path tree are linked by nextsibling member. The improved path tree is also created according to the order of top to bottom and left to right. After creating, all pathes oft edges can be found in t level of improved path tree.When edge number is relatively more, the vertex number of the same level in path tree is relatively more, the path number in the two dimension linked list is relatively more. After the first path of appointed edge number is found in the two dimension linked list, the searching can be stoped and the other path need not be searched. So the time can be saved. When edge number is relatively less, the vertex number of the same level in improved path tree is relatively less. We can search the all path oft edges in the t level of improved path tree.and the time can be saved. The storage space of the two dimension linked list can also be saved.
Table of contents
Summary 6-8
ABSTRACT 8-11
first chapter 11-17
1.1 research background 11-12
1.2 Web services research status at home and abroad 12-13
1.3 research significance and objectives main content of 13
1.4 papers 13-15
1.5 overall structure of the paper research status 15-17
chapter path algorithm and analysis 17-20
2.1 Dijkstra algorithm 17
2.2 Bellman-Ford algorithm 17-18
2.3 SPFA algorithm 18-19
2.4 Floyd algorithm 19-20
Chapter III one vertex to another vertex all paths calculated 20-40
3.1 practical problems 20-21
3.2 mathematical model 21
3.3 to achieve algorithm 21-38
3.3.1 algorithm data structure programming ideas 23-24
3.3.2 algorithm used 24-26
3.3.3 All paths recursive algorithms written 26-34
3.3.4 all paths of non- recursive algorithms written analysis 34-38
3.4 algorithm 38 -39
3.5 Summary 39-40
Chapter IV specify additional vertex to calculate the shortest path edges vertices number of 40-55
4.1 actual problems 40
4.2 mathematical model 40-41
4.3 algorithm programming ideas adopted 41-43
4.4 algorithm data structure achieve 43-48
4.5 algorithm nbsp 48-52
4.6 analysis of algorithms ; 52-53
4.7 Summary 53-55 <br / > Chapter one vertex to another vertex edge designated calculate all paths of 55-66
5.1 algorithm input and output interface 55-56
5.2 algorithm using data structures achieve 56-59
5.3 algorithm analysis 59-63
5.4 algorithm 63-65
5.5 Summary 65-66
Chapter VI of all paths from one vertex to vertex calculate all other 66-74
6.1 algorithm input and output interface 66-68 <br / > 6.2 algorithm to achieve analysis 68-72
6.3 algorithm 72-73
6.4 summary 73-74
summary and Chapter VII Looking 74-75
7.1 This work summarizes Outlook 74
7.2 on the future direction of development ; nbsp published during 74-75
Appendix degree program academic catalog 75-76
References 76-78
Thanks 78
Related dissertations
- Study on Quick Response System for Apparel Supply Chain Based on Web Services
- Research on Personalized Information Service of Digital Library in the Cloud Computing Environment
- The Design and Application of Network Measurement and Control Platform Based on Embedded WEB Service
- Design and Implementation of the Campus Network Application Based on SOA
- Design and implementation of temperature and humidity measurement and control system based on Internet
- Research and Application of Mobile Augmented Reality Interact with Web Service
- Research of Heterogeneous Database Integration Based on Web Service and XML
- Research on Database Legacy System Migration to the Integrated Web Service
- Data Exchange Services of the Group Enterprise and Its Applied Research
- Design and Implementation of Picture Sharing Application System Based on iOS
- Design and Implementation of Digital Media Resources Collaborative Production Platform Based on SOA
- Research and Realization of University Equipment Management System Based on SOA
- 3D Accounting Training Platform Based on Flash Technology Design and Implementation
- Construction and Application of Technology of Biological Information Workflow
- The Research and Application of Warehouse Management System Based on SOA
- Two-Dimensional Code Verification Ticket System Based on Web
- With the Implementation of Emergency Management System Based on WEB Service
- Design and Implementation of Financial Management System of Lushang Group
- Design and Implementation of a Tax Management System
- SOA-based Libraty Management System Design and Implementation