首页> 外文会议>International computing and combinatorics conference >Simultaneous Encodings for Range and Next/Previous Larger/Smaller Value Queries
【24h】

Simultaneous Encodings for Range and Next/Previous Larger/Smaller Value Queries

机译:范围和下一个/上一个较大/较小值查询的同时编码

获取原文

摘要

Given an array of n elements from a total order, we propose encodings that support various range queries (range minimum, range maximum and their variants), and previous and next smaller/larger value queries. When query time is not of concern, we obtain a 4.088n + o(n)-bit encoding that supports all these queries. For the case when we need to support all these queries in constant time, we give an encoding that takes 4.585n + o(n) bits, where n is the length of input array. We first extend the original DFUDS [Algorithmica, 2005] encoding of the colored 2d-Min (Max) heap that supports the queries in constant time. Then, we combine the extended DFUDS of 2d-Min heap and 2d-Max heap using the Min-Max encoding of Gawrychowski and Nicholson [arXiv, 2014] with some modifications. We also obtain encodings that take lesser space and support a subset of these queries.
机译:给定总顺序中包含n个元素的数组,我们提出了支持各种范围查询(范围最小,范围最大及其变体)以及上一个和下一个较小/较大值查询的编码。当查询时间不重要时,我们将获得支持所有这些查询的4.088n + o(n)位编码。对于需要在恒定时间内支持所有这些查询的情况,我们给出一种编码,该编码需要4.585n + o(n)位,其中n是输入数组的长度。我们首先扩展彩色2d-Min(Max)堆的原始DFUDS [Algorithmica,2005]编码,该编码支持恒定时间的查询。然后,我们使用Gawrychowski和Nicholson的Min-Max编码结合2d-Min堆和2d-Max堆的扩展DFUDS [arXiv,2014]。我们还获得占用较少空间并支持这些查询子集的编码。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号