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
更新
PDF的下载单位、IP信息已删除 (2025-6-4)

科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
Xenia发布了新的文献求助10
刚刚
缓慢的灵枫完成签到,获得积分10
刚刚
gaosongsong发布了新的文献求助10
1秒前
JamesPei应助追寻寄灵采纳,获得10
1秒前
YH应助科研通管家采纳,获得100
2秒前
SYLH应助科研通管家采纳,获得10
2秒前
2秒前
SYLH应助科研通管家采纳,获得10
2秒前
SYLH应助科研通管家采纳,获得10
2秒前
NexusExplorer应助科研通管家采纳,获得10
2秒前
HR112应助科研通管家采纳,获得10
2秒前
2秒前
SciGPT应助淡淡凡霜采纳,获得10
2秒前
Ava应助科研通管家采纳,获得10
3秒前
SYLH应助科研通管家采纳,获得10
3秒前
SYLH应助科研通管家采纳,获得10
3秒前
SYLH应助科研通管家采纳,获得10
3秒前
豆子应助科研通管家采纳,获得50
3秒前
3秒前
3秒前
HR112应助科研通管家采纳,获得10
3秒前
脑洞疼应助sci来来来采纳,获得10
4秒前
汪汪完成签到,获得积分10
4秒前
4秒前
香蕉觅云应助hql_sdu采纳,获得10
4秒前
Lucas应助JJ采纳,获得10
5秒前
西瓜霜发布了新的文献求助30
5秒前
gaosongsong完成签到,获得积分20
5秒前
6秒前
fljm完成签到,获得积分10
6秒前
智慧女孩完成签到,获得积分10
6秒前
Neyra完成签到,获得积分10
8秒前
脑洞疼应助何小雨采纳,获得10
9秒前
liuzong发布了新的文献求助10
9秒前
10秒前
11秒前
量子星尘发布了新的文献求助10
12秒前
鱼鱼子999完成签到,获得积分10
12秒前
LL完成签到,获得积分10
13秒前
13秒前
高分求助中
The Mother of All Tableaux Order, Equivalence, and Geometry in the Large-scale Structure of Optimality Theory 2400
Ophthalmic Equipment Market by Devices(surgical: vitreorentinal,IOLs,OVDs,contact lens,RGP lens,backflush,diagnostic&monitoring:OCT,actorefractor,keratometer,tonometer,ophthalmoscpe,OVD), End User,Buying Criteria-Global Forecast to2029 2000
Optimal Transport: A Comprehensive Introduction to Modeling, Analysis, Simulation, Applications 800
Official Methods of Analysis of AOAC INTERNATIONAL 600
ACSM’s Guidelines for Exercise Testing and Prescription, 12th edition 588
T/CIET 1202-2025 可吸收再生氧化纤维素止血材料 500
Comparison of adverse drug reactions of heparin and its derivates in the European Economic Area based on data from EudraVigilance between 2017 and 2021 500
热门求助领域 (近24小时)
化学 材料科学 医学 生物 工程类 有机化学 生物化学 物理 内科学 纳米技术 计算机科学 化学工程 复合材料 遗传学 基因 物理化学 催化作用 冶金 细胞生物学 免疫学
热门帖子
关注 科研通微信公众号,转发送积分 3952646
求助须知:如何正确求助?哪些是违规求助? 3498064
关于积分的说明 11090366
捐赠科研通 3228670
什么是DOI,文献DOI怎么找? 1785032
邀请新用户注册赠送积分活动 869081
科研通“疑难数据库(出版商)”最低求助积分说明 801349