首页> 外文期刊>Computational geometry: Theory and applications >An in-place min-max priority search tree (Conference Paper)
【24h】

An in-place min-max priority search tree (Conference Paper)

机译:就地最小-最大优先级搜索树(会议论文)

获取原文
获取原文并翻译 | 示例
获取外文期刊封面目录资料

摘要

One of the classic data structures for storing point sets in ~(R2) is the priority search tree, introduced by McCreight in 1985. We show that this data structure can be made in-place, i.e., it can be stored in an array such that each entry stores only one point of the point set and no entry is stored in more than one location of that array. It combines a binary search tree with a heap. We show that all the standard query operations can be performed within the same time bounds as for the original priority search tree, while using only O(1) extra space. We introduce the min-max priority search tree which is a combination of a binary search tree and a min-max heap. We show that all the standard queries which can be done in two separate versions of a priority search tree can be done with a single min-max priority search tree. As an application, we present an in-place algorithm to enumerate all maximal empty axis-parallel rectangles amongst points in a rectangular region R in ~(R2) in O(mlogn) time with O(1) extra space, where m is the total number of maximal empty rectangles.
机译:优先点搜索树是在〜(R2)中存储点集的经典数据结构之一,它是1985年由麦克雷特(McCreight)引入的。我们证明了该数据结构可以就地制作,即可以存储在数组中,例如每个条目仅存储点集的一个点,并且没有条目存储在该数组的一个以上位置。它结合了二进制搜索树和堆。我们表明,所有标准查询操作都可以在与原始优先级搜索树相同的时限内执行,而仅使用O(1)额外空间。我们介绍了最小-最大优先级搜索树,它是二进制搜索树和最小-最大堆的组合。我们显示了可以在一个优先级搜索树的两个不同版本中完成的所有标准查询都可以使用一个最小-最大优先级搜索树来完成。作为一种应用,我们提出了一种就地算法,以枚举O(mlogn)时间中〜(R2)的矩形区域R中的点中所有最大的空轴平行矩形,其中O为额外的空间(1),其中m为最大空矩形的总数。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号