Abstract
Some parallel algorithms have the property that, as they are allowed to take more time, the total work that they do is reduced. This paper describes several algorithms with this property. These algorithms solve important problems on directed graphs, including breadth-first search, topological sort, strong connectivity, and and the single source shorest path problem. All of the algorithms run on the EREW PRAM model of parallel computer, except the algorithm for strong connectivity, which runs on the probabilistic EREW PRAM.
- AGGARWAL, A., ANDERSON, R., AND KAO, M. 1990. Parallel depth-first search in directed graphs. SIAM J. Comput. 397-409. Google Scholar
- AHO, A. V., HOPCROFT, J. E., AND ULLMAN, J. D. 1974. The Design and Analysis of Computer Algorithms. Addison-Wesley, Reading, Mass. Google Scholar
- AHO, A. V., HOPCROFT, J. E., AND ULLMAN, J.D. 1982. Data Structures and Algorithms. Addison- Wesley, Reading, Mass. Google Scholar
- BRENT, R.P. 1974. The parallel evaluation of general arithmetic expressions. J. ACM 21, 2 (Apr.), 201-206. Google Scholar
- COHEN, E. 1992. Parallel algorithm with improved work for shortest-paths from multiple sources. Manuscript.Google Scholar
- COPPERSMITH, D., AND WINOGRAD, S. 1987. Matrix multiplication via arithmetic progressions. In Proceedings of the 19th Annual ACM Symposium on Theory of Computing (New York, N.Y., May 25-27). ACM, New York, pp. 1-6. Google Scholar
- FREDMAN, M. L., AND TARJAN, R.E. 1987. Fibonacci heaps and their uses in improved network optimization algorithms. J. ACM 34, 3 (July), 596-615. Google Scholar
- GALIL, Z. 1984. Optimal parallel algorithms for string matching. In Proceedings of the 16th Annual ACM Symposium on Theory of Computing (Washington, D.C., Apr. 30-May 2) ACM, New York, pp. 240-248. Google Scholar
- GAZIT, H., AND MILLER, G. L. 1988. An improved parallel algorithm that computes the BFS numbering of a directed graph. Inf. Proc. Lett. 61-65. Google Scholar
- HAGERUP, T. 1987. Towards optimal parallel bucket sorting. Inf. Comput. 39-51. Google Scholar
- KLEIN, P. N., AND SARIAM, S. 1992. A parallel randomized approximation scheme for shortest paths. In Proceedings of the 24th Annual ACM Symposium on Theory of Computing (Victoria, B.C., Canada, May 4-6). ACM, New York, pp. 750-758. Google Scholar
- KNUTH, D. E. 1980. The Art of Computer Programming. Volume 1: Fundamental Algorithms. Addison-Wesley, Reading, Mass. Google Scholar
- KARP, R. M., AND RAMAcHANDRAN, V. 1990. A survey of parallel algorithms for shared-memory machines. In Handbook of Theoretical Computer Science. J. van Leeuwen, ed. MIT Press, Cambridge, Mass. Google Scholar
- PAUL, W., VISHKIN, U., AND WAGNER, H. 1983. Parallel dictionaries on 2-3 trees. In Automata, Languages and Programming. J. Diaz, ed. pp. 597-609. Google Scholar
- REIF, J. 1985. An optimal parallel algorithm for integer sorting. In Proceedings of the 26th Annual Symposium on the Foundations of Computer Science. IEEE, New York, pp. 496-503.Google Scholar
- SPENCER, T. 1989. Time-work tradeoffs for parallel algorithms. Tech. Report, 89-26. RPI, Troy, N.Y.Google Scholar
- SPENCER, T. 1991a. Time-work tradeoffs for parallel graph algorithms. In Proceedings of the 2nd Annual Symposium on Discrete Algorithms. pp. 425-432. Google Scholar
- SPENCER, T. 1991b. More time-work tradeoffs for parallel graph algorithms. In Proceedings of the 3rd Symposium on Parallel Algorithms and Architectures. pp. 81-93. Google Scholar
- TARJAN, R. 1972. Depth first search and linear graph algorithms. SIAM J. Comput. 1, 215-225.Google Scholar
- TARJAN, R., AND VISHKIN, U. 1985. An efficient parallel biconnectivity algorithm. SIAM J. Comput. 14, 862-874.Google Scholar
- ULLMAN, J., AND YANNAKAKIS, M. 1990. High-probability parallel transitive closure algorithms. Symp. ParaL Algor. Arch. 200-209. Google Scholar
Index Terms
- Time-work tradeoffs for parallel algorithms
Recommendations
Space Efficient Linear Time Algorithms for BFS, DFS and Applications
Research on space efficient graph algorithms, particularly for st-connectivity, has a long history including the celebrated polynomial time, O(lg n) bits1 algorithm in undirected graphs by Reingold J. JACM. 55(4) (2008), and polynomial time, n/2ý(lgn)$n/...
Deterministic PRAM Approximate Shortest Paths in Polylogarithmic Time and Slightly Super-Linear Work
SPAA '21: Proceedings of the 33rd ACM Symposium on Parallelism in Algorithms and ArchitecturesWe study a (1+ε)-approximate single-source shortest paths (henceforth, (1+ε)-SSSP) in n-vertex undirected, weighted graphs in the parallel (PRAM) model of computation. A randomized algorithm with polylogarithmic time and slightly super-linear work Õ(|E|•...
A Constant Time Optimal Parallel Algorithm for Two-Dimensional Pattern Matching
We give an alphabet-independent deterministic parallel algorithm for finding all occurrences of a pattern array of size mh x mw in a text array of size nh x nw in the concurrent-read-concurrent-write--parallel-random-access-machine (CRCW--PRAM) model. ...
Comments