Practical evaluation of Lyndon factors via alphabet reordering
We evaluate the influence of different alphabet orderings on the Lyndon factorization of a string. Experiments with Pizza Chili datasets show that for most alphabet reorderings, the number of Lyndon factors is usually small, and the length of the longest Lyndon factor can be as large as the input string, which is unfavorable for algorithms and indexes that depend on the number of Lyndon factors. We present results with randomized alphabet permutations that can be used as a baseline to assess the effectiveness of heuristics and methods designed to modify the Lyndon factorization of a string via alphabet reordering.
READ FULL TEXT