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
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
李爱国应助kururu采纳,获得30
1秒前
白啦啦完成签到,获得积分10
1秒前
庚人发布了新的文献求助10
1秒前
2秒前
3秒前
Ava应助一一采纳,获得10
4秒前
科研通AI6.2应助ALAI采纳,获得10
5秒前
6秒前
房谷槐发布了新的文献求助10
7秒前
7秒前
牛油果完成签到 ,获得积分10
8秒前
troublemaker完成签到,获得积分20
8秒前
9秒前
SherWei完成签到,获得积分10
10秒前
奕奕完成签到,获得积分10
10秒前
troublemaker发布了新的文献求助30
11秒前
NexusExplorer应助莫兰修123采纳,获得10
11秒前
Czerkingsky完成签到,获得积分10
11秒前
12秒前
12秒前
孙紫阳完成签到,获得积分10
14秒前
18秒前
18秒前
18秒前
19秒前
20秒前
21秒前
陈雨完成签到,获得积分10
22秒前
22秒前
芯茶完成签到 ,获得积分10
22秒前
22秒前
莫兰修123完成签到,获得积分10
23秒前
重逢发布了新的文献求助20
23秒前
XLL发布了新的文献求助10
24秒前
Losemisery完成签到 ,获得积分10
24秒前
25秒前
搜集达人应助端庄的以柳采纳,获得10
26秒前
孔不尤发布了新的文献求助10
27秒前
风逢关注了科研通微信公众号
27秒前
莫兰修123发布了新的文献求助10
27秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
PowerCascade: A Synthetic Dataset for Cascading Failure Analysis in Power Systems 2000
Picture this! Including first nations fiction picture books in school library collections 1000
Signals, Systems, and Signal Processing 610
Unlocking Chemical Thinking: Reimagining Chemistry Teaching and Learning 555
Photodetectors: From Ultraviolet to Infrared 500
信任代码:AI 时代的传播重构 450
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 工程类 有机化学 化学工程 生物化学 计算机科学 物理 内科学 复合材料 催化作用 物理化学 光电子学 电极 细胞生物学 基因 无机化学
热门帖子
关注 科研通微信公众号,转发送积分 6357928
求助须知:如何正确求助?哪些是违规求助? 8172412
关于积分的说明 17208129
捐赠科研通 5413332
什么是DOI,文献DOI怎么找? 2865051
邀请新用户注册赠送积分活动 1842569
关于科研通互助平台的介绍 1690663