首页 > 最新文献

ACM Transactions on Algorithms (TALG)最新文献

英文 中文
Improved Dynamic Graph Coloring 改进的动态图形着色
Pub Date : 2018-08-08 DOI: 10.1145/3392724
Shay Solomon, Nicole Wein
This article studies the fundamental problem of graph coloring in fully dynamic graphs. Since the problem of computing an optimal coloring, or even approximating it to within n1-ε for any ε > 0, is NP-hard in static graphs, there is no hope to achieve any meaningful computational results for general graphs in the dynamic setting. It is therefore only natural to consider the combinatorial aspects of dynamic coloring or alternatively, study restricted families of graphs. Toward understanding the combinatorial aspects of this problem, one may assume a black-box access to a static algorithm for C-coloring any subgraph of the dynamic graph, and investigate the trade-off between the number of colors and the number of recolorings per update step. Optimizing the number of recolorings, sometimes referred to as the recourse bound, is important for various practical applications. In WADS ’17, Barba et al. devised two complementary algorithms: for any β > 0, the first (respectively, second) maintains an O(Cβn1/β) (respectively, O(Cβ)-coloring while recoloring O(β) (respectively, O(βn1/β)) vertices per update. Barba et al. also showed that the second trade-off appears to exhibit the right behavior, at least for β = O(1): any algorithm that maintains a C-coloring of an n-vertex dynamic forest must recolor Ω (n2C(C-1)) vertices per update, for any constant C ≥ 2. Our contribution is twofold: • We devise a new algorithm for general graphs that improves significantly upon the first trade-off in a wide range of parameters: for any β > 0, we get a Ô (Cβlog2 n)-coloring with O(β) recolorings per update, where the Ô notation suppresses polyloglog(n) factors. In particular, for β = O(1), we get constant recolorings with polylog(n) colors; not only is this an exponential improvement over the previous bound but also it unveils a rather surprising phenomenon: the trade-off between the number of colors and recolorings is highly non-symmetric. • For uniformly sparse graphs, we use low out-degree orientations to strengthen the preceding result by bounding the update time of the algorithm rather than the number of recolorings. Then, we further improve this result by introducing a new data structure that refines bounded out-degree edge orientations and is of independent interest. From this data structure, we get a deterministic algorithm for graphs of arboricity ɑ that maintains an O(ɑ log2 n)-coloring in amortized O(1) time.
研究了全动态图的图着色的基本问题。由于在静态图中计算最优着色问题,甚至在任意ε > 0的n1-ε范围内逼近它,都是NP-hard问题,因此对于动态设置的一般图,没有希望获得任何有意义的计算结果。因此,考虑动态着色的组合方面或研究图的受限族是很自然的。为了理解这个问题的组合方面,可以假设对动态图的任何子图进行c着色的静态算法的黑盒访问,并研究每个更新步骤的颜色数量和重新着色次数之间的权衡。优化重新着色的次数,有时被称为追索权边界,对于各种实际应用都很重要。在WADS ' 17中,Barba等人设计了两种互补算法:对于任何β >,第一种(分别,第二种)在每次更新时保持O(Cβn1/β)(分别,O(Cβ))着色,同时重新着色O(β)(分别,O(βn1/β))顶点。Barba等人还表明,第二种权衡似乎表现出正确的行为,至少对于β = O(1):对于任何常数C≥2,任何维护n顶点动态森林的C-着色的算法每次更新都必须重新着色Ω (n2C(C-1))顶点。我们的贡献是双重的:•我们为一般图设计了一种新的算法,该算法在广泛参数范围内的第一次权衡上显着改善:对于任何β > 0,我们得到Ô (Cβlog2 n)-着色,每次更新O(β)重新着色,其中Ô符号抑制了polyloglog(n)因子。特别地,对于β = O(1),我们用polylog(n)颜色得到恒定的重新着色;这不仅是一个指数级的改进,而且还揭示了一个相当令人惊讶的现象:颜色数量和重新着色之间的权衡是高度不对称的。•对于均匀稀疏图,我们使用低出度方向,通过限制算法的更新时间而不是重新着色的次数来加强之前的结果。然后,我们通过引入一种新的数据结构进一步改进了这一结果,该数据结构改进了有界的出界边缘方向,并且具有独立的兴趣。从这个数据结构中,我们得到了一种确定性算法,用于在平摊O(1)时间内保持O(log2 n)-着色的任意图形。
{"title":"Improved Dynamic Graph Coloring","authors":"Shay Solomon, Nicole Wein","doi":"10.1145/3392724","DOIUrl":"https://doi.org/10.1145/3392724","url":null,"abstract":"This article studies the fundamental problem of graph coloring in fully dynamic graphs. Since the problem of computing an optimal coloring, or even approximating it to within n1-ε for any ε > 0, is NP-hard in static graphs, there is no hope to achieve any meaningful computational results for general graphs in the dynamic setting. It is therefore only natural to consider the combinatorial aspects of dynamic coloring or alternatively, study restricted families of graphs. Toward understanding the combinatorial aspects of this problem, one may assume a black-box access to a static algorithm for C-coloring any subgraph of the dynamic graph, and investigate the trade-off between the number of colors and the number of recolorings per update step. Optimizing the number of recolorings, sometimes referred to as the recourse bound, is important for various practical applications. In WADS ’17, Barba et al. devised two complementary algorithms: for any β > 0, the first (respectively, second) maintains an O(Cβn1/β) (respectively, O(Cβ)-coloring while recoloring O(β) (respectively, O(βn1/β)) vertices per update. Barba et al. also showed that the second trade-off appears to exhibit the right behavior, at least for β = O(1): any algorithm that maintains a C-coloring of an n-vertex dynamic forest must recolor Ω (n2C(C-1)) vertices per update, for any constant C ≥ 2. Our contribution is twofold: • We devise a new algorithm for general graphs that improves significantly upon the first trade-off in a wide range of parameters: for any β > 0, we get a Ô (Cβlog2 n)-coloring with O(β) recolorings per update, where the Ô notation suppresses polyloglog(n) factors. In particular, for β = O(1), we get constant recolorings with polylog(n) colors; not only is this an exponential improvement over the previous bound but also it unveils a rather surprising phenomenon: the trade-off between the number of colors and recolorings is highly non-symmetric. • For uniformly sparse graphs, we use low out-degree orientations to strengthen the preceding result by bounding the update time of the algorithm rather than the number of recolorings. Then, we further improve this result by introducing a new data structure that refines bounded out-degree edge orientations and is of independent interest. From this data structure, we get a deterministic algorithm for graphs of arboricity ɑ that maintains an O(ɑ log2 n)-coloring in amortized O(1) time.","PeriodicalId":154047,"journal":{"name":"ACM Transactions on Algorithms (TALG)","volume":"47 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2018-08-08","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"131029685","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 37
Zeros of Holant Problems Holant问题的零点
Pub Date : 2018-07-24 DOI: 10.1145/3418056
Heng Guo, Chao Liao, P. Lu, Chihao Zhang
We present fully polynomial-time (deterministic or randomised) approximation schemes for Holant problems, defined by a non-negative constraint function satisfying a generalised second-order recurrence modulo in a couple of exceptional cases. As a consequence, any non-negative Holant problem on cubic graphs has an efficient approximation algorithm unless the problem is equivalent to approximately counting perfect matchings, a central open problem in the area. This is in sharp contrast to the computational phase transition shown by two-state spin systems on cubic graphs. Our main technique is the recently established connection between zeros of graph polynomials and approximate counting.
我们提出了Holant问题的完全多项式时间(确定性的或随机的)近似方案,它是由在几个例外情况下满足广义二阶递归模的非负约束函数定义的。因此,三次图上的任何非负Holant问题都有一个有效的逼近算法,除非该问题等价于近似计数完美匹配,即该区域的中心开放问题。这与三次图上的两态自旋系统所显示的计算相变形成鲜明对比。我们的主要技术是最近建立的图多项式的零点和近似计数之间的联系。
{"title":"Zeros of Holant Problems","authors":"Heng Guo, Chao Liao, P. Lu, Chihao Zhang","doi":"10.1145/3418056","DOIUrl":"https://doi.org/10.1145/3418056","url":null,"abstract":"We present fully polynomial-time (deterministic or randomised) approximation schemes for Holant problems, defined by a non-negative constraint function satisfying a generalised second-order recurrence modulo in a couple of exceptional cases. As a consequence, any non-negative Holant problem on cubic graphs has an efficient approximation algorithm unless the problem is equivalent to approximately counting perfect matchings, a central open problem in the area. This is in sharp contrast to the computational phase transition shown by two-state spin systems on cubic graphs. Our main technique is the recently established connection between zeros of graph polynomials and approximate counting.","PeriodicalId":154047,"journal":{"name":"ACM Transactions on Algorithms (TALG)","volume":"17 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2018-07-24","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"129579819","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 17
Approximation Schemes for Low-rank Binary Matrix Approximation Problems 低秩二值矩阵逼近问题的逼近格式
Pub Date : 2018-07-18 DOI: 10.1145/3365653
F. Fomin, P. Golovach, D. Lokshtanov, Fahad Panolan, Saket Saurabh
We provide a randomized linear time approximation scheme for a generic problem about clustering of binary vectors subject to additional constraints. The new constrained clustering problem generalizes a number of problems and by solving it, we obtain the first linear time-approximation schemes for a number of well-studied fundamental problems concerning clustering of binary vectors and low-rank approximation of binary matrices. Among the problems solvable by our approach are Low GF(2)-Rank Approximation, Low Boolean-Rank Approximation, and various versions of Binary Clustering. For example, for Low GF(2)-Rank Approximation problem, where for an m× n binary matrix A and integer r> 0, we seek for a binary matrix B of GF(2) rank at most r such that the ℓ0-norm of matrix A−B is minimum, our algorithm, for any ε > 0 in time f(r,ε)⋅ n⋅ m, where f is some computable function, outputs a (1+ε)-approximate solution with probability at least (1−1e). This is the first linear time approximation scheme for these problems. We also give (deterministic) PTASes for these problems running in time nf(r)1ε2log 1ε, where f is some function depending on the problem. Our algorithm for the constrained clustering problem is based on a novel sampling lemma, which is interesting on its own.
针对一类具有附加约束的二元向量聚类问题,提出了一种随机化线性时间逼近格式。新的约束聚类问题推广了许多问题,通过求解它,我们得到了关于二叉向量聚类和二叉矩阵的低秩逼近的一些已经得到充分研究的基本问题的第一个线性时间逼近格式。我们的方法可以解决的问题包括低GF(2)-秩近似、低布尔-秩近似和各种版本的二值聚类。例如,对于低GF(2)-秩近似问题,其中对于一个mx n的二进制矩阵A和整数r> 0,我们寻求一个GF(2)的秩不超过r的二进制矩阵B,使得矩阵A−B的0-范数最小,我们的算法,对于在时间f(r,ε)·n·m中任意ε > 0,其中f是某个可计算函数,输出一个概率至少为(1−1e)的(1+ε)-近似解。这是这些问题的第一个线性时间近似格式。我们还给出了这些问题的(确定性)pase,运行时间为nf(r)1ε2log 1ε,其中f是取决于问题的某个函数。我们针对约束聚类问题的算法基于一个新颖的采样引理,这个引理本身就很有趣。
{"title":"Approximation Schemes for Low-rank Binary Matrix Approximation Problems","authors":"F. Fomin, P. Golovach, D. Lokshtanov, Fahad Panolan, Saket Saurabh","doi":"10.1145/3365653","DOIUrl":"https://doi.org/10.1145/3365653","url":null,"abstract":"We provide a randomized linear time approximation scheme for a generic problem about clustering of binary vectors subject to additional constraints. The new constrained clustering problem generalizes a number of problems and by solving it, we obtain the first linear time-approximation schemes for a number of well-studied fundamental problems concerning clustering of binary vectors and low-rank approximation of binary matrices. Among the problems solvable by our approach are Low GF(2)-Rank Approximation, Low Boolean-Rank Approximation, and various versions of Binary Clustering. For example, for Low GF(2)-Rank Approximation problem, where for an m× n binary matrix A and integer r> 0, we seek for a binary matrix B of GF(2) rank at most r such that the ℓ0-norm of matrix A−B is minimum, our algorithm, for any ε > 0 in time f(r,ε)⋅ n⋅ m, where f is some computable function, outputs a (1+ε)-approximate solution with probability at least (1−1e). This is the first linear time approximation scheme for these problems. We also give (deterministic) PTASes for these problems running in time nf(r)1ε2log 1ε, where f is some function depending on the problem. Our algorithm for the constrained clustering problem is based on a novel sampling lemma, which is interesting on its own.","PeriodicalId":154047,"journal":{"name":"ACM Transactions on Algorithms (TALG)","volume":"18 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2018-07-18","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"130634402","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 25
Exact Distance Oracles for Planar Graphs with Failing Vertices 具有失败顶点的平面图形的精确距离预言
Pub Date : 2018-07-01 DOI: 10.1145/3511541
P. Charalampopoulos, S. Mozes, Benjamin Tebeka
We consider exact distance oracles for directed weighted planar graphs in the presence of failing vertices. Given a source vertex u, a target vertex v and a set X of k failed vertices, such an oracle returns the length of a shortest u-to-v path that avoids all vertices in X. We propose oracles that can handle any number k of failures. We show several tradeoffs between space, query time, and preprocessing time. In particular, for a directed weighted planar graph with n vertices and any constant k, we show an Õ(n)-size, Õ(√ n)-query-time oracle.1 We then present a space vs. query time tradeoff: for any q ε [ 1,√ n ], we propose an oracle of size nk+1+o(1)/q2k that answers queries in Õ(q) time. For single vertex failures (k = 1), our n2+o(1)/q2-size, Õ(q)-query-time oracle improves over the previously best known tradeoff of Baswana et al. SODA 2012 by polynomial factors for q ≥ nt, for any t ∈ (0,1/2]. For multiple failures, no planarity exploiting results were previously known.
我们考虑了有向加权平面图中存在失败顶点的精确距离预言。给定一个源顶点u,一个目标顶点v和一个由k个失败顶点组成的集合X,这样的oracle返回一条最短的u到v路径的长度,该路径避免了X中的所有顶点。我们提出可以处理任意数量的k个失败的oracle。我们展示了空间、查询时间和预处理时间之间的几种权衡。特别是,对于具有n个顶点和任意常数k的有向加权平面图,我们显示了Õ(n)-大小,Õ(√n)-查询时间的oracle 1然后,我们提出了空间与查询时间的权衡:对于任意q ε[1,√n],我们提出了一个大小为nk+1+o(1)/q2k的oracle,它在Õ(q)时间内回答查询。对于单顶点失败(k = 1),我们的n2+o(1)/q2-size, Õ(q)-查询时间oracle比之前最著名的Baswana等人的权衡改进。SODA 2012,对于任意t∈(0,1/2),q≥nt的多项式因子。对于多次失败,以前没有已知的平面性开发结果。
{"title":"Exact Distance Oracles for Planar Graphs with Failing Vertices","authors":"P. Charalampopoulos, S. Mozes, Benjamin Tebeka","doi":"10.1145/3511541","DOIUrl":"https://doi.org/10.1145/3511541","url":null,"abstract":"We consider exact distance oracles for directed weighted planar graphs in the presence of failing vertices. Given a source vertex u, a target vertex v and a set X of k failed vertices, such an oracle returns the length of a shortest u-to-v path that avoids all vertices in X. We propose oracles that can handle any number k of failures. We show several tradeoffs between space, query time, and preprocessing time. In particular, for a directed weighted planar graph with n vertices and any constant k, we show an Õ(n)-size, Õ(√ n)-query-time oracle.1 We then present a space vs. query time tradeoff: for any q ε [ 1,√ n ], we propose an oracle of size nk+1+o(1)/q2k that answers queries in Õ(q) time. For single vertex failures (k = 1), our n2+o(1)/q2-size, Õ(q)-query-time oracle improves over the previously best known tradeoff of Baswana et al. SODA 2012 by polynomial factors for q ≥ nt, for any t ∈ (0,1/2]. For multiple failures, no planarity exploiting results were previously known.","PeriodicalId":154047,"journal":{"name":"ACM Transactions on Algorithms (TALG)","volume":"92 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2018-07-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"131176701","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 15
Improving the Smoothed Complexity of FLIP for Max Cut Problems 提高最大切问题FLIP的平滑复杂度
Pub Date : 2018-07-01 DOI: 10.1145/3454125
Ali Bibak, Charles Carlson, Karthekeyan Chandrasekaran
Finding locally optimal solutions for MAX-CUT and MAX-k-CUT are well-known PLS-complete problems. An instinctive approach to finding such a locally optimum solution is the FLIP method. Even though FLIP requires exponential time in worst-case instances, it tends to terminate quickly in practical instances. To explain this discrepancy, the run-time of FLIP has been studied in the smoothed complexity framework. Etscheid and Röglin (ACM Transactions on Algorithms, 2017) showed that the smoothed complexity of FLIP for max-cut in arbitrary graphs is quasi-polynomial. Angel, Bubeck, Peres, and Wei (STOC, 2017) showed that the smoothed complexity of FLIP for max-cut in complete graphs is (OΦ5n15.1), where Φ is an upper bound on the random edge-weight density and Φ is the number of vertices in the input graph. While Angel, Bubeck, Peres, and Wei’s result showed the first polynomial smoothed complexity, they also conjectured that their run-time bound is far from optimal. In this work, we make substantial progress toward improving the run-time bound. We prove that the smoothed complexity of FLIP for max-cut in complete graphs is O(Φ n7.83). Our results are based on a carefully chosen matrix whose rank captures the run-time of the method along with improved rank bounds for this matrix and an improved union bound based on this matrix. In addition, our techniques provide a general framework for analyzing FLIP in the smoothed framework. We illustrate this general framework by showing that the smoothed complexity of FLIP for MAX-3-CUT in complete graphs is polynomial and for MAX-k-CUT in arbitrary graphs is quasi-polynomial. We believe that our techniques should also be of interest toward showing smoothed polynomial complexity of FLIP for MAX-k-CUT in complete graphs for larger constants k.
寻找MAX-CUT和MAX-k-CUT的局部最优解是众所周知的pls完全问题。寻找这种局部最优解的一种本能的方法是FLIP方法。尽管FLIP在最坏情况下需要指数级的时间,但在实际情况下,它往往会很快终止。为了解释这种差异,我们在平滑复杂度框架下研究了FLIP的运行时间。Etscheid和Röglin (ACM Transactions on Algorithms, 2017)表明,任意图中最大切的FLIP平滑复杂度为拟多项式。Angel, Bubeck, Peres, and Wei (STOC, 2017)表明,完全图中最大切的FLIP平滑复杂度为(OΦ5n15.1),其中Φ为随机边权密度的上界,Φ为输入图中的顶点数。虽然Angel, Bubeck, Peres和Wei的结果显示了第一个多项式平滑复杂性,但他们也推测他们的运行时间界限远非最佳。在这项工作中,我们在改进运行时界限方面取得了实质性进展。证明了完全图中最大切的FLIP的平滑复杂度为0 (Φ n7.83)。我们的结果基于一个精心选择的矩阵,该矩阵的秩捕获了方法的运行时间,以及该矩阵的改进秩界和基于该矩阵的改进联合界。此外,我们的技术为在平滑框架中分析FLIP提供了一个通用框架。我们通过证明完全图中MAX-3-CUT的FLIP平滑复杂度是多项式,任意图中MAX-k-CUT的FLIP平滑复杂度是拟多项式来说明这个一般框架。我们相信,我们的技术也应该对在较大常数k的完全图中显示MAX-k-CUT的FLIP的光滑多项式复杂度感兴趣。
{"title":"Improving the Smoothed Complexity of FLIP for Max Cut Problems","authors":"Ali Bibak, Charles Carlson, Karthekeyan Chandrasekaran","doi":"10.1145/3454125","DOIUrl":"https://doi.org/10.1145/3454125","url":null,"abstract":"Finding locally optimal solutions for MAX-CUT and MAX-k-CUT are well-known PLS-complete problems. An instinctive approach to finding such a locally optimum solution is the FLIP method. Even though FLIP requires exponential time in worst-case instances, it tends to terminate quickly in practical instances. To explain this discrepancy, the run-time of FLIP has been studied in the smoothed complexity framework. Etscheid and Röglin (ACM Transactions on Algorithms, 2017) showed that the smoothed complexity of FLIP for max-cut in arbitrary graphs is quasi-polynomial. Angel, Bubeck, Peres, and Wei (STOC, 2017) showed that the smoothed complexity of FLIP for max-cut in complete graphs is (OΦ5n15.1), where Φ is an upper bound on the random edge-weight density and Φ is the number of vertices in the input graph. While Angel, Bubeck, Peres, and Wei’s result showed the first polynomial smoothed complexity, they also conjectured that their run-time bound is far from optimal. In this work, we make substantial progress toward improving the run-time bound. We prove that the smoothed complexity of FLIP for max-cut in complete graphs is O(Φ n7.83). Our results are based on a carefully chosen matrix whose rank captures the run-time of the method along with improved rank bounds for this matrix and an improved union bound based on this matrix. In addition, our techniques provide a general framework for analyzing FLIP in the smoothed framework. We illustrate this general framework by showing that the smoothed complexity of FLIP for MAX-3-CUT in complete graphs is polynomial and for MAX-k-CUT in arbitrary graphs is quasi-polynomial. We believe that our techniques should also be of interest toward showing smoothed polynomial complexity of FLIP for MAX-k-CUT in complete graphs for larger constants k.","PeriodicalId":154047,"journal":{"name":"ACM Transactions on Algorithms (TALG)","volume":"2003 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2018-07-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"127331921","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 13
Zip Trees 邮政编码树
Pub Date : 2018-06-18 DOI: 10.1145/3476830
R. Tarjan, Caleb C. Levy, Stephen Timmel
We introduce the zip tree,1 a form of randomized binary search tree that integrates previous ideas into one practical, performant, and pleasant-to-implement package. A zip tree is a binary search tree in which each node has a numeric rank and the tree is (max)-heap-ordered with respect to ranks, with rank ties broken in favor of smaller keys. Zip trees are essentially treaps [8], except that ranks are drawn from a geometric distribution instead of a uniform distribution, and we allow rank ties. These changes enable us to use fewer random bits per node. We perform insertions and deletions by unmerging and merging paths (unzipping and zipping) rather than by doing rotations, which avoids some pointer changes and improves efficiency. The methods of zipping and unzipping take inspiration from previous top-down approaches to insertion and deletion by Stephenson [10], Martínez and Roura [5], and Sprugnoli [9]. From a theoretical standpoint, this work provides two main results. First, zip trees require only O(log log n) bits (with high probability) to represent the largest rank in an n-node binary search tree; previous data structures require O(log n) bits for the largest rank. Second, zip trees are naturally isomorphic to skip lists [7], and simplify Dean and Jones’ mapping between skip lists
我们将介绍zip树,这是一种随机二叉搜索树,它将以前的想法集成到一个实用、高效且易于实现的包中。zip树是一种二叉搜索树,其中每个节点都有一个数字排名,并且树的排名是(最大)堆排序的,排名关系被打破,有利于较小的键。Zip树本质上是树堆[8],除了秩是从几何分布而不是均匀分布中绘制的,并且我们允许秩关系。这些变化使我们能够在每个节点上使用更少的随机比特。我们通过解合并和合并路径(解压缩和压缩)来执行插入和删除,而不是通过旋转,这避免了一些指针更改并提高了效率。压缩和解压缩的方法是从Stephenson[10]、Martínez和Roura[5]以及Sprugnoli[9]等先前自上而下的插入和删除方法中获得灵感的。从理论的角度来看,这项工作提供了两个主要结果。首先,zip树只需要O(log log n)位(高概率)来表示n节点二叉搜索树中的最大秩;以前的数据结构需要O(log n)位作为最大秩。其次,zip树与跳跃表天生同构[7],简化了Dean和Jones在跳跃表之间的映射
{"title":"Zip Trees","authors":"R. Tarjan, Caleb C. Levy, Stephen Timmel","doi":"10.1145/3476830","DOIUrl":"https://doi.org/10.1145/3476830","url":null,"abstract":"We introduce the zip tree,1 a form of randomized binary search tree that integrates previous ideas into one practical, performant, and pleasant-to-implement package. A zip tree is a binary search tree in which each node has a numeric rank and the tree is (max)-heap-ordered with respect to ranks, with rank ties broken in favor of smaller keys. Zip trees are essentially treaps [8], except that ranks are drawn from a geometric distribution instead of a uniform distribution, and we allow rank ties. These changes enable us to use fewer random bits per node. We perform insertions and deletions by unmerging and merging paths (unzipping and zipping) rather than by doing rotations, which avoids some pointer changes and improves efficiency. The methods of zipping and unzipping take inspiration from previous top-down approaches to insertion and deletion by Stephenson [10], Martínez and Roura [5], and Sprugnoli [9]. From a theoretical standpoint, this work provides two main results. First, zip trees require only O(log log n) bits (with high probability) to represent the largest rank in an n-node binary search tree; previous data structures require O(log n) bits for the largest rank. Second, zip trees are naturally isomorphic to skip lists [7], and simplify Dean and Jones’ mapping between skip lists","PeriodicalId":154047,"journal":{"name":"ACM Transactions on Algorithms (TALG)","volume":"67 1-3 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2018-06-18","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"123469098","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 7
Faster Algorithms for Computing Plurality Points 计算复数点的更快算法
Pub Date : 2018-06-16 DOI: 10.1145/3186990
M. D. Berg, Joachim Gudmundsson, M. Mehr
Let V be a set of n points in Rd, which we call voters. A point p ∈ Rd is preferred over another point p′ ∈ Rd by a voter υ ∈ V if dist(υ, p) < dist(υ, p′). A point p is called a plurality point if it is preferred by at least as many voters as any other point p′. We present an algorithm that decides in O(nlogn) time whether V admits a plurality point in the L2 norm and, if so, finds the (unique) plurality point. We also give efficient algorithms to compute a minimum-cost subset W ⊂ V such that VW admits a plurality point, and to compute a so-called minimum-radius plurality ball. Finally, we consider the problem in the personalized L1 norm, where each point υ ∈ V has a preference vector ⟨w1(υ),…,wd(υ)⟩ and the distance from υ to any point p ∈ Rd is given by ∑i=1d wi(υ)· |xi(υ)−xi(p)|. For this case we can compute in O(nd−1) time the set of all plurality points of V. When all preference vectors are equal, the running time improves to O(n).
设V是Rd中n个点的集合,我们称之为投票人。如果dist(υ, p) < dist(υ, p '),选民υ∈V更喜欢点p∈Rd而不是另一个点p '∈Rd。如果一个点p得到至少和其他点p一样多的选民的支持,就称为“多数点”。我们提出了一种算法,该算法在O(nlogn)时间内决定V在L2范数中是否有复数点,如果有,则找到(唯一的)复数点。我们还给出了计算最小代价子集W∧V使得VW允许一个复数点的有效算法,以及计算一个所谓的最小半径复数球的有效算法。最后,我们考虑个性化L1范数中的问题,其中每个点υ∈V具有⟨w1(υ),…,wd(υ)⟩的偏好向量,并且从υ到任何点p∈Rd的距离由∑i=1d wi(υ)·|xi(υ)−xi(p)|给出。对于这种情况,我们可以在O(nd−1)时间内计算出v的所有复数点的集合。当所有偏好向量相等时,运行时间提高到O(n)。
{"title":"Faster Algorithms for Computing Plurality Points","authors":"M. D. Berg, Joachim Gudmundsson, M. Mehr","doi":"10.1145/3186990","DOIUrl":"https://doi.org/10.1145/3186990","url":null,"abstract":"Let V be a set of n points in Rd, which we call voters. A point p ∈ Rd is preferred over another point p′ ∈ Rd by a voter υ ∈ V if dist(υ, p) < dist(υ, p′). A point p is called a plurality point if it is preferred by at least as many voters as any other point p′. We present an algorithm that decides in O(nlogn) time whether V admits a plurality point in the L2 norm and, if so, finds the (unique) plurality point. We also give efficient algorithms to compute a minimum-cost subset W ⊂ V such that VW admits a plurality point, and to compute a so-called minimum-radius plurality ball. Finally, we consider the problem in the personalized L1 norm, where each point υ ∈ V has a preference vector ⟨w1(υ),…,wd(υ)⟩ and the distance from υ to any point p ∈ Rd is given by ∑i=1d wi(υ)· |xi(υ)−xi(p)|. For this case we can compute in O(nd−1) time the set of all plurality points of V. When all preference vectors are equal, the running time improves to O(n).","PeriodicalId":154047,"journal":{"name":"ACM Transactions on Algorithms (TALG)","volume":"14 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2018-06-16","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"130050464","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 12
CoveringLSH CoveringLSH
Pub Date : 2018-06-16 DOI: 10.1145/3155300
R. Pagh
We consider a new construction of locality-sensitive hash functions for Hamming space that is covering in the sense that is it guaranteed to produce a collision for every pair of vectors within a given radius r. The construction is efficient in the sense that the expected number of hash collisions between vectors at distance cr, for a given c>1, comes close to that of the best possible data independent LSH without the covering guarantee, namely, the seminal LSH construction of Indyk and Motwani (STOC’98). The efficiency of the new construction essentially matches their bound when the search radius is not too large—e.g., when cr = o(log (n)/ log log n), where n is the number of points in the dataset, and when cr = log (n)/k, where k is an integer constant. In general, it differs by at most a factor ln (4) in the exponent of the time bounds. As a consequence, LSH-based similarity search in Hamming space can avoid the problem of false negatives at little or no cost in efficiency.
我们考虑Hamming空间中位置敏感哈希函数的一种新构造,该构造在一定意义上保证对给定半径r内的每一对向量产生碰撞。这种构造是有效的,因为对于给定c>1,距离cr处向量之间的哈希碰撞的期望数量接近于没有覆盖保证的最佳数据独立LSH,即:Indyk和Motwani开创性的LSH构建(STOC ' 98)。当搜索半径不太大时,新构造的效率基本上与它们的边界匹配。,当cr = o(log (n)/ log log n)时,其中n为数据集中的点数;当cr = log (n)/k时,其中k为整数常数。一般来说,它在时间界的指数上最多相差一个因子ln (4)因此,在Hamming空间中,基于lsh的相似性搜索可以以很少或没有成本的效率避免假阴性问题。
{"title":"CoveringLSH","authors":"R. Pagh","doi":"10.1145/3155300","DOIUrl":"https://doi.org/10.1145/3155300","url":null,"abstract":"We consider a new construction of locality-sensitive hash functions for Hamming space that is covering in the sense that is it guaranteed to produce a collision for every pair of vectors within a given radius r. The construction is efficient in the sense that the expected number of hash collisions between vectors at distance cr, for a given c>1, comes close to that of the best possible data independent LSH without the covering guarantee, namely, the seminal LSH construction of Indyk and Motwani (STOC’98). The efficiency of the new construction essentially matches their bound when the search radius is not too large—e.g., when cr = o(log (n)/ log log n), where n is the number of points in the dataset, and when cr = log (n)/k, where k is an integer constant. In general, it differs by at most a factor ln (4) in the exponent of the time bounds. As a consequence, LSH-based similarity search in Hamming space can avoid the problem of false negatives at little or no cost in efficiency.","PeriodicalId":154047,"journal":{"name":"ACM Transactions on Algorithms (TALG)","volume":"1 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2018-06-16","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"121993802","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 3
Tight Space Bounds for Two-Dimensional Approximate Range Counting 二维近似距离计数的紧空间边界
Pub Date : 2018-06-04 DOI: 10.1145/3205454
Zhewei Wei, K. Yi
We study the problem of two-dimensional orthogonal range counting with additive error. Given a set P of n points drawn from an n× n grid and an error parameter ε, the goal is to build a data structure, such that for any orthogonal range R, it can return the number of points in P ∩ R with additive error ε n. A well-known solution for this problem is obtained by using ε-approximation, which is a subset A⊆ P that can estimate the number of points in P ∩ R with the number of points in A ∩ R. It is known that an ε-approximation of size O(1/ε log 2.5 1/ε) exists for any P with respect to orthogonal ranges, and the best lower bound is Ω(1/ε log 1/ε). The ε-approximation is a rather restricted data structure, as we are not allowed to store any information other than the coordinates of the points. In this article, we explore what can be achieved without any restriction on the data structure. We first describe a simple data structure that uses O(1/ε(log 21/ε + log n)) bits and answers queries with error ε n. We then prove a lower bound that any data structure that answers queries with error ε n will have to use Ω(1/ε (log 21/ε + log n)) bits. Our lower bound is information-theoretic: We show that there is a collection of 2Ω(nlog n) point sets with large union combinatorial discrepancy and thus are hard to distinguish unless we use Ω(nlog n) bits.
研究了具有加性误差的二维正交距离计数问题。给定从nx n网格中绘制的n个点的集合P和一个误差参数ε,目标是建立一个数据结构,使得对于任何正交范围R,它都可以返回P∩R中具有可加性误差ε n的点的数量。这个问题的一个著名的解决方案是使用ε-近似。对于任意P,在正交范围内存在一个大小为0 (1/ε log 2.5 1/ε)的ε-近似,其最佳下界为Ω(1/ε log 1/ε)。ε-近似是一种相当有限的数据结构,因为我们不允许存储除点坐标以外的任何信息。在本文中,我们将探讨在不受数据结构限制的情况下可以实现的功能。我们首先描述了一个简单的数据结构,它使用O(1/ε(log 21/ε + log n))位来回答错误为ε n的查询。然后我们证明了一个下界,即任何回答错误为ε n的查询的数据结构都必须使用Ω(1/ε (log 21/ε + log n))位。我们的下界是信息论的:我们表明存在2Ω(nlog n)个点集的集合,它们具有大的联合组合差异,因此很难区分,除非我们使用Ω(nlog n)位。
{"title":"Tight Space Bounds for Two-Dimensional Approximate Range Counting","authors":"Zhewei Wei, K. Yi","doi":"10.1145/3205454","DOIUrl":"https://doi.org/10.1145/3205454","url":null,"abstract":"We study the problem of two-dimensional orthogonal range counting with additive error. Given a set P of n points drawn from an n× n grid and an error parameter ε, the goal is to build a data structure, such that for any orthogonal range R, it can return the number of points in P ∩ R with additive error ε n. A well-known solution for this problem is obtained by using ε-approximation, which is a subset A⊆ P that can estimate the number of points in P ∩ R with the number of points in A ∩ R. It is known that an ε-approximation of size O(1/ε log 2.5 1/ε) exists for any P with respect to orthogonal ranges, and the best lower bound is Ω(1/ε log 1/ε). The ε-approximation is a rather restricted data structure, as we are not allowed to store any information other than the coordinates of the points. In this article, we explore what can be achieved without any restriction on the data structure. We first describe a simple data structure that uses O(1/ε(log 21/ε + log n)) bits and answers queries with error ε n. We then prove a lower bound that any data structure that answers queries with error ε n will have to use Ω(1/ε (log 21/ε + log n)) bits. Our lower bound is information-theoretic: We show that there is a collection of 2Ω(nlog n) point sets with large union combinatorial discrepancy and thus are hard to distinguish unless we use Ω(nlog n) bits.","PeriodicalId":154047,"journal":{"name":"ACM Transactions on Algorithms (TALG)","volume":"17 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2018-06-04","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"125365273","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 4
Distributed Online and Stochastic Queueing on a Multiple Access Channel 多址信道上的分布式在线和随机排队
Pub Date : 2018-05-22 DOI: 10.1145/3182396
Marcin Bienkowski, T. Jurdzinski, M. Korzeniowski, D. Kowalski
We consider the problems of online and stochastic packet queueing in a distributed system of n nodes with queues, where the communication between the nodes is done via a multiple access channel. In the online setting, in each round, an arbitrary number of packets can be injected to nodes’ queues. Two measures of performance are considered: the total number of packets in all queues, called the total load, and the maximum queue size, called the maximum load. We develop a deterministic distributed algorithm that is asymptotically optimal with respect to both complexity measures, in a competitive way. More precisely, the total load of our algorithm is bigger than the total load of any other algorithm, including centralized online solutions, by only an additive term of O(n2), whereas the maximum queue size of our algorithm is at most n times bigger than the maximum queue size of any other algorithm, with an extra additive O(n). The optimality for both measures is justified by proving the corresponding lower bounds, which also separates nearly exponentially distributed solutions from the centralized ones. Next, we show that our algorithm is also stochastically stable for any expected injection rate smaller or equal to 1. This is the first solution to the stochastic queueing problem on a multiple access channel that achieves such stability for the (highest possible) rate equal to 1.
研究了一个有n个节点的具有队列的分布式系统中的在线和随机分组排队问题,其中节点之间的通信是通过一个多址通道完成的。在在线设置中,在每一轮中,可以将任意数量的数据包注入节点的队列。考虑两种性能度量:所有队列中的数据包总数(称为总负载)和最大队列大小(称为最大负载)。我们以竞争的方式开发了一种确定性分布式算法,该算法在两种复杂性度量方面都是渐近最优的。更准确地说,我们的算法的总负载比其他任何算法(包括集中在线解决方案)的总负载只增加了一个O(n2)的附加项,而我们的算法的最大队列大小最多是其他任何算法的最大队列大小的n倍,并且额外增加了O(n)。通过证明相应的下界来证明这两种方法的最优性,该下界也将接近指数分布的解与集中的解分开。接下来,我们证明了我们的算法对于任何小于或等于1的预期注入速率也是随机稳定的。这是多址通道随机排队问题的第一个解决方案,它在(最高可能的)速率等于1时实现了这种稳定性。
{"title":"Distributed Online and Stochastic Queueing on a Multiple Access Channel","authors":"Marcin Bienkowski, T. Jurdzinski, M. Korzeniowski, D. Kowalski","doi":"10.1145/3182396","DOIUrl":"https://doi.org/10.1145/3182396","url":null,"abstract":"We consider the problems of online and stochastic packet queueing in a distributed system of n nodes with queues, where the communication between the nodes is done via a multiple access channel. In the online setting, in each round, an arbitrary number of packets can be injected to nodes’ queues. Two measures of performance are considered: the total number of packets in all queues, called the total load, and the maximum queue size, called the maximum load. We develop a deterministic distributed algorithm that is asymptotically optimal with respect to both complexity measures, in a competitive way. More precisely, the total load of our algorithm is bigger than the total load of any other algorithm, including centralized online solutions, by only an additive term of O(n2), whereas the maximum queue size of our algorithm is at most n times bigger than the maximum queue size of any other algorithm, with an extra additive O(n). The optimality for both measures is justified by proving the corresponding lower bounds, which also separates nearly exponentially distributed solutions from the centralized ones. Next, we show that our algorithm is also stochastically stable for any expected injection rate smaller or equal to 1. This is the first solution to the stochastic queueing problem on a multiple access channel that achieves such stability for the (highest possible) rate equal to 1.","PeriodicalId":154047,"journal":{"name":"ACM Transactions on Algorithms (TALG)","volume":"3 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2018-05-22","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"131034554","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 7
期刊
ACM Transactions on Algorithms (TALG)
全部 Acc. Chem. Res. ACS Applied Bio Materials ACS Appl. Electron. Mater. ACS Appl. Energy Mater. ACS Appl. Mater. Interfaces ACS Appl. Nano Mater. ACS Appl. Polym. Mater. ACS BIOMATER-SCI ENG ACS Catal. ACS Cent. Sci. ACS Chem. Biol. ACS Chemical Health & Safety ACS Chem. Neurosci. ACS Comb. Sci. ACS Earth Space Chem. ACS Energy Lett. ACS Infect. Dis. ACS Macro Lett. ACS Mater. Lett. ACS Med. Chem. Lett. ACS Nano ACS Omega ACS Photonics ACS Sens. ACS Sustainable Chem. Eng. ACS Synth. Biol. Anal. Chem. BIOCHEMISTRY-US Bioconjugate Chem. BIOMACROMOLECULES Chem. Res. Toxicol. Chem. Rev. Chem. Mater. CRYST GROWTH DES ENERG FUEL Environ. Sci. Technol. Environ. Sci. Technol. Lett. Eur. J. Inorg. Chem. IND ENG CHEM RES Inorg. Chem. J. Agric. Food. Chem. J. Chem. Eng. Data J. Chem. Educ. J. Chem. Inf. Model. J. Chem. Theory Comput. J. Med. Chem. J. Nat. Prod. J PROTEOME RES J. Am. Chem. Soc. LANGMUIR MACROMOLECULES Mol. Pharmaceutics Nano Lett. Org. Lett. ORG PROCESS RES DEV ORGANOMETALLICS J. Org. Chem. J. Phys. Chem. J. Phys. Chem. A J. Phys. Chem. B J. Phys. Chem. C J. Phys. Chem. Lett. Analyst Anal. Methods Biomater. Sci. Catal. Sci. Technol. Chem. Commun. Chem. Soc. Rev. CHEM EDUC RES PRACT CRYSTENGCOMM Dalton Trans. Energy Environ. Sci. ENVIRON SCI-NANO ENVIRON SCI-PROC IMP ENVIRON SCI-WAT RES Faraday Discuss. Food Funct. Green Chem. Inorg. Chem. Front. Integr. Biol. J. Anal. At. Spectrom. J. Mater. Chem. A J. Mater. Chem. B J. Mater. Chem. C Lab Chip Mater. Chem. Front. Mater. Horiz. MEDCHEMCOMM Metallomics Mol. Biosyst. Mol. Syst. Des. Eng. Nanoscale Nanoscale Horiz. Nat. Prod. Rep. New J. Chem. Org. Biomol. Chem. Org. Chem. Front. PHOTOCH PHOTOBIO SCI PCCP Polym. Chem.
×
引用
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