【24h】

On the Range Maximum-Sum Segment Query Problem

机译:关于范围最大和段查询问题

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

摘要

We are given a sequence A of n real numbers which is to be preprocessed. In the Range Maximum-Sum Segment Query (RMSQ) problem, a query is comprised of two intervals [i,j] and [k,l] and our goal is to return the maximum-sum segment of A whose starting index lies in [i,j] and ending index lies in [k,l].We propose the first known algorithm for this problem in O(n) preprocessing time and O(1) time per query under the unit-cost RAM model. We also use the RMSQ techniques to solve three relevant problems in linear time. These variations on the basic theme demonstrate the utilities of the techniques developed in this paper.
机译:给定n个实数的序列A,该序列A需进行预处理。在范围最大和分段查询(RMSQ)问题中,查询由两个间隔[i,j]和[k,l]组成,我们的目标是返回A的最大和分段,其起始索引位于[ i,j]和结束索引位于[k,l]中。我们在单位成本RAM模型下,针对每个查询的O(n)预处理时间和O(1)时间,提出了针对该问题的第一个已知算法。我们还使用RMSQ技术来解决线性时间中的三个相关问题。这些基本主题的变体证明了本文开发的技术的实用性。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号