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


Optimal disk merge patterns
Authors:Maurice Schlumberger  Jean Vuillemin
Affiliation:(1) Computer Science Department, Stanford University, 94305, CA, USA;(2) I.R.I.A Domaine de Voluceau, 78150 Rocquencourt, France
Abstract:Our purpose is to study the optimal way to merge n initially sorted runs, stored on a disk like device, into a unique sorted file. This problem is equivalent to finding a tree with n leaves which minimizes a certain cost function (see Knuth 1]).We shall study some properties of those optimal trees, in the hope of finding efficient ways for constructing them.In particular, if all the initial runs have the same length, an algorithm for constructing the best merge pattern is described ; its running time is proportional to n 2 and it requires space proportional to n.A special case is also analyzed in which the problem is solved in time and space proportional to n, and which provides some insight into the asymptotic behaviour of optimal merge trees.
Keywords:
本文献已被 SpringerLink 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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