首页> 外文会议>Foundations of Computer Science, 2004. Proceedings. 45th Annual IEEE Symposium on >Dynamic transitive closure via dynamic matrix inverse: extended abstract
【24h】

Dynamic transitive closure via dynamic matrix inverse: extended abstract

机译:通过动态矩阵逆进行动态传递闭合:扩展的抽象

获取原文

摘要

We consider dynamic evaluation of algebraic functions such as computing determinant, matrix adjoint, matrix inverse and solving linear system of equations. We show that in the dynamic setup the above problems can be solved faster than evaluating everything from scratch. In the case when rows and columns of the matrix can change we show an algorithm that achieves O(n/sup 2/) arithmetic operations per update and O(1) arithmetic operations per query. Next, we describe two algorithms, with different tradeoffs, for updating the inverse and determinant when single entries of the matrix are changed. The fastest update for the first tradeoff is O(n/sup 1.575/) arithmetic operations per update and O(n/sup 0.575/) arithmetic operations per query. The second tradeoff gives O(n/sup 1.495/) arithmetic operations per update and O(n/sup 1.495/) arithmetic operations per query. We also consider the case when some number of columns or rows can change. We use dynamic determinant computations to solve the following problems in the dynamic setup: computing the number of spanning trees in a graph and testing if an edge in a graph is contained in some perfect matching. These are the first dynamic algorithms for these problems. Next, with the use of dynamic matrix inverse, we solve fully dynamic transitive closure in general directed graphs. The bounds on arithmetic operations for dynamic matrix inverse translate directly to time bounds for dynamic transitive closure. Thus we obtain the first known algorithm with O(n/sup 2/) worst-case update time and constant query time and two algorithms for transitive closure in general digraphs with subquadratic update and query times. Our algorithms for transitive closure are randomized with one-sided error. We also consider for the first time the case when the edges incident with a part of vertices of the graph can be changed.
机译:我们考虑对代数函数进行动态评估,例如计算行列式,矩阵伴随,矩阵逆和求解线性方程组。我们表明,在动态设置中,与从头开始评估所有问题相比,可以更快地解决上述问题。在矩阵的行和列可以更改的情况下,我们将展示一种算法,该算法每次更新可实现O(n / sup 2 /)个算术运算,而每个查询可实现O(1)算术运算。接下来,我们描述两种具有不同权衡的算法,当矩阵的单个条目发生更改时,它们用于更新逆函数和行列式。第一次折衷最快的更新是每个更新O(n / sup 1.575 /)个算术运算和每个查询O(n / sup 0.575 /)个算术运算。第二个折衷方案是每个更新O(n / sup 1.495 /)个算术运算和每个查询O(n / sup 1.495 /)个算术运算。我们还考虑了某些列或行可以更改的情况。我们使用动态行列式计算来解决动态设置中的以下问题:计算图形中的生成树数量,并测试图形中的边是否包含在某些完美匹配中。这些是解决这些问题的第一个动态算法。接下来,通过使用动态矩阵逆,我们可以解决一般有向图中的完全动态传递闭包。动态矩阵逆的算术运算边界直接转换为动态传递闭包的时间边界。因此,我们获得了第一个已知的具有O(n / sup 2 /)最坏情况更新时间和恒定查询时间的算法,以及两个具有二次更新和查询时间的一般有向图的传递闭合算法。我们的传递闭包算法被随机分配,且存在单方面误差。我们还首次考虑了可以改变与图的一部分顶点有关的边的情况。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号