Published December 31, 2008
| public
Journal Article
Cache-oblivious selection in sorted X+Y matrices
- Creators
- de Berg, Mark
- Thite, Shripad
Chicago
Abstract
Let X[0 . . n - 1] and Y[0 . . m - 1] be two sorted arrays, and define the m x n matrix A by A[j][i] = X[i] + Y[j]. Frederickson and Johnson [G.N. Frederickson, D.B. Johnson. Generalized selection and ranking: Sorted matrices, SIAM J. Computing 13 (1984) 14-30] gave an efficient algorithm for selecting the kth smallest element from A. We show how to make this algorithm IO-efficient. Our cache-oblivious algorithm performs O ((m + n)/ B) IOs, where B is the block size of memory transfers.
Additional Information
© 2008 Elsevier B.V. Received 7 April 2008. Available online 4 September 2008. Communicated by F. Dehne. This research was supported by the Netherlands' Organisation for Scientific Research (NWO) under project no. 639.023.301Additional details
- Eprint ID
- 13323
- DOI
- 10.1016/j.ipl.2008.09.001
- Resolver ID
- CaltechAUTHORS:BERipl08
- Netherlands' Organisation for Scientific Research (NWO)
- 639.023.301
- Created
-
2009-06-04Created from EPrint's datestamp field
- Updated
-
2021-11-08Created from EPrint's last_modified field