I/O-Efficient Rectangular Segment Search

G. Das, B. Nickerson
{"title":"I/O-Efficient Rectangular Segment Search","authors":"G. Das, B. Nickerson","doi":"10.1109/ICCSA.2010.35","DOIUrl":null,"url":null,"abstract":"We consider the I/O-efficient rectangular segment search problem in 2D. The problem involves storing a given set ${\\cal S}$ of $N$ line segments in a data structure such that an axis aligned rectangular range query ${\\cal R}$ can be performed efficiently; i.e., report all line segments in ${\\cal S}$ which intersect ${\\cal R}$. We give a data structure requiring space $O(N(N/B)^2)$ disk blocks that can answer a range query ${\\cal R}$ using $O(log_B N + K/B)$ I/Os, where $B$ is the number of line segments transferred in one I/O, and $K$ is the number of line segments intersecting ${\\cal R}$. Search complexity of $O(log_B (N/B) + K/B)$ I/Os can be achieved with reduced storage if the set ${\\cal S}$ contains only non-intersecting line segments, orif set ${\\cal S}$ contains only horizontal and vertical line segments. In the former case the space complexity is $O((N/B)^2)$ disk blocks and in the latter case the space complexity is $O(N \\frac{\\log N}{\\log\\log_B N})$.We also consider the problem of finding all the line segments which are entirely within the rectangle ${\\cal R}$ if the set ${\\cal S}$ contains only vertical and horizontal line segments. For this problem, an optimal data structure is presented with size $O(N \\frac{\\log N}{\\log\\log_B N})$ disk blocks that requires $O(log_B (N/B) + K/B)$ I/Os to answer the query.","PeriodicalId":405597,"journal":{"name":"2010 International Conference on Computational Science and Its Applications","volume":"9 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2010-03-23","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2010 International Conference on Computational Science and Its Applications","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ICCSA.2010.35","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

We consider the I/O-efficient rectangular segment search problem in 2D. The problem involves storing a given set ${\cal S}$ of $N$ line segments in a data structure such that an axis aligned rectangular range query ${\cal R}$ can be performed efficiently; i.e., report all line segments in ${\cal S}$ which intersect ${\cal R}$. We give a data structure requiring space $O(N(N/B)^2)$ disk blocks that can answer a range query ${\cal R}$ using $O(log_B N + K/B)$ I/Os, where $B$ is the number of line segments transferred in one I/O, and $K$ is the number of line segments intersecting ${\cal R}$. Search complexity of $O(log_B (N/B) + K/B)$ I/Os can be achieved with reduced storage if the set ${\cal S}$ contains only non-intersecting line segments, orif set ${\cal S}$ contains only horizontal and vertical line segments. In the former case the space complexity is $O((N/B)^2)$ disk blocks and in the latter case the space complexity is $O(N \frac{\log N}{\log\log_B N})$.We also consider the problem of finding all the line segments which are entirely within the rectangle ${\cal R}$ if the set ${\cal S}$ contains only vertical and horizontal line segments. For this problem, an optimal data structure is presented with size $O(N \frac{\log N}{\log\log_B N})$ disk blocks that requires $O(log_B (N/B) + K/B)$ I/Os to answer the query.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
高效率的I/ o矩形段搜索
研究二维空间中高效I/ o矩形线段搜索问题。该问题涉及在数据结构中存储一组给定的${\cal S}$$N$线段,以便有效地执行轴对齐的矩形范围查询${\cal R}$;例如,报告${\cal S}$中与${\cal R}$相交的所有线段。我们给出了一个需要空间$O(N(N/B)^2)$磁盘块的数据结构,它可以使用$O(log_B N + K/B)$ I/O回答范围查询${\cal R}$,其中$B$是在一个I/O中传输的线段数量,$K$是与${\cal R}$相交的线段数量。如果集合${\cal S}$只包含不相交的线段,或者集合${\cal S}$只包含水平和垂直的线段,可以在降低存储的情况下实现$O(log_B (N/B) + K/B)$ I/ o的搜索复杂度。在前一种情况下,空间复杂度为$O((N/B)^2)$磁盘块,在后一种情况下,空间复杂度为$O(N \frac{\log N}{\log\log_B N})$。我们还考虑了如果集合${\cal S}$只包含垂直和水平线段,则找到完全在矩形${\cal R}$内的所有线段的问题。对于这个问题,给出了一个最优的数据结构,大小为$O(N \frac{\log N}{\log\log_B N})$磁盘块,需要$O(log_B (N/B) + K/B)$ I/ o来回答查询。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
ID-Based Private Key Update Protocol with Anonymity in Mobile Ad-Hoc Networks NOPFIT: File System Integrity Tool for Virtual Machine Using Multi-byte NOP Injection Bootstrap Analysis of Genetic Networks inferred by the Method Using LPMs Analysis of Micro/mesoscale Sheet Stamping Processes Based on Crystalline Plasticity Model Reference-Based Testing Technique for Automated Test Generation
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1