Counting overlapping pairs of words

📅 2024-05-15
📈 Citations: 1
Influential: 0
📄 PDF

career value

203K/year
🤖 AI Summary
This paper addresses the enumeration of word pairs $(u,v)$ of length $n$ over a finite alphabet, characterized by their correlation—i.e., suffix–prefix overlaps—encoded via binary overlap vectors. We establish, for the first time, a recursive relationship between the overlap structure of word pairs and the self-overlaps (borders) of individual words, thereby resolving two open problems posed by Gabric (2022): (1) the exact distribution of maximum overlap length, and (2) the asymptotic convergence of the expected maximum border length. Using combinatorial constructions, recurrence modeling, and analytic asymptotics, we derive exact recurrence relations for the number of pairs under arbitrary correlation types, obtain a closed-form expression for the distribution of maximum overlap length, and prove that the expected maximum border length converges to a constant. Furthermore, we provide tight asymptotic bounds on the population proportions across all correlation classes.

Technology Category

Application Category

📝 Abstract
A correlation is a binary vector that encodes all possible positions of overlaps of two words, where an overlap for an ordered pair of words (u,v) occurs if a suffix of word u matches a prefix of word v. As multiple pairs can have the same correlation, it is relevant to count how many pairs of words share the same correlation depending on the alphabet size and word length n. We exhibit recurrences to compute the number of such pairs -- which is termed population size -- for any correlation; for this, we exploit a relationship between overlaps of two words and self-overlap of one word. This theorem allows us to compute the number of pairs with a longest overlap of a given length and to show that the expected length of the longest border of two words asymptotically converges, which solves two open questions raised by Gabric in 2022. Finally, we also provide bounds for the asymptotic of the population ratio of any correlation. Given the importance of word overlaps in areas like word combinatorics, bioinformatics, and digital communication, our results may ease analyses of algorithms for string processing, code design, or genome assembly.
Problem

Research questions and friction points this paper is trying to address.

Count word pairs sharing overlap correlation patterns
Compute population size for any overlap correlation
Solve open questions on longest overlap asymptotics
Innovation

Methods, ideas, or system contributions that make the work stand out.

Recurrences compute word pair overlap counts
Relate two-word overlaps to self-overlap
Provide bounds for population ratio asymptotics
🔎 Similar Papers
No similar papers found.