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


Encroaching lists as a measure of presortedness
Authors:Steven S. Skiena
Affiliation:(1) Department of Computer Science, University of Illinois, 61801 Urbana, Illinois, USA;(2) Present address: Department of Computer Science, State University of New York, 11794 Stony Brook, NY
Abstract:Encroaching lists are a generalization of monotone sequences in permutations. Since ordered permutations contain fewer encroaching lists than random ones, the number of such listsm provides a measure of presortedness with advantages over others in the literature. Experimental and analytic results are presented to cast light on the properties of encroaching lists. Also, we describe a new sorting algorithm,melsort, with complexityO(nlogm). Thus it is linear for well ordered sets and reduces to mergesort andO(nlogn) in the worst case.This work was partially supported by National Science Foundation Grant CCSR-8714565.
Keywords:F.2.2
本文献已被 SpringerLink 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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