Algorithms for Subpath Convex Hull Queries and Ray-Shooting among Segments

凸壳 组合数学 正交凸壳 二进制对数 数学 数据结构 路径(计算) 二叉搜索树 计算几何 正多边形 空格(标点符号) 离散数学 算法 凸体 计算机科学 二叉树 几何学 操作系统 程序设计语言
作者
Haitao Wang
出处
期刊:SIAM Journal on Computing [Society for Industrial and Applied Mathematics]
卷期号:53 (4): 1132-1161 被引量:1
标识
DOI:10.1137/21m145118x
摘要

.In this paper, we first consider the subpath convex hull query problem: Given a simple path \(\pi\) of \(n\) vertices, preprocess it so that the convex hull of any query subpath of \(\pi\) can be quickly obtained. Previously, Guibas, Hershberger, and Snoeyink [Int. J. Comput. Geom. Appl., 1 (1991), pp. 1–22; first appeared in SODA 1990] proposed a data structure of \(O(n)\) space and \(O(\log n\log \log n)\) query time; they also reduced the query time to \(O(\log n)\) by increasing the space to \(O(n\log \log n)\) . We present an improved result that uses \(O(n)\) space while achieving \(O(\log n)\) query time. Like the previous work, our query algorithm returns a compact interval tree representing the convex hull so that standard binary-search-based queries on the hull can be performed in \(O(\log n)\) time each. The preprocessing time of our data structure is \(O(n)\) after the vertices of \(\pi\) are sorted by \(x\) -coordinate. As the subpath convex hull query problem has many applications, our new result leads to improvements for several other problems. In particular, with the help of the above result, along with other techniques, we present new algorithms for the ray-shooting problem among segments. Given a set of \(n\) (possibly intersecting) line segments in the plane, preprocess it so that the first segment hit by a query ray can be quickly found. We give a data structure of \(O(n\log n)\) space that can answer each query in \((\sqrt{n}\log n)\) time. If the segments are nonintersecting or if the segments are lines, then the space can be reduced to \(O(n)\) . As a by-product, given a set of \(n\) (possibly intersecting) segments in the plane, we build a data structure of \(O(n)\) space that can determine whether a query line intersects a segment in \(O(\sqrt{n}\log n)\) time. The preprocessing time is \(O(n^{1.5})\) for all four problems, which can be reduced to \(O(n\log n)\) time by a randomized algorithm so that the query time is bounded by \(O(\sqrt{n}\log n)\) with high probability. All these are classical problems that have been studied extensively. Previously data structures of \(\widetilde{O}(\sqrt{n})\) query time were known in the early 1990s (the notation \(\widetilde{O}\) suppresses a polylogarithmic factor); nearly no progress has been made for more than two decades. For all these problems, our new results provide improvements by reducing the space of the data structures by at least a logarithmic factor while the preprocessing and query times are the same as before or even better.Keywordssubpath hull queriesconvex hullscompact interval treesray-shootingMSC codes68Q2568W4068U0565D18
最长约 10秒,即可获得该文献文件

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
情怀应助Mrrr采纳,获得10
刚刚
刚刚
调研昵称发布了新的文献求助10
1秒前
淡定念波完成签到,获得积分10
1秒前
1秒前
卷卷王发布了新的文献求助10
2秒前
2秒前
天天快乐应助phz采纳,获得10
3秒前
lili完成签到,获得积分10
4秒前
sakurai应助通~采纳,获得10
4秒前
4秒前
4秒前
柴火烧叽发布了新的文献求助10
5秒前
香蕉觅云应助内向秋寒采纳,获得10
5秒前
6秒前
6秒前
zyh完成签到,获得积分10
6秒前
6秒前
小马甲应助Anxinxin采纳,获得10
6秒前
ww发布了新的文献求助10
6秒前
这小猪真帅完成签到,获得积分10
7秒前
Hulda完成签到,获得积分10
7秒前
可靠访蕊完成签到 ,获得积分10
8秒前
深情安青应助科研小白采纳,获得10
8秒前
八八完成签到,获得积分20
9秒前
请叫我风吹麦浪应助AIA7采纳,获得10
9秒前
智齿怪物一号完成签到,获得积分10
9秒前
舒适山槐完成签到,获得积分10
9秒前
HJJHJH发布了新的文献求助10
9秒前
易哒哒发布了新的文献求助10
9秒前
ZZZpp完成签到,获得积分10
10秒前
大个应助756采纳,获得10
11秒前
12秒前
喵呜发布了新的文献求助10
12秒前
Ava应助k7采纳,获得10
12秒前
领导范儿应助cc采纳,获得10
12秒前
橘子发布了新的文献求助40
12秒前
12秒前
benben完成签到,获得积分10
13秒前
wjq完成签到,获得积分10
13秒前
高分求助中
Continuum Thermodynamics and Material Modelling 3000
Production Logging: Theoretical and Interpretive Elements 2700
Social media impact on athlete mental health: #RealityCheck 1020
Ensartinib (Ensacove) for Non-Small Cell Lung Cancer 1000
Unseen Mendieta: The Unpublished Works of Ana Mendieta 1000
Bacterial collagenases and their clinical applications 800
El viaje de una vida: Memorias de María Lecea 800
热门求助领域 (近24小时)
化学 材料科学 生物 医学 工程类 有机化学 生物化学 物理 纳米技术 计算机科学 内科学 化学工程 复合材料 基因 遗传学 物理化学 催化作用 量子力学 光电子学 冶金
热门帖子
关注 科研通微信公众号,转发送积分 3527849
求助须知:如何正确求助?哪些是违规求助? 3107938
关于积分的说明 9287239
捐赠科研通 2805706
什么是DOI,文献DOI怎么找? 1540033
邀请新用户注册赠送积分活动 716893
科研通“疑难数据库(出版商)”最低求助积分说明 709794