Abstract
AbstractGiven a set of \(n\) elements that are partitioned into equivalence classes, we study the problem of assigning unique labels to these elements in order to support the query that asks whether the elements corresponding to two given labels belong to the same equivalence class. This problem has been studied by Katz et al [11], Alstrup et al [1], and Lewenstein et al [12]. Lewenstein et al [12] showed that if the labels were to be assigned from the set \(\{1,...,n\}\), a data structure of size \(\Theta (\sqrt{n})\) bits is necessary and sufficient to represent the equivalence classes. They also showed that with no auxiliary data structure, a label space of size \(\sum _{i=1}^{n}\lfloor \frac{n}{i}\rfloor \) is necessary and sufficient. Our main result is that if we allow a label space of size \(cn\) for any constant \(c > 1\), a data structure of size \(\Theta (\log n)\) bits is necessary and sufficient. We also show that the equivalence query in such a data structure can be answered in \(\Theta (1)\) time. We believe that our work can trigger further work on tradeoffs between label space and auxiliary data structure space for other labeling problems.KeywordsEquivalence ClassQuery TimeAddress SpaceConnectivity QueryUnique LabelThese keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.
Talk to us
Join us for a 30 min session where you can share your feedback and ask us any queries you have
Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.