Dynamic set intersection

16Citations
Citations of this article
7Readers
Mendeley users who have this article in their library.
Get full text

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.

Cite

CITATION STYLE

APA

Kopelowitz, T., Pettie, S., & Porat, E. (2015). Dynamic set intersection. In Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics) (Vol. 9214, pp. 470–481). Springer Verlag. https://doi.org/10.1007/978-3-319-21840-3_39

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free