首页> 外文会议>Annual Symposium on Combinatorial Pattern Matching(CPM 2006); 20060705-07; Barcelona(ES) >Theoretical and Practical Improvements on the RMQ-Problem, with Applications to LCA and LCE
【24h】

Theoretical and Practical Improvements on the RMQ-Problem, with Applications to LCA and LCE

机译:RMQ问题的理论和实践改进,应用于LCA和LCE

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

摘要

The Range-Minimum-Query-Problem is to preprocess an array such that the position of the minimum element between two specified indices can be obtained efficiently. We present a direct algorithm for the general RMQ-problem with linear preprocessing time and constant query time, without making use of any dynamic data structure. It consumes less than half of the space that is needed by the method by Berkman and Vishkin. We use our new algorithm for RMQ to improve on LCA-computation for binary trees, and further give a constant-time LCE-algorithm solely based on arrays. Both LCA and LCE have important applications, e.g., in computational biology. Experimental studies show that our new method is almost twice as fast in practice as previous approaches, and asymptotically slower variants of the constant-time algorithms perform even better for today's common problem sizes.
机译:Range-Minimum-Query-Problem将对数组进行预处理,以便可以有效地获取两个指定索引之间的最小元素的位置。我们为具有线性预处理时间和恒定查询时间的一般RMQ问题提供了一种直接算法,无需使用任何动态数据结构。它所消耗的空间不到Berkman和Vishkin的方法所需空间的一半。我们使用新的RMQ算法来改进二叉树的LCA计算,并进一步给出仅基于数组的恒定时间LCE算法。 LCA和LCE都具有重要的应用,例如在计算生物学中。实验研究表明,我们的新方法在实践中的速度几乎是以前方法的两倍,并且渐近变慢的恒定时间算法在当今常见问题规模上的表现甚至更好。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号