Skip to main content

Computation of the Boolean Matrix-Vector, AND/OR-Produkt in Average Time O(m + nlnn)

  • Chapter
Informatik

Part of the book series: TEUBNER-TEXTE zur Informatik ((TTZI,volume 1))

Abstract

Let A = [a i,j ]1in be a boolean matrix and let b = (b 1,...,b m )T be a boolean vector. The boolean AND/OR-product c = Ab, c = (c 1,...,c n )T is given by c i = V j =1,...,m (a i,j b j ) for i = 1,...,m. We consider random boolean n × m matrices A where the probability for A is preserved by arbitrary permutations of the elements in each column. We describe an algorithm that first preprocesses the matrix A using O(nm) steps and then computes the product Ab using an expected number of O(m + nlnn) steps. As a consequence the boolean matrix product C = AB of the random boolean n × m-matrix A and an arbitrary boolean m × k matrix B can be computed in average time O(nm + km + kn lnn).

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 49.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 49.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.

Bibliography

  1. R.M. Karp: The Transitive Closure of a Random Digraph. Random Structures and Algorithms. Vol. 1 (1990), pp. 73–94.

    Article  MathSciNet  MATH  Google Scholar 

  2. P.E. O’Neil and E.J. O’Neil: A Fast Expected Time Algorithm for Boolean Matrix Multiplication and Transitive Closure. Combinatorial Algorithms, Ed.: R. Rustin. Algorithmic Press, New York 1973, pp. 59–68.

    Google Scholar 

  3. C.P. Schnorr: An Algorithm for Transitive Closure with Linear Expected Time. Siam J. Computing 7 (1978) pp. 127–133.

    Article  MathSciNet  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 1992 B. G. Teubner Verlagsgesellschaft, Leipzig

About this chapter

Cite this chapter

Schnorr, C.P. (1992). Computation of the Boolean Matrix-Vector, AND/OR-Produkt in Average Time O(m + nlnn). In: Buchmann, J., Ganzinger, H., Paul, W.J. (eds) Informatik. TEUBNER-TEXTE zur Informatik, vol 1. Vieweg+Teubner Verlag, Wiesbaden. https://doi.org/10.1007/978-3-322-95233-2_21

Download citation

  • DOI: https://doi.org/10.1007/978-3-322-95233-2_21

  • Publisher Name: Vieweg+Teubner Verlag, Wiesbaden

  • Print ISBN: 978-3-8154-2033-1

  • Online ISBN: 978-3-322-95233-2

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics