STRING OVERLAPS, PATTERN-MATCHING, AND NON-TRANSITIVE GAMES
STRING OVERLAPS, PATTERN-MATCHING, AND NON-TRANSITIVE GAMES
复制标题
DOI:
10.1016/0097-3165(81)90005-4
复制
发表时间:
1981-01-01
影响因子:
1.1
通讯作者:
ODLYZKO, AM
中科院分区:
文献类型:
--
作者:
GUIBAS, LJ;ODLYZKO, AM
This paper studies several topics concerning the way strings can overlap. The key notion of thecorrelationof two strings is introduced, which is a representation of how the second string can overlap into the first. This notion is then used to state and prove a formula for the generating function that enumerates theq-ary strings of lengthnwhich contain none of a given finite set of patterns. Various generalizations of this basic result are also discussed. This formula is next used to study a wide variety of seemingly unrelated problems. The first application is to the nontransitive dominance relations arising out of a probabilistic coin-tossing game. Another application shows that no algorithm can check for the presence of a given pattern in a text without examining essentially all characters of the text in the worst case. Finally, a class of polynomials arising in connection with the main result are shown to be irreducible.