Engineering an algorithm for constructing low-stretch geometric graphs with near-greedy average degrees

IF 0.4 4区 计算机科学 Q4 MATHEMATICS
FNU Shariful , Justin Weathers , Anirban Ghosh , Giri Narasimhan
{"title":"Engineering an algorithm for constructing low-stretch geometric graphs with near-greedy average degrees","authors":"FNU Shariful ,&nbsp;Justin Weathers ,&nbsp;Anirban Ghosh ,&nbsp;Giri Narasimhan","doi":"10.1016/j.comgeo.2025.102201","DOIUrl":null,"url":null,"abstract":"<div><div>We design and engineer <span>Fast-Sparse-Spanner</span>, a simple and practical (fast and memory-efficient) algorithm for constructing sparse low stretch factor geometric graphs on large pointsets in the plane. To our knowledge, this is the first practical algorithm to construct fast low stretch factor graphs on large pointsets with average degrees (hence, the number of edges) competitive with that of greedy spanners, the sparsest known class of Euclidean geometric spanners. Although theoretically not guaranteed to produce <em>t</em>-spanners, we always found in our rigorous experiments that <span>Fast-Sparse-Spanner</span> generated near-greedy size <em>t</em>-spanners.</div><div>To evaluate our implementation in terms of computation speed, memory usage, and quality of output, we performed extensive experiments with synthetic and real-world pointsets, and by comparing it to our closest competitor <span>Bucketing</span>, the fastest known greedy spanner algorithm for pointsets in the plane, devised by Alewijnse et al. (2017) <span><span>[5]</span></span>. Our experiment with constructing a 1.1-spanner on a large synthetic pointset with 128<em>K</em> points uniformly distributed within a square shows more than a 41-fold speedup with roughly a third of the memory usage of that of <span>Bucketing</span>, but with only a 3% increase in the average degree of the resulting graph. When ran on a pointset with a million points drawn from the same distribution, we observed a 130-fold speedup, with roughly a fourth of the memory usage of that of <span>Bucketing</span>, and just a 6% increase in the average degree. In terms of diameter, the graphs generated by <span>Fast-Sparse-Spanner</span> beat greedy spanners in most cases (have substantially lower diameter) while maintaining near-greedy average degree. Further, our algorithm can be easily parallelized to take advantage of parallel environments.</div><div>We share the implementations via <span>GitHub</span> for broader uses and future research.</div><div><strong>GitHub repository.</strong> <span><span>https://github.com/ghoshanirban/FSS</span><svg><path></path></svg></span>.</div></div>","PeriodicalId":51001,"journal":{"name":"Computational Geometry-Theory and Applications","volume":"130 ","pages":"Article 102201"},"PeriodicalIF":0.4000,"publicationDate":"2025-06-04","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Computational Geometry-Theory and Applications","FirstCategoryId":"94","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S0925772125000392","RegionNum":4,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q4","JCRName":"MATHEMATICS","Score":null,"Total":0}
引用次数: 0

Abstract

We design and engineer Fast-Sparse-Spanner, a simple and practical (fast and memory-efficient) algorithm for constructing sparse low stretch factor geometric graphs on large pointsets in the plane. To our knowledge, this is the first practical algorithm to construct fast low stretch factor graphs on large pointsets with average degrees (hence, the number of edges) competitive with that of greedy spanners, the sparsest known class of Euclidean geometric spanners. Although theoretically not guaranteed to produce t-spanners, we always found in our rigorous experiments that Fast-Sparse-Spanner generated near-greedy size t-spanners.
To evaluate our implementation in terms of computation speed, memory usage, and quality of output, we performed extensive experiments with synthetic and real-world pointsets, and by comparing it to our closest competitor Bucketing, the fastest known greedy spanner algorithm for pointsets in the plane, devised by Alewijnse et al. (2017) [5]. Our experiment with constructing a 1.1-spanner on a large synthetic pointset with 128K points uniformly distributed within a square shows more than a 41-fold speedup with roughly a third of the memory usage of that of Bucketing, but with only a 3% increase in the average degree of the resulting graph. When ran on a pointset with a million points drawn from the same distribution, we observed a 130-fold speedup, with roughly a fourth of the memory usage of that of Bucketing, and just a 6% increase in the average degree. In terms of diameter, the graphs generated by Fast-Sparse-Spanner beat greedy spanners in most cases (have substantially lower diameter) while maintaining near-greedy average degree. Further, our algorithm can be easily parallelized to take advantage of parallel environments.
We share the implementations via GitHub for broader uses and future research.
GitHub repository. https://github.com/ghoshanirban/FSS.
构造具有近贪婪平均度的低拉伸几何图的算法
我们设计和工程fast - sparse - spanner,一个简单实用(快速和内存高效)的算法,用于在平面上的大点集上构造稀疏的低拉伸因子几何图形。据我们所知,这是第一个在大型点集上构建快速低拉伸因子图的实用算法,其平均度(因此,边的数量)与贪婪扳手(已知最稀疏的欧几里德几何扳手类)竞争。虽然理论上不能保证产生t型扳手,但我们总是在严格的实验中发现Fast-Sparse-Spanner生成了接近贪婪尺寸的t型扳手。为了评估我们在计算速度、内存使用和输出质量方面的实现,我们对合成和现实世界的点集进行了广泛的实验,并将其与我们最接近的竞争对手bucket进行比较,bucket是由Alewijnse等人(2017)设计的平面上点集已知最快的贪婪扳手算法。我们的实验是在一个大的合成点集上构造一个1.1扳手,其中128K个点均匀分布在一个正方形内,结果显示,在内存使用大约是bucket的三分之一的情况下,加速速度提高了41倍以上,但结果图的平均程度只增加了3%。当在从相同分布中提取一百万个点的点集上运行时,我们观察到速度提高了130倍,内存使用量大约是bucket的四分之一,平均程度仅提高了6%。在直径方面,Fast-Sparse-Spanner生成的图在大多数情况下(具有更低的直径)都优于贪婪扳手,同时保持接近贪婪的平均度。此外,我们的算法可以很容易地并行化,以利用并行环境。我们通过GitHub分享实现,以供更广泛的使用和未来的研究。GitHub库。https://github.com/ghoshanirban/FSS。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
CiteScore
1.60
自引率
16.70%
发文量
43
审稿时长
>12 weeks
期刊介绍: Computational Geometry is a forum for research in theoretical and applied aspects of computational geometry. The journal publishes fundamental research in all areas of the subject, as well as disseminating information on the applications, techniques, and use of computational geometry. Computational Geometry publishes articles on the design and analysis of geometric algorithms. All aspects of computational geometry are covered, including the numerical, graph theoretical and combinatorial aspects. Also welcomed are computational geometry solutions to fundamental problems arising in computer graphics, pattern recognition, robotics, image processing, CAD-CAM, VLSI design and geographical information systems. Computational Geometry features a special section containing open problems and concise reports on implementations of computational geometry tools.
×
引用
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学术文献互助群
群 号:604180095
Book学术官方微信