高效率的I/ o矩形段搜索

G. Das, B. Nickerson
{"title":"高效率的I/ o矩形段搜索","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":"{\"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}","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

摘要

研究二维空间中高效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来回答查询。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
I/O-Efficient Rectangular Segment Search
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.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信