Abstract

In this paper we present different solutions for the problem of indexing a dictionary of strings in compressed space. Given a pattern $$P$$P, the index has to report all the strings in the dictionary having edit distance at most one with $$P$$P. Our first solution is able to solve queries in (almost optimal) $$O(|P|+occ)$$O(|P|+occ) time where $$occ$$occ is the number of strings in the dictionary having edit distance at most one with $$P$$P. The space complexity of this solution is bounded in terms of the $$k$$kth order entropy of the indexed dictionary. A second solution further improves this space complexity at the cost of increasing the query time. Finally, we propose randomized solutions (Monte Carlo and Las Vegas) which achieve simultaneously the time complexity of the first solution and the space complexity of the second one.

Full Text
Paper version not known

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call

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.