Algorithms for path searching and for graph connectivity analysis
β Scribed by A. Recuero
- Publisher
- Elsevier Science
- Year
- 1995
- Tongue
- English
- Weight
- 980 KB
- Volume
- 23
- Category
- Article
- ISSN
- 0965-9978
No coin nor oath required. For personal study only.
β¦ Synopsis
Three algorithms for the search of oriented paths in digraphs are described, based in the generation of a tree, in which an BFS is done, in the first one, and a DFS is done, in the other two algorithms. The first one is aimed at finding all the optimum paths between two vertices. The second one is aimed at solving this problem, as well as at finding the Hamiltonian paths beginning in a vertex, or at finding all the cycles of any order in the digraph. The third one is aimed at finding all the Eulerian paths or circuits. Two more algorithms, for the analysis of graph connectivity, using the same type of techniques are also described, one aimed at separating an unconnected graph into connected subgraphs, and the other aimed at searching for all existing bridges. All five algorithms are fully described and they are also implemented in a structured form, using QB as the programming language. A very compact scheme is proposed to store all the required information, using only one-dimension arrays without pointers, which allows simple programming languages to be used.
π SIMILAR VOLUMES
We give a linear-time algorithm for single-source shortest paths in planar graphs with nonnegative edge-lengths. Our algorithm also yields a linear-time algorithm for maximum flow in a planar graph with the source and sink on the same face. For the case where negative edge-lengths are allowed, we gi
Dijkstra's algorithm solves the single-source shortest path problem on any directed graph in O(m + n log n) time when a Fibonacci heap is used as the frontier set data structure. Here n is the number of vertices and m is the number of edges in the graph. If the graph is nearly acyclic, other algorit