Optimal parallel algorithms for b-matchings in trees

  • Constantine N. K. Osiakwan
  • Selim G. Akl
Conference paper
Part of the Lecture Notes in Computer Science book series (LNCS, volume 401)


We present adaptive parallel algorithms for b — matchings in trees. The algorithms are designed using the exclusive-read exclusive-write parallel random-access machine (EREW PRAM) model of parallel computation. For a tree of n vertices, the algorithms run in O(n/p+log n) time using p processors (pn). When pn/(log n), the algorithms are cost optimal.

Ordinary matching problems are special cases of b — matching problems. The best previously known parallel algorithm for ordinary matching in trees runs in O(log n) time using O(n) processors on the EREW PRAM model. Our algorithms achieve the same time complexity with fewer processors.


b — matching matching tree parallel algorithm EREW PRAM postorder numbering minimum set cover maximum independent set 


Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

7. References

  1. Aho, A.V., J.E. Hopcroft and J.D. Ullman, [1974], The Design and Analysis of Computer Algorithms, Addison-Wesley, Reading, Massachusetts, 1974.Google Scholar
  2. Akl, S.G., [1989], The Design and Analysis of Parallel Algorithms, Prentice Hall, Englewood Cliffs, New Jersey, 1989.Google Scholar
  3. Akl, S.G., [1985], Parallel Sorting Algorithms, Academic Press, Orlando, Florida, 1985.Google Scholar
  4. Akl, S.G., [1984], "An Optimal Algorithm for Parallel Selection", Information Processing Letters, Vol. 19, No. 1, 1984, pp. 47–50.CrossRefGoogle Scholar
  5. Berge, C. [1973], Graphs and Hypergraphs, (translated by E. Minieka) North-Holland, New York, New York, 1973.Google Scholar
  6. Blum, M., R.W. Floyd, V. Pratt, R.L. Rivest and R.E. Tarjan, [1973], "Time Bounds for Selection", Journal of Computer and System Sciences, Vol. 7, 1973, pp. 448–461.Google Scholar
  7. Bondy, J.A. and U.S.R. Murty, [1976], Graph Theory with Applications, North-Holland, New York, New York, 1976.Google Scholar
  8. Brent, R.P., [1974], "The Parallel Evaluation of General Arithmetic Expressions", Journal of the Association for Computing Machinery, Vol. 21, No. 2, April 1974, pp. 201–206.Google Scholar
  9. Cole, R. and U. Vishkin, [1988], "Approximate Parallel Scheduling. Part I: The Basic Technique with Applications to Optimal List Ranking in Logarithmic Time", SIAM Journal on Computing, Vol. 17, No. 1, February 1988, pp. 128–142.CrossRefGoogle Scholar
  10. Cole, R. and U. Vishkin, [1986], "Approximate Parallel and Exact Parallel Scheduling with Applications to Lists, Tree and Graph Problems", Proceedings of the IEEE 27 th Symposium on Foundations of Computer Science, October 27–29, 1986, pp. 478–491.Google Scholar
  11. Edmonds, J., [1965a], "Paths, Trees and Flowers", Canadian Journal of Mathematics Vol. 17, No. 3, 1965, pp. 449–467.Google Scholar
  12. Edmonds, J., [1965b], "Matching and Polyhedrons with 0,1 Vertices", Journal of Research of the National Bureau of Standards B. Mathematics and Mathematical Physics Vol. 69B, Nos. 1 and 2, Jan.–June 1965, pp. 125–130.Google Scholar
  13. Gabow, H.N., [1976], "An Efficient Implementation of Edmonds Algorithm for Maximal Matching on Graphs", Journal of the Association for Computing Machinery, Vol. 23, No. 2, April 1976, pp. 221–234.Google Scholar
  14. Gabow, H.N., [1974], "Implementation of Algorithms for Maximum Matching on Nonbipartite Graphs", Ph.D. Dissertation, Department of Computer Science, Stanford University, Stanford, California, 1974.Google Scholar
  15. Goodman, S., S. Hedetniemi and R.E. Tarjan, [1976], "b-Matchings in Trees", SIAM Journal on Computing, Vol. 5, No. 1, March 1976, pp. 104–108.CrossRefGoogle Scholar
  16. He, X. and Y. Yesha, [1988], "Binary Algebraic Computation and Parallel Algorithms for Simple Graphs", Journal of Algorithms, Vol. 9, 1988, pp. 92–113.CrossRefGoogle Scholar
  17. Hyafil, L., [1976], "Bounds for Selection", SIAM Journal on Computing, Vol. 5, No. 1, March 1976, pp. 109–114.CrossRefGoogle Scholar
  18. Knuth, D.E., [1976], The Art of Computer Programming, Vol. I: Fundamental Algorithms. Addison-Wesley, Reading, Massachusetts, 1968.Google Scholar
  19. Lawler, E.L. [1976], Combinatorial Optimization: Networks and Matroids, Holt-Rinehart-Winston, New York 1976.Google Scholar
  20. Papadimitriou, C.H. and K Steiglitz, [1982], Combinatorial Optimization: Algorithms and Complexity, Prentice-Hall, Englewood Cliffs, New Jersey, 1982.Google Scholar
  21. Pawagi, S., [1987], "Parallel Algorithms for Maximum Weight Matching in Trees", Proceedings of the 1987 International Conference on Parallel Processing, Aug 12–21 1987, pp. 204–206.Google Scholar
  22. Tarjan, R.E. and U. Vishkin, [1984], "Finding Biconnected Components and Computing Tree Functions in Logarithmic Parallel Time (Extended Summary)", Proceedings of the 25 th Annual IEEE Symposium on Foundation of Computer Science, IEEE, New York, 1984, pp. 12–20.Google Scholar
  23. Tarjan, R.E. [1972], "Depth-First Search and Linear Graph Algorithms", SIAM Journal on Computing, Vol. 1, No. 2, June 1972, pp. 146–160.CrossRefGoogle Scholar

Copyright information

© Springer-Verlag Berlin Heidelberg 1989

Authors and Affiliations

  • Constantine N. K. Osiakwan
    • 1
  • Selim G. Akl
    • 1
  1. 1.Department of Computing and Information ScienceQueen's UniversityKingstonCanada

Personalised recommendations