Abstract
Let A = [a i,j ]1≤i≤n 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).
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Bibliography
R.M. Karp: The Transitive Closure of a Random Digraph. Random Structures and Algorithms. Vol. 1 (1990), pp. 73–94.
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.
C.P. Schnorr: An Algorithm for Transitive Closure with Linear Expected Time. Siam J. Computing 7 (1978) pp. 127–133.
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights 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