کد مقاله کد نشریه سال انتشار مقاله انگلیسی نسخه تمام متن
427886 686572 2008 6 صفحه PDF دانلود رایگان
عنوان انگلیسی مقاله ISI
Cache-oblivious selection in sorted X+Y matrices
موضوعات مرتبط
مهندسی و علوم پایه مهندسی کامپیوتر نظریه محاسباتی و ریاضیات
پیش نمایش صفحه اول مقاله
Cache-oblivious selection in sorted X+Y matrices
چکیده انگلیسی

Let X[0..n−1] and Y[0..m−1] be two sorted arrays, and define the m×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.

ناشر
Database: Elsevier - ScienceDirect (ساینس دایرکت)
Journal: Information Processing Letters - Volume 109, Issue 2, 31 December 2008, Pages 87-92