最坏情况最优时间下更新时的三角形计数
数据库
2019-03-26 v2
摘要
我们考虑在输入关系单元组更新下增量维护三角形计数查询的问题。我们引入一种具有时空权衡的方法,使得时空乘积为输入数据库大小的平方,且更新时间可低至该大小的平方根。这一最低更新时间在在线矩阵-向量乘法猜想条件下是最坏情况最优的。经典与因子化增量视图维护方法作为我们方法在时空权衡下的特例被恢复。特别地,它们需要线性时间更新维护,这是次优的。我们的方法也恢复了非增量情形下计算三角形计数最坏情况最优的时间复杂度。
引用
@article{arxiv.1804.02780,
title = {Counting Triangles under Updates in Worst-Case Optimal Time},
author = {Ahmet Kara and Hung Q. Ngo and Milos Nikolic and Dan Olteanu and Haozhe Zhang},
journal= {arXiv preprint arXiv:1804.02780},
year = {2019}
}
备注
simplified notation; incremental maintenance of full triangle query, 4-path count query, count queries with three relations added; improved the space complexity of the dynamic algorithm maintaining the triangle count query