Distance Queries over Dynamic Interval Graphs

Jingbang Chen, Meng He, J. I. Munro, Richard Peng, Kaiyu Wu, Daniel J. Zhang
{"title":"Distance Queries over Dynamic Interval Graphs","authors":"Jingbang Chen, Meng He, J. I. Munro, Richard Peng, Kaiyu Wu, Daniel J. Zhang","doi":"10.4230/LIPIcs.ISAAC.2023.18","DOIUrl":null,"url":null,"abstract":"We design the first dynamic distance oracles for interval graphs, which are intersection graphs of a set of intervals on the real line, and for proper interval graphs, which are intersection graphs of a set of intervals in which no interval is properly contained in another. For proper interval graphs, we design a linear space data structure which supports distance queries (computing the distance between two query vertices) and vertex insertion or deletion in O (lg n ) worst-case time, where n is the number of vertices currently in G . Under incremental (insertion only) or decremental (deletion only) settings, we design linear space data structures that support distance queries in O (lg n ) worst-case time and vertex insertion or deletion in O (lg n ) amortized time, where n is the maximum number of vertices in the graph. Under fully dynamic settings, we design a data structure that represents an interval graph G in O ( n ) words of space to support distance queries in O ( n lg n/S ( n )) worst-case time and vertex insertion or deletion in O ( S ( n ) + lg n ) worst-case time, where n is the number of vertices currently in G and S ( n ) is an arbitrary function that satisfies S ( n ) = Ω(1) and S ( n ) = O ( n ). This implies an O ( n )-word solution with O ( √ n lg n )-time support for both distance queries and updates. All four data structures can answer shortest path queries by reporting the vertices in the shortest path between two query vertices in O (lg n ) worst-case time per vertex. We also study the hardness of supporting distance queries under updates over an intersection graph of 3D axis-aligned line segments, which generalizes our problem to 3D. Finally, we solve the problem of computing the diameter of a dynamic connected interval graph.","PeriodicalId":281888,"journal":{"name":"International Symposium on Algorithms and Computation","volume":"24 1","pages":"18:1-18:19"},"PeriodicalIF":0.0000,"publicationDate":"2024-05-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"International Symposium on Algorithms and Computation","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.4230/LIPIcs.ISAAC.2023.18","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

We design the first dynamic distance oracles for interval graphs, which are intersection graphs of a set of intervals on the real line, and for proper interval graphs, which are intersection graphs of a set of intervals in which no interval is properly contained in another. For proper interval graphs, we design a linear space data structure which supports distance queries (computing the distance between two query vertices) and vertex insertion or deletion in O (lg n ) worst-case time, where n is the number of vertices currently in G . Under incremental (insertion only) or decremental (deletion only) settings, we design linear space data structures that support distance queries in O (lg n ) worst-case time and vertex insertion or deletion in O (lg n ) amortized time, where n is the maximum number of vertices in the graph. Under fully dynamic settings, we design a data structure that represents an interval graph G in O ( n ) words of space to support distance queries in O ( n lg n/S ( n )) worst-case time and vertex insertion or deletion in O ( S ( n ) + lg n ) worst-case time, where n is the number of vertices currently in G and S ( n ) is an arbitrary function that satisfies S ( n ) = Ω(1) and S ( n ) = O ( n ). This implies an O ( n )-word solution with O ( √ n lg n )-time support for both distance queries and updates. All four data structures can answer shortest path queries by reporting the vertices in the shortest path between two query vertices in O (lg n ) worst-case time per vertex. We also study the hardness of supporting distance queries under updates over an intersection graph of 3D axis-aligned line segments, which generalizes our problem to 3D. Finally, we solve the problem of computing the diameter of a dynamic connected interval graph.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
动态区间图上的距离查询
区间图是实线上一组区间的交点图,适当区间图是一组区间的交点图,其中没有区间适当地包含在另一个区间中。对于适当区间图,我们设计了一种线性空间数据结构,它支持距离查询(计算两个查询顶点之间的距离)和顶点插入或删除,最坏情况下只需 O (lg n ) 的时间,其中 n 是 G 中当前顶点的数量。在增量(仅插入)或减量(仅删除)设置下,我们设计了线性空间数据结构,可在 O (lg n ) 最坏情况时间内支持距离查询,在 O (lg n ) 摊销时间内支持顶点插入或删除,其中 n 是图中顶点的最大数量。在全动态设置下,我们设计了一种数据结构,用 O ( n ) 个字的空间来表示一个区间图 G,支持距离查询只需 O ( n lg n/S ( n )) 最坏情况时间,支持顶点插入或删除只需 O ( S ( n ) + lg n ) 最坏情况时间,其中 n 是当前 G 中的顶点数,S ( n ) 是满足 S ( n ) = Ω(1) 和 S ( n ) = O ( n ) 的任意函数。这意味着一个 O ( n )-字的解决方案在距离查询和更新时都有 O ( √ n lg n )-时间支持。所有四种数据结构都能回答最短路径查询,即在每个顶点 O (lg n ) 最坏情况时间内报告两个查询顶点之间最短路径上的顶点。我们还研究了在三维轴对齐线段交点图更新下支持距离查询的难度,这将我们的问题推广到了三维。最后,我们解决了计算动态连接区间图直径的问题。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
Distance Queries over Dynamic Interval Graphs FPT Approximation Using Treewidth: Capacitated Vertex Cover, Target Set Selection and Vector Dominating Set Streaming Algorithms for Graph k-Matching with Optimal or Near-Optimal Update Time Clustering with Faulty Centers Unbounded Regions of High-Order Voronoi Diagrams of Lines and Segments in Higher Dimensions
×
引用
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