Fast evaluation of union-intersection expressions

Computer Science – Data Structures and Algorithms

Scientific paper

Rate now

  [ 0.00 ] – not rated yet Voters 0   Comments 0

Details

Scientific paper

We show how to represent sets in a linear space data structure such that expressions involving unions and intersections of sets can be computed in a worst-case efficient way. This problem has applications in e.g. information retrieval and database systems. We mainly consider the RAM model of computation, and sets of machine words, but also state our results in the I/O model. On a RAM with word size $w$, a special case of our result is that the intersection of $m$ (preprocessed) sets, containing $n$ elements in total, can be computed in expected time $O(n (\log w)^2 / w + km)$, where $k$ is the number of elements in the intersection. If the first of the two terms dominates, this is a factor $w^{1-o(1)}$ faster than the standard solution of merging sorted lists. We show a cell probe lower bound of time $\Omega(n/(w m \log m)+ (1-\tfrac{\log k}{w}) k)$, meaning that our upper bound is nearly optimal for small $m$. Our algorithm uses a novel combination of approximate set representations and word-level parallelism.

No associations

LandOfFree

Say what you really think

Search LandOfFree.com for scientists and scientific papers. Rate them and share your experience with other people.

Rating

Fast evaluation of union-intersection expressions does not yet have a rating. At this time, there are no reviews or comments for this scientific paper.

If you have personal experience with Fast evaluation of union-intersection expressions, we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and Fast evaluation of union-intersection expressions will most certainly appreciate the feedback.

Rate now

     

Profile ID: LFWR-SCP-O-394828

  Search
All data on this website is collected from public sources. Our data reflects the most accurate information available at the time of publication.