首页> 外文期刊>Software >Rehabilitation Of An Unloved Child: Semi-splaying
【24h】

Rehabilitation Of An Unloved Child: Semi-splaying

机译:康复一个不受欢迎的孩子:半玩耍

获取原文
获取原文并翻译 | 示例
           

摘要

Splay trees are widely considered as the classic examples of self-adjusting binary search trees and are part of most courses on data structures and algorithms. Already in the first seminal paper on splay trees (J. Assoc. Comput. Mach. 1985; 32(3):652-686) alternative operations were introduced, among which is semi-splaying. On the one hand, the analysis of semi-splaying gives a smaller constant for the amortized complexity, but on the other hand the authors write: Whether any version of semi-splaying is an improvement over splaying depends on the access sequence. Semi-splaying may be better when the access pattern is stable, but splaying adapts much faster to changes in usage. Maybe this sentence was the reason that nobody seriously ran tests to compare the performance of semi-splaying and splaying. Semi-splaying is conceptually simpler than splaying, has the same asymptotic amortized complexity and, as will be clear from empirical data presented in this paper, the practical performance is better for a very broad variety of access patterns. Therefore, its efficiency is a good reason to use semi-splaying for applications instead of its more prominent brother. Moreover, its simplicity also makes it very attractive for teaching purposes.
机译:Splay树被广泛认为是自调整二进制搜索树的经典示例,并且是大多数有关数据结构和算法的课程的一部分。在有关八叉树的第一篇开创性论文中(J. Assoc。Comput。Mach。1985; 32(3):652-686),已经介绍了替代操作,其中包括半八叉树。一方面,对半展开的分析为摊销后的复杂度提供了一个较小的常数,但另一方面,作者写道:半展开的任何版本是否都优于展开,取决于访问顺序。当访问模式稳定时,半展开可能会更好,但是展开可以更快地适应使用情况的变化。也许这句话是没有人认真进行测试以比较半张开和张开性能的原因。半展开在概念上比展开更简单,具有相同的渐近摊销复杂度,并且从本文提供的经验数据可以清楚地看出,对于多种访问模式,实际性能都更好。因此,它的效率是为应用程序使用半播放而不是更著名的兄弟的一个很好的理由。而且,它的简单性也使其对于教学目的非常有吸引力。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号