首页 | 本学科首页   官方微博 | 高级检索  
     


An efficient external sorting with minimal space requirement
Authors:Dalia Motzkin  Christina L Hansen
Affiliation:(1) Department of Computer Science, Western Michigan University, Kalamazoo, Michigan
Abstract:An efficient external sorting algorithm with minimal space requirement is presented in this article. The average number of passes over the data is approximately 1 +Ln(N + 1)/4B, whereN is the number of records in the file to be sorted, andB is the buffer size. The external storage requirement is only the file itself, no additional disk space is required. The internal storage requirement is four buffers: two for input, and two for output. The buffer size can be adjusted to the available memory space. A stack of size log2 N is also required.This work was partially supported by a fellowship and grant from Western Michigan University.
Keywords:Sorting  quicksort  external sorting  efficient sorting
本文献已被 SpringerLink 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号