Computing Maximum Number of Runs in Strings
Computing Maximum Number of Runs in Strings
复制标题
计算字符串中的最大游程数
DOI:
10.1007/978-3-642-34109-0_33
复制
发表时间:
2012
期刊:
影响因子:
--
通讯作者:
Kazuhiko Kusano
中科院分区:
文献类型:
--
作者:
Yagi T;Ito D;Okada Y;Akamatsu W;Nihei Y;Yoshizaki T;Yamanaka S;Okano H;Suzuki N;Kazuhiko Kusano
A run (also called maximal repetition) in a word is a non-extendable repetition. Finding the maximum numberρ(n) of runs in a string of lengthnis a challenging problem. Although it is known thatρ(n) ≤ 1.029nfor anynand there exists largensuch thatρ(n) ≥ 0.945n, the exact value ofρ(n) is still unknown. Several algorithms have been proposed to count runs in a string efficiently, andρ(n) can be obtained for smallnby these algorithms. In this paper, we focus on computingρ(n) for given length parametern, instead of exhaustively counting all runs for every string of lengthn. We report exact values ofρ(n) for binary strings forn≤ 66, together with the strings which containρ(n) runs.