一维点上的值域更新和值域和查询

IF 0.4 4区 计算机科学 Q4 MATHEMATICS
Shangqi Lu, Yufei Tao
{"title":"一维点上的值域更新和值域和查询","authors":"Shangqi Lu,&nbsp;Yufei Tao","doi":"10.1016/j.comgeo.2023.102030","DOIUrl":null,"url":null,"abstract":"<div><p>Let <em>P</em> be a set of <em>n</em> points in <span><math><msup><mrow><mi>R</mi></mrow><mrow><mi>d</mi></mrow></msup></math></span> where each point <span><math><mi>p</mi><mo>∈</mo><mi>P</mi></math></span> carries a <em>weight</em><span> drawn from a commutative monoid </span><span><math><mo>(</mo><mi>M</mi><mo>,</mo><mo>+</mo><mo>,</mo><mn>0</mn><mo>)</mo></math></span>. Given a <em>d</em>-rectangle <span><math><msub><mrow><mi>r</mi></mrow><mrow><mi>upd</mi></mrow></msub></math></span> (i.e., an orthogonal rectangle in <span><math><msup><mrow><mi>R</mi></mrow><mrow><mi>d</mi></mrow></msup></math></span>) and a value <span><math><mi>Δ</mi><mo>∈</mo><mi>M</mi></math></span>, a <em>range update</em> adds Δ to the weight of every point <span><math><mi>p</mi><mo>∈</mo><mi>P</mi><mo>∩</mo><msub><mrow><mi>r</mi></mrow><mrow><mi>upd</mi></mrow></msub></math></span>; given a <em>d</em>-rectangle <span><math><msub><mrow><mi>r</mi></mrow><mrow><mi>qry</mi></mrow></msub></math></span>, a <em>range sum query</em> returns the total weight of the points in <span><math><mi>P</mi><mo>∩</mo><msub><mrow><mi>r</mi></mrow><mrow><mi>qry</mi></mrow></msub></math></span>. The goal is to store <em>P</em> in a structure to support updates and queries with attractive performance guarantees. We describe a structure of <span><math><mover><mrow><mi>O</mi></mrow><mrow><mo>˜</mo></mrow></mover><mo>(</mo><mi>n</mi><mo>)</mo></math></span> space that handles an update in <span><math><mover><mrow><mi>O</mi></mrow><mrow><mo>˜</mo></mrow></mover><mo>(</mo><msub><mrow><mi>T</mi></mrow><mrow><mi>upd</mi></mrow></msub><mo>)</mo></math></span> time and a query in <span><math><mover><mrow><mi>O</mi></mrow><mrow><mo>˜</mo></mrow></mover><mo>(</mo><msub><mrow><mi>T</mi></mrow><mrow><mi>qry</mi></mrow></msub><mo>)</mo></math></span> time for arbitrary functions <span><math><msub><mrow><mi>T</mi></mrow><mrow><mi>upd</mi></mrow></msub><mo>(</mo><mi>n</mi><mo>)</mo></math></span> and <span><math><msub><mrow><mi>T</mi></mrow><mrow><mi>qry</mi></mrow></msub><mo>(</mo><mi>n</mi><mo>)</mo></math></span> satisfying <span><math><msub><mrow><mi>T</mi></mrow><mrow><mi>upd</mi></mrow></msub><mo>⋅</mo><msub><mrow><mi>T</mi></mrow><mrow><mi>qry</mi></mrow></msub><mo>=</mo><mi>n</mi></math></span>. The result holds for any fixed dimensionality <span><math><mi>d</mi><mo>≥</mo><mn>2</mn></math></span><span>. Our query-update tradeoff is tight up to a polylog factor subject to the OMv-conjecture.</span></p></div>","PeriodicalId":51001,"journal":{"name":"Computational Geometry-Theory and Applications","volume":null,"pages":null},"PeriodicalIF":0.4000,"publicationDate":"2023-06-15","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Range updates and range sum queries on multidimensional points with monoid weights\",\"authors\":\"Shangqi Lu,&nbsp;Yufei Tao\",\"doi\":\"10.1016/j.comgeo.2023.102030\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"<div><p>Let <em>P</em> be a set of <em>n</em> points in <span><math><msup><mrow><mi>R</mi></mrow><mrow><mi>d</mi></mrow></msup></math></span> where each point <span><math><mi>p</mi><mo>∈</mo><mi>P</mi></math></span> carries a <em>weight</em><span> drawn from a commutative monoid </span><span><math><mo>(</mo><mi>M</mi><mo>,</mo><mo>+</mo><mo>,</mo><mn>0</mn><mo>)</mo></math></span>. Given a <em>d</em>-rectangle <span><math><msub><mrow><mi>r</mi></mrow><mrow><mi>upd</mi></mrow></msub></math></span> (i.e., an orthogonal rectangle in <span><math><msup><mrow><mi>R</mi></mrow><mrow><mi>d</mi></mrow></msup></math></span>) and a value <span><math><mi>Δ</mi><mo>∈</mo><mi>M</mi></math></span>, a <em>range update</em> adds Δ to the weight of every point <span><math><mi>p</mi><mo>∈</mo><mi>P</mi><mo>∩</mo><msub><mrow><mi>r</mi></mrow><mrow><mi>upd</mi></mrow></msub></math></span>; given a <em>d</em>-rectangle <span><math><msub><mrow><mi>r</mi></mrow><mrow><mi>qry</mi></mrow></msub></math></span>, a <em>range sum query</em> returns the total weight of the points in <span><math><mi>P</mi><mo>∩</mo><msub><mrow><mi>r</mi></mrow><mrow><mi>qry</mi></mrow></msub></math></span>. The goal is to store <em>P</em> in a structure to support updates and queries with attractive performance guarantees. We describe a structure of <span><math><mover><mrow><mi>O</mi></mrow><mrow><mo>˜</mo></mrow></mover><mo>(</mo><mi>n</mi><mo>)</mo></math></span> space that handles an update in <span><math><mover><mrow><mi>O</mi></mrow><mrow><mo>˜</mo></mrow></mover><mo>(</mo><msub><mrow><mi>T</mi></mrow><mrow><mi>upd</mi></mrow></msub><mo>)</mo></math></span> time and a query in <span><math><mover><mrow><mi>O</mi></mrow><mrow><mo>˜</mo></mrow></mover><mo>(</mo><msub><mrow><mi>T</mi></mrow><mrow><mi>qry</mi></mrow></msub><mo>)</mo></math></span> time for arbitrary functions <span><math><msub><mrow><mi>T</mi></mrow><mrow><mi>upd</mi></mrow></msub><mo>(</mo><mi>n</mi><mo>)</mo></math></span> and <span><math><msub><mrow><mi>T</mi></mrow><mrow><mi>qry</mi></mrow></msub><mo>(</mo><mi>n</mi><mo>)</mo></math></span> satisfying <span><math><msub><mrow><mi>T</mi></mrow><mrow><mi>upd</mi></mrow></msub><mo>⋅</mo><msub><mrow><mi>T</mi></mrow><mrow><mi>qry</mi></mrow></msub><mo>=</mo><mi>n</mi></math></span>. The result holds for any fixed dimensionality <span><math><mi>d</mi><mo>≥</mo><mn>2</mn></math></span><span>. Our query-update tradeoff is tight up to a polylog factor subject to the OMv-conjecture.</span></p></div>\",\"PeriodicalId\":51001,\"journal\":{\"name\":\"Computational Geometry-Theory and Applications\",\"volume\":null,\"pages\":null},\"PeriodicalIF\":0.4000,\"publicationDate\":\"2023-06-15\",\"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/S0925772123000500\",\"RegionNum\":4,\"RegionCategory\":\"计算机科学\",\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"Q4\",\"JCRName\":\"MATHEMATICS\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Computational Geometry-Theory and Applications","FirstCategoryId":"94","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S0925772123000500","RegionNum":4,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q4","JCRName":"MATHEMATICS","Score":null,"Total":0}
引用次数: 0

摘要

设P是Rd中的n个点的集合,其中每个点P∈P都带有从交换幺半群(M,+,0)得出的权重。给定d-矩形rupd(即Rd中的正交矩形)和值Δ∈M,范围更新将Δ添加到每个点p∈pårupd的权重;给定一个d-矩形rqry,一个范围和查询返回在Pårqry中的点的总权重。目标是将P存储在一个结构中,以支持具有吸引力性能保证的更新和查询。我们描述了O~(n)空间的一种结构,该结构处理满足Tupd·Tqry=n的任意函数Tupd(n)和Tqry(n)在O~(Tupd)时间中的更新和在O~[Tqry]时间中的查询。该结果适用于任何固定维数d≥2的情况。我们的查询更新权衡是严格到受OMv猜想约束的多对数因子。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
Range updates and range sum queries on multidimensional points with monoid weights

Let P be a set of n points in Rd where each point pP carries a weight drawn from a commutative monoid (M,+,0). Given a d-rectangle rupd (i.e., an orthogonal rectangle in Rd) and a value ΔM, a range update adds Δ to the weight of every point pPrupd; given a d-rectangle rqry, a range sum query returns the total weight of the points in Prqry. The goal is to store P in a structure to support updates and queries with attractive performance guarantees. We describe a structure of O˜(n) space that handles an update in O˜(Tupd) time and a query in O˜(Tqry) time for arbitrary functions Tupd(n) and Tqry(n) satisfying TupdTqry=n. The result holds for any fixed dimensionality d2. Our query-update tradeoff is tight up to a polylog factor subject to the OMv-conjecture.

求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
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学术文献互助群
群 号:481959085
Book学术官方微信