多维包括和排除金额

Helen Xu, Sean Fraser, C. Leiserson
{"title":"多维包括和排除金额","authors":"Helen Xu, Sean Fraser, C. Leiserson","doi":"10.1137/1.9781611976830.17","DOIUrl":null,"url":null,"abstract":"This paper presents algorithms for the included-sums and excluded-sums problems used by scientific computing applications such as the fast multipole method. These problems are defined in terms of a $d$-dimensional array of $N$ elements and a binary associative operator~$\\oplus$ on the elements. The included-sum problem requires that the elements within overlapping boxes cornered at each element within the array be reduced using $\\oplus$. The excluded-sum problem reduces the elements outside each box. The weak versions of these problems assume that the operator $\\oplus$ has an inverse $\\ominus$, whereas the strong versions do not require this assumption. In addition to studying existing algorithms to solve these problems, we introduce three new algorithms. The bidirectional box-sum (BDBS) algorithm solves the strong included-sums problem in $\\Theta(d N)$ time, asymptotically beating the classical summed-area table (SAT) algorithm, which runs in $\\Theta(2^d N)$ and which only solves the weak version of the problem. Empirically, the BDBS algorithm outperforms the SAT algorithm in higher dimensions by up to $17.1\\times$. The \\defn{box-complement} algorithm can solve the strong excluded-sums problem in $\\Theta(d N)$ time, asymptotically beating the state-of-the-art corners algorithm by Demaine et al., which runs in $\\Omega(2^d N)$ time. In 3 dimensions the box-complement algorithm empirically outperforms the corners algorithm by about $1.4\\times$ given similar amounts of space. The weak excluded-sums problem can be solved in $\\Theta(d N)$ time by the bidirectional box-sum complement (BDBSC) algorithm, which is a trivial extension of the BDBS algorithm. Given an operator inverse $\\ominus$, BDBSC can beat box-complement by up to a factor of $4$.","PeriodicalId":93610,"journal":{"name":"Proceedings of the 2021 SIAM Conference on Applied and Computational Discrete Algorithms. SIAM Conference on Applied and Computational Discrete Algorithms (2021 : Online)","volume":"13 1","pages":"182-192"},"PeriodicalIF":0.0000,"publicationDate":"2021-01-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Multidimensional Included and Excluded Sums\",\"authors\":\"Helen Xu, Sean Fraser, C. Leiserson\",\"doi\":\"10.1137/1.9781611976830.17\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"This paper presents algorithms for the included-sums and excluded-sums problems used by scientific computing applications such as the fast multipole method. These problems are defined in terms of a $d$-dimensional array of $N$ elements and a binary associative operator~$\\\\oplus$ on the elements. The included-sum problem requires that the elements within overlapping boxes cornered at each element within the array be reduced using $\\\\oplus$. The excluded-sum problem reduces the elements outside each box. The weak versions of these problems assume that the operator $\\\\oplus$ has an inverse $\\\\ominus$, whereas the strong versions do not require this assumption. In addition to studying existing algorithms to solve these problems, we introduce three new algorithms. The bidirectional box-sum (BDBS) algorithm solves the strong included-sums problem in $\\\\Theta(d N)$ time, asymptotically beating the classical summed-area table (SAT) algorithm, which runs in $\\\\Theta(2^d N)$ and which only solves the weak version of the problem. Empirically, the BDBS algorithm outperforms the SAT algorithm in higher dimensions by up to $17.1\\\\times$. The \\\\defn{box-complement} algorithm can solve the strong excluded-sums problem in $\\\\Theta(d N)$ time, asymptotically beating the state-of-the-art corners algorithm by Demaine et al., which runs in $\\\\Omega(2^d N)$ time. In 3 dimensions the box-complement algorithm empirically outperforms the corners algorithm by about $1.4\\\\times$ given similar amounts of space. The weak excluded-sums problem can be solved in $\\\\Theta(d N)$ time by the bidirectional box-sum complement (BDBSC) algorithm, which is a trivial extension of the BDBS algorithm. Given an operator inverse $\\\\ominus$, BDBSC can beat box-complement by up to a factor of $4$.\",\"PeriodicalId\":93610,\"journal\":{\"name\":\"Proceedings of the 2021 SIAM Conference on Applied and Computational Discrete Algorithms. SIAM Conference on Applied and Computational Discrete Algorithms (2021 : Online)\",\"volume\":\"13 1\",\"pages\":\"182-192\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2021-01-01\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Proceedings of the 2021 SIAM Conference on Applied and Computational Discrete Algorithms. SIAM Conference on Applied and Computational Discrete Algorithms (2021 : Online)\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1137/1.9781611976830.17\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Proceedings of the 2021 SIAM Conference on Applied and Computational Discrete Algorithms. SIAM Conference on Applied and Computational Discrete Algorithms (2021 : Online)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1137/1.9781611976830.17","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

摘要

本文介绍了快速多极法等科学计算应用中常用的包含和和和问题的求解算法。这些问题是根据包含$N$个元素的$d$维数组和元素上的二进制关联运算符$\oplus$来定义的。包含和问题要求使用$\oplus$减少数组中每个元素的重叠框中的元素。除和问题减少了每个框外的元素。这些问题的弱版本假设运算符$\oplus$有一个逆$\ominus$,而强版本不需要这个假设。除了研究解决这些问题的现有算法外,我们还介绍了三种新的算法。双向盒和(BDBS)算法在$\Theta(d N)$时间内解决了强包含和问题,渐近地击败了运行在$\Theta(2^d N)$的经典求和面积表(SAT)算法,后者只解决了问题的弱版本。从经验上看,BDBS算法在高维上优于SAT算法,最高可达$17.1\times$。\defn{box-complement}算法可以在$\Theta(d N)$时间内解决强不相容和问题,逐步击败Demaine等人的最先进的角算法,该算法的运行时间为$\Omega(2^d N)$。在三维空间中,给定相似的空间量,盒补算法经验上优于角算法约$1.4\times$。双向盒和补(BDBSC)算法是双向盒和补算法的一个平凡扩展,可以在$\Theta(d N)$时间内解决弱不和问题。给定一个算子逆$\ominus$, BDBSC可以以$4$的系数胜过盒补。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
Multidimensional Included and Excluded Sums
This paper presents algorithms for the included-sums and excluded-sums problems used by scientific computing applications such as the fast multipole method. These problems are defined in terms of a $d$-dimensional array of $N$ elements and a binary associative operator~$\oplus$ on the elements. The included-sum problem requires that the elements within overlapping boxes cornered at each element within the array be reduced using $\oplus$. The excluded-sum problem reduces the elements outside each box. The weak versions of these problems assume that the operator $\oplus$ has an inverse $\ominus$, whereas the strong versions do not require this assumption. In addition to studying existing algorithms to solve these problems, we introduce three new algorithms. The bidirectional box-sum (BDBS) algorithm solves the strong included-sums problem in $\Theta(d N)$ time, asymptotically beating the classical summed-area table (SAT) algorithm, which runs in $\Theta(2^d N)$ and which only solves the weak version of the problem. Empirically, the BDBS algorithm outperforms the SAT algorithm in higher dimensions by up to $17.1\times$. The \defn{box-complement} algorithm can solve the strong excluded-sums problem in $\Theta(d N)$ time, asymptotically beating the state-of-the-art corners algorithm by Demaine et al., which runs in $\Omega(2^d N)$ time. In 3 dimensions the box-complement algorithm empirically outperforms the corners algorithm by about $1.4\times$ given similar amounts of space. The weak excluded-sums problem can be solved in $\Theta(d N)$ time by the bidirectional box-sum complement (BDBSC) algorithm, which is a trivial extension of the BDBS algorithm. Given an operator inverse $\ominus$, BDBSC can beat box-complement by up to a factor of $4$.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
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学术文献互助群
群 号:604180095
Book学术官方微信