کد مقاله | کد نشریه | سال انتشار | مقاله انگلیسی | نسخه تمام متن |
---|---|---|---|---|
437864 | 690196 | 2010 | 16 صفحه PDF | دانلود رایگان |
عنوان انگلیسی مقاله ISI
Multiway in-place merging
دانلود مقاله + سفارش ترجمه
دانلود مقاله ISI انگلیسی
رایگان برای ایرانیان
موضوعات مرتبط
مهندسی و علوم پایه
مهندسی کامپیوتر
نظریه محاسباتی و ریاضیات
پیش نمایش صفحه اول مقاله

چکیده انگلیسی
We present an algorithm for asymptotically efficient k-way merging. Given an array A containing k sorted subsequences A1,…,Ak of respective lengths n1,…,nk, where , our algorithm merges A1,…,Ak into a single sorted sequence in-place and in linear time, performing ck⋅n+o(n) element comparisons and 3⋅n+o(n) element moves, where ck=⌊lgk⌋+2⋅(1−2⌊lgk⌋/k), which is a constant satisfying lgk≤ck≤⌈lgk⌉ and, moreover, bounded by ck≤lgk+0.0861. The algorithm does not merge stably, however, it does not require that the elements in A are all distinct.
ناشر
Database: Elsevier - ScienceDirect (ساینس دایرکت)
Journal: Theoretical Computer Science - Volume 411, Issues 16–18, 28 March 2010, Pages 1793-1808
Journal: Theoretical Computer Science - Volume 411, Issues 16–18, 28 March 2010, Pages 1793-1808