首页    期刊浏览 2024年12月14日 星期六
登录注册

文章基本信息

  • 标题:Counting Triangles under Updates in Worst-Case Optimal Time
  • 本地全文:下载
  • 作者:Ahmet Kara ; Hung Q. Ngo ; Milos Nikolic
  • 期刊名称:LIPIcs : Leibniz International Proceedings in Informatics
  • 电子版ISSN:1868-8969
  • 出版年度:2019
  • 卷号:127
  • 页码:1-18
  • DOI:10.4230/LIPIcs.ICDT.2019.4
  • 出版社:Schloss Dagstuhl -- Leibniz-Zentrum fuer Informatik
  • 摘要:We consider the problem of incrementally maintaining the triangle count query under single-tuple updates to the input relations. We introduce an approach that exhibits a space-time tradeoff such that the space-time product is quadratic in the size of the input database and the update time can be as low as the square root of this size. This lowest update time is worst-case optimal conditioned on the Online Matrix-Vector Multiplication conjecture. The classical and factorized incremental view maintenance approaches are recovered as special cases of our approach within the space-time tradeoff. In particular, they require linear-time maintenance under updates, which is suboptimal. Our approach can also count all triangles in a static database in the worst-case optimal time needed for enumerating them.
  • 关键词:incremental view maintenance; amortized analysis; data skew
国家哲学社会科学文献中心版权所有