String Indexing for Maximal Gap-Bounded Occurrence Clusters
Waseem Akram, Takuya Mieno
Key points
From the paper's conclusion- We study how to find such groups efficiently when both the pattern $P$ and the distance threshold $G$ between occurrences are specified as query parameters.
Abstract
Repeated occurrences of a pattern can form groups that reveal where repetition is concentrated in a text. We study how to find such groups efficiently when both the pattern $P$ and the distance threshold $G$ between occurrences are specified as query parameters. A maximal $G$-cluster of $P$ is a maximal block of at least two occurrences of $P$ whose consecutive starting positions differ by at most $G$. In this paper, we present indexes for reporting all cluster intervals and counting the clusters. For a text of length $n$ and a pattern of length $m$, we propose an $O(n\log n)$-space index that reports all maximal cluster intervals in $O(m+\log\log n+\mathit{output})$ time, where $\mathit{output}$ is the number of reported intervals, and that counts the clusters in $O(m+\log\log n)$ time. Restricting occurrences to those fully contained in a query substring preserves the reporting time using $O(n\log^2 n)$ space. Our indexes combine suffix-tree decompositions with geometric reporting queries on consecutive gaps.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Space-Efficient Text Indexing for Advanced Counting QueriesarXiv · 2026
- ZigZag Trie: A Novel Index for Contextual QueriesarXiv · 2026
- Internal Queries for Maximal Closed SubstringsarXiv · 2026
- Suffixient Arrays: A New Efficient Suffix Array Compression Technique.Theory of computing systems · 2026
- Real-Time String Indexing in Optimal TimearXiv · 2026
- Toward space-optimal approximate colored indexes at scalebioRxiv · 2026