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
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
ye1986完成签到 ,获得积分10
7秒前
Doctor.TANG完成签到 ,获得积分10
8秒前
艳艳宝完成签到 ,获得积分10
9秒前
吃的饱饱呀完成签到 ,获得积分10
11秒前
15秒前
15秒前
宇称yu完成签到 ,获得积分10
20秒前
cds发布了新的文献求助10
21秒前
陈鹿华完成签到 ,获得积分10
30秒前
沐阳完成签到 ,获得积分10
30秒前
JUN完成签到,获得积分10
40秒前
大大怪完成签到 ,获得积分10
41秒前
ll完成签到,获得积分10
41秒前
瞿人雄完成签到,获得积分10
43秒前
没心没肺完成签到,获得积分10
45秒前
学术霸王完成签到,获得积分10
45秒前
拟态橙完成签到 ,获得积分10
47秒前
lhn完成签到 ,获得积分10
49秒前
52秒前
sadh2完成签到 ,获得积分10
54秒前
充电宝应助东木采纳,获得10
58秒前
鸟兽兽应助flyingpig采纳,获得10
58秒前
59秒前
舒服的婷冉完成签到 ,获得积分10
59秒前
Owen应助cds采纳,获得10
1分钟前
Dellamoffy完成签到,获得积分10
1分钟前
1分钟前
TX发布了新的文献求助150
1分钟前
nianshu完成签到 ,获得积分0
1分钟前
xingqing完成签到 ,获得积分10
1分钟前
1分钟前
喻初原完成签到 ,获得积分10
1分钟前
Dong完成签到 ,获得积分10
1分钟前
jfw完成签到 ,获得积分10
1分钟前
1分钟前
甜心椰奶莓莓完成签到 ,获得积分10
1分钟前
1分钟前
1分钟前
xinjiasuki完成签到 ,获得积分10
2分钟前
泸沽寻梦发布了新的文献求助10
2分钟前
高分求助中
The Wiley Blackwell Companion to Diachronic and Historical Linguistics 3000
HANDBOOK OF CHEMISTRY AND PHYSICS 106th edition 1000
ASPEN Adult Nutrition Support Core Curriculum, Fourth Edition 1000
AnnualResearch andConsultation Report of Panorama survey and Investment strategy onChinaIndustry 1000
Signals, Systems, and Signal Processing 610
GMP in Practice: Regulatory Expectations for the Pharmaceutical Industry 500
领导干部角色心理研究 500
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 工程类 有机化学 化学工程 生物化学 计算机科学 物理 内科学 复合材料 催化作用 物理化学 光电子学 电极 细胞生物学 基因 无机化学
热门帖子
关注 科研通微信公众号,转发送积分 6284529
求助须知:如何正确求助?哪些是违规求助? 8103250
关于积分的说明 16942792
捐赠科研通 5350495
什么是DOI,文献DOI怎么找? 2843793
邀请新用户注册赠送积分活动 1820886
关于科研通互助平台的介绍 1677751