Papers
Topics
Authors
Recent
Search
2000 character limit reached

Deterministic Indexing for Packed Strings

Published 6 Dec 2016 in cs.DS | (1612.01748v1)

Abstract: Given a string SS of length nn, the classic string indexing problem is to preprocess SS into a compact data structure that supports efficient subsequent pattern queries. In the \emph{deterministic} variant the goal is to solve the string indexing problem without any randomization (at preprocessing time or query time). In the \emph{packed} variant the strings are stored with several character in a single word, giving us the opportunity to read multiple characters simultaneously. Our main result is a new string index in the deterministic \emph{and} packed setting. Given a packed string SS of length nn over an alphabet σ\sigma, we show how to preprocess SS in O(n)O(n) (deterministic) time and space O(n)O(n) such that given a packed pattern string of length mm we can support queries in (deterministic) time O(m/α+log⁡m+log⁡log⁡σ),O\left(m/\alpha + \log m + \log \log \sigma\right), where α=w/log⁡σ\alpha = w / \log \sigma is the number of characters packed in a word of size w=Θ(log⁡n)w = \Theta(\log n). Our query time is always at least as good as the previous best known bounds and whenever several characters are packed in a word, i.e., log⁡σ≪w\log \sigma \ll w, the query times are faster.

Citations (22)

Summary

No one has generated a summary of this paper yet.

Paper to Video (Beta)

No one has generated a video about this paper yet.

Whiteboard

No one has generated a whiteboard explanation for this paper yet.

Open Problems

We haven't generated a list of open problems mentioned in this paper yet.

Continue Learning

We haven't generated follow-up questions for this paper yet.