Set intersection oracle
A set intersection oracle (SIO) is a data structure which represents a collection of sets and can quickly answer queries about whether the set intersection of two given sets is non-empty. The input to the problem is n finite sets. The sum of the sizes of all sets is N (which also means that there are at most N distinct elements). The SIO should quickly answer any query of the form: : "Does the set S i intersect the set S k "? Source: e01 Encyclopedia. Licence: CC BY-SA 4.0.
A set intersection oracle (SIO) is a data structure which represents a collection of sets and can quickly answer queries about whether the set intersection of two given sets is non-empty. The input to the problem is n finite sets. The sum of the sizes of all sets is N (which also means that there are at most N distinct elements). The SIO should quickly answer any query of the form: "Does the set S i intersect the set S k "? Without any pre-processing, a query can be answered by inserting the elements of S i into a temporary hash table and then checking for each element of S k whether it is in the hash table. The query time is O(|S_i|+|S_j|)=O(N) .
Cite this
"Set intersection oracle". 1649741429. e01 Encyclopedia. CC BY-SA 4.0. https://en.wikipedia.org/w/index.php?oldid=1082271882 JSON record · API collection · BibTeX · RIS · CSL-JSON · citation policy