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

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
LL发布了新的文献求助10
刚刚
1秒前
钟江完成签到 ,获得积分10
1秒前
1秒前
细腻的向薇完成签到,获得积分10
2秒前
共享精神应助迷你的思柔采纳,获得10
2秒前
123应助Ohh采纳,获得10
3秒前
wjunj发布了新的文献求助10
3秒前
3秒前
ni发布了新的文献求助10
4秒前
满天星完成签到,获得积分10
4秒前
5秒前
6秒前
6秒前
yyy完成签到,获得积分10
7秒前
8秒前
9秒前
niii发布了新的文献求助10
9秒前
niufuking发布了新的文献求助10
11秒前
所所应助芒果椰椰采纳,获得10
11秒前
11秒前
大白完成签到 ,获得积分10
11秒前
12秒前
温柔猕猴桃完成签到,获得积分10
12秒前
zjy2023完成签到,获得积分10
13秒前
郭囯完成签到,获得积分10
14秒前
搜集达人应助瑞葛采纳,获得10
14秒前
老虎完成签到,获得积分10
14秒前
谢亚冰发布了新的文献求助10
14秒前
15秒前
彭于晏应助卓向梦采纳,获得10
16秒前
16秒前
JamesPei应助niufuking采纳,获得10
16秒前
huan完成签到,获得积分10
16秒前
zzz发布了新的文献求助10
16秒前
hn_zhx发布了新的文献求助10
16秒前
核桃发布了新的文献求助10
17秒前
田様应助壹贰叁采纳,获得10
18秒前
科研通AI6.2应助Qsy采纳,获得10
18秒前
苗条的一一完成签到,获得积分0
18秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
Developing Genetic Editing Tools for Lysobacter 2000
卤化钙钛矿人工突触的研究 2000
Моделирование процессов самоорганизации в кристаллообразующих системах 1000
History of U.S. Space Surveillance and Satellite Cataloging 1000
Malcolm Fraser : a biography 700
Handbook of Optical Systems,Volume 6:Advanced Physical Optics 666
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 工程类 有机化学 化学工程 生物化学 计算机科学 物理 内科学 复合材料 催化作用 物理化学 光电子学 电极 细胞生物学 基因 无机化学
热门帖子
关注 科研通微信公众号,转发送积分 6513682
求助须知:如何正确求助?哪些是违规求助? 8306997
关于积分的说明 17749933
捐赠科研通 5615575
什么是DOI,文献DOI怎么找? 2924237
邀请新用户注册赠送积分活动 1901352
关于科研通互助平台的介绍 1762940