Skip to main content

A Geometric Approach to Boolean Matrix Multiplication

  • Conference paper
  • First Online:
Algorithms and Computation (ISAAC 2002)

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 2518))

Included in the following conference series:

Abstract

For a Boolean matrix D, let r D be the minimum number of rectangles sufficient to cover exactly the rectilinear region formed by the 1-entries in D. Next, let m D be the minimum of the number of 0-entries and the number of 1-entries inD.

Suppose that the rectilinear regions formed by the 1-entries in two n*n Boolean matrices A and B totally with q edges are given. We show that in time Õ(q + minr ArB, n(n + rA),n(n) + rB))1 one can construct a data structure which for any entry of the Boolean product of A and B reports whether or not it is equal to 1, and if so, reports also the so called witness of the entry, in time O(log q). Asa corollary, we infer that if the matrices A and B are given as input, their product and the witnesses of the product can be computed in time O(n (n+minr a,rb)) . This implies in particular that the product of A and B and its witnesses can be computed in time O(n(n + minm A, mb)).

In contrast to the known sub-cubic algorithms for Boolean matrix multiplication based on arithmetic 0 — 1-matrix multiplication, our algorithms do not involve large hidden constants in their running time and are easy to implement.

Research supported in part by TFR grant 221-99-344.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. A.V. Aho, J.E. Hopcroft and J.D. Ullman. The Design and Analysis of Computer Algorithms (Addison-Wesley, Reading, Massachusetts, 1974).

    MATH  Google Scholar 

  2. N. Alon and M. Naor. Derandomization, Witnesses for Boolean Matrix Multiplication and Construction of Perfect hash functions. Algorithmica 16, pp. 434–449, 1996.

    Article  MATH  MathSciNet  Google Scholar 

  3. V.L. Arlazarov, E.A. Dinic, M.A. Konrod and L.A. Faradzev. On economical construction of the transitive closure of a directed graph. Doklady Acad. Nauk SSSR, 194, pp. 487–488, 1970 (in Russian).

    Google Scholar 

  4. J. Basch, S. Khanna and R. Motwani. On Diameter Verification and Boolean Matrix Multiplication. Technical Report, Standford University CS department, 1995.

    Google Scholar 

  5. P. Berman and B. Dasgupta. Approximating Rectilinear Polygon Cover Problems. Algorithmica 17(4), 1997, pp. 331–356.

    Article  MATH  MathSciNet  Google Scholar 

  6. A. Björklund. Fast Multiplication of Low Rank Matrices. Unpublished manuscript, Lund University, 2002.

    Google Scholar 

  7. A. Björklund and A. Lingas. Fast Boolean matrix multiplication for highly clustered data. Proc. 7th International Workshop on Algorithms and Data Structures (WADS 2001), Lecture Notes in Computer Science, Springer Verlag.

    Google Scholar 

  8. P.J. Cameron. Combinatorics. Cambridge University Press 1994.

    Google Scholar 

  9. D. Coppersmith and S. Winograd. Matrix Multiplication via Arithmetic Progressions. J. of Symbolic Computation 9 (1990), pp. 251–280.

    Article  MATH  MathSciNet  Google Scholar 

  10. H. Edelsbrunner and H. Maurer. On the intersection of orthogonal objects. IPL vol. 13 (1981), pp. 177–181.

    Article  MathSciNet  Google Scholar 

  11. D.S. Franzblau. Performance Guarantees on a Sweep Line Heuristic for Covering Rectilinear Polygons with Rectangles. SIAM J. Discrete Math., Vol. 2,3, 1989, pp. 307–321.

    Article  MATH  MathSciNet  Google Scholar 

  12. Z. Galil and O. Margalit. Witnesses for Boolean Matrix Multiplication and Shortest Paths. Journal of Complexity, pp. 417–426, 1993.

    Google Scholar 

  13. K. Mehlhorn. Data Structures and Algorithms 3: Multi-dimensional Searching and Computational Geometry. EATCS Monographs on Theoretical Computer Science, Springer Verlag, Berlin, 1984.

    Google Scholar 

  14. K. Mehlhorn and Z. Galil. Monotone switching circuits and Boolean matrix product. Computing 16(1–2), pp. 99–111, 1976.

    Article  MATH  MathSciNet  Google Scholar 

  15. M.H. Overmars. Efficient Data Structures for Range Searching on a Grid. J. Algorithms, 9(2), pages 254–275, 1988.

    Article  MATH  MathSciNet  Google Scholar 

  16. M.S. Paterson. Complexity of monotone networks for Boolean matrix product. Theoretical Computer Science 1(1), pp. 13–20, 1975.

    Article  MATH  MathSciNet  Google Scholar 

  17. C.P. Schnorr and C.R. Subramanian. Almost Optimal (on the average) Combinatorial Algorithms for Boolean Matrix Product Witnesses, Computing the Diameter. Randomization and Approximation Techniques in Computer Science. Second International Workshop, RAN-DOM’98, Lecture Notes in Computer Science 1518, pp. 218–231.

    Google Scholar 

  18. R. Seidel. On the all-pairs-shortest-path problem in unweighted undirected graphs. Journal of Computer and System Sciences, 51, pp. 400–403, 1995.

    Article  MathSciNet  Google Scholar 

  19. V Strassen. Gaussian elimination is not optimal. Numerische Mathematik 13, pp. 354–356, 1969.

    Article  MATH  MathSciNet  Google Scholar 

  20. U. Zwick. Exact and Approximate Distances in Graphs — A Survey. Proc. 9th Annual European Symposium on Algorithms (ESA 2001), Lecture Notes in Computer Science, Springer Verlag.

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2002 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Lingas, A. (2002). A Geometric Approach to Boolean Matrix Multiplication. In: Bose, P., Morin, P. (eds) Algorithms and Computation. ISAAC 2002. Lecture Notes in Computer Science, vol 2518. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-36136-7_44

Download citation

  • DOI: https://doi.org/10.1007/3-540-36136-7_44

  • Published:

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-00142-3

  • Online ISBN: 978-3-540-36136-7

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics