کد مقاله کد نشریه سال انتشار مقاله انگلیسی نسخه تمام متن
4950846 1441034 2017 14 صفحه PDF دانلود رایگان
عنوان انگلیسی مقاله ISI
Construct a perfect word hash function in time independent of the size of integers
ترجمه فارسی عنوان
یک تابع حصیر کلمه کامل را در زمان مستقل از اندازه عدد صحیح بسازید
کلمات کلیدی
تجزیه و تحلیل الگوریتم ها، طراحی الگوریتم ها، هش وظیفه هش کلیدی کامل، صحیح،
موضوعات مرتبط
مهندسی و علوم پایه مهندسی کامپیوتر نظریه محاسباتی و ریاضیات
چکیده انگلیسی
We present an algorithm for constructing a perfect word hash function for n integers that takes O(n4log⁡n) time. This time is independent of size of the integers or the number of bits in the integers. We call it a word hash function because we require that the hash function can hash multiple integers packed in a word in constant time. Previous algorithms for constructing a perfect word hash function have time dependent on the number of the bits in integers. Although an O(n(log⁡log⁡n)2) time algorithm is known for constructing a perfect hash function, the hash function constructed is not a word hash function and it cannot hash multiple integers packed in one word in constant time. The property of word hashing is indispensable in the current best deterministic and randomized algorithms for integer sorting. Our result is achieved via an algorithm of O(n2log2⁡n) time that computes the shift distances for integers of Ω(n2log⁡n) bits. These shift distances can then be used to pack the extracted bits of each integer to O(n) bits. Perfect word hash function constructed with our method using these shift distances allows a batch of mn integers with m integers packed in a word to be hashed in O(n) time.
ناشر
Database: Elsevier - ScienceDirect (ساینس دایرکت)
Journal: Information Processing Letters - Volume 128, December 2017, Pages 5-10
نویسندگان
,