Data structure for finding min of set intersection
From: Adam Morrison (adam.morrison_at_pobox.com)
Date: 11/15/04
- Next message: John Coleman: "Re: another proof that p is not np"
- Previous message: Torben Ęgidius Mogensen: "Re: Proof that Languages are Not Turing Equivalent"
- Next in thread: Paul E. Black: "Re: Data structure for finding min of set intersection"
- Reply: Paul E. Black: "Re: Data structure for finding min of set intersection"
- Reply: David Wagner: "Re: Data structure for finding min of set intersection"
- Reply: Heiner Marxen: "Re: Data structure for finding min of set intersection"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 15 Nov 2004 04:17:34 -0800
Consider the following problem: We are given $m$ subsets $S_1,...,S_m$
of ${1,...,n}$. The goal is to build a data structure that supports a
MIN_INTERSECTION(i,j) operation, which returns the minimum number in the
intersection of $S_i$ and $S_j$. Is there such a data structure that
does better than the obvious $O(n)$ scheme of finding the intersection
and returning the minimum? (I'm mostly interested in fast MIN_INTERSECTION;
after that, in minimizing the space requirements of the data structure;
and least of all in the time it takes to build it.)
Is this a known/easy problem? I haven't found any relevant references
in the literature. In fact I didn't find much discussion of intersection
problems in general sets (i.e. not computational geometry). Any pointers
or ideas would be much appreciated!
Thanks,
Adam
- Next message: John Coleman: "Re: another proof that p is not np"
- Previous message: Torben Ęgidius Mogensen: "Re: Proof that Languages are Not Turing Equivalent"
- Next in thread: Paul E. Black: "Re: Data structure for finding min of set intersection"
- Reply: Paul E. Black: "Re: Data structure for finding min of set intersection"
- Reply: David Wagner: "Re: Data structure for finding min of set intersection"
- Reply: Heiner Marxen: "Re: Data structure for finding min of set intersection"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]