Dynamic set intersection

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

Abstract

Consider the problem of maintaining a family F of dynamic sets subject to insertions, deletions, and set-intersection reporting queries: given S, S′ ∈ F, report every member of S ∩S′ in any order. We show that in the word RAM model, where w is the word size, given a cap d on the maximum size of any set, we can support set intersection queries in O(Equation found) expected time, and updates in O(1) expected time. Using this algorithm we can list all t triangles of a graph G = (V, E) in O(Equation found) expected time, where m = |E| and α is the arboricity of G. This improves a 30-year old triangle enumeration algorithm of Chiba and Nishizeki running in O(mα) time. We provide an incremental data structure on F that supports intersection witness queries, where we only need to find one e ∈ S ∩ S′. Both queries and insertions take O (Equation found) expected time, where N = ΣS ∈F |S|. Finally, we provide time/space tradeoffs for the fully dynamic set intersection reporting problem. Using M words of space, each update costs O(√M logN) expected time, each reporting query costs O(Equation found) expected time where op is the size of the output, and each witness query costs O(Equation found) expected time.

Original languageEnglish
Title of host publicationAlgorithms and Data Structures - 14th International Symposium, WADS 2015, Proceedings
EditorsFrank Dehne, Jorg-Rudiger Sack, Ulrike Stege
PublisherSpringer Verlag
Pages470-481
Number of pages12
ISBN (Print)9783319218397
DOIs
StatePublished - 2015
Event14th International Symposium on Algorithms and Data Structures, WADS 2015 - Victoria, Canada
Duration: 5 Aug 20157 Aug 2015

Publication series

NameLecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
Volume9214

Conference

Conference14th International Symposium on Algorithms and Data Structures, WADS 2015
Country/TerritoryCanada
CityVictoria
Period5/08/157/08/15

All Science Journal Classification (ASJC) codes

  • Theoretical Computer Science
  • General Computer Science

Fingerprint

Dive into the research topics of 'Dynamic set intersection'. Together they form a unique fingerprint.

Cite this