检查与生成单词吸引子
Checking and producing word attractors
AI总结:
本文针对单词吸引子问题,提出基于后缀自动机或有向无环单词图的两种组合算法:线性时间判定给定位置集合是否为吸引子,以及贪心生成小规模吸引子,尽管问题NP难,算法仍高效且适用于多个单词族。
摘要:
本文关注单词(或字符串)吸引子,即与底层单词的文本压缩效率相关的位置集合。文章提出了两种基于后缀自动机或有向无环单词图的组合算法。第一种算法在线性时间内判定单词上的一个位置集合是否为该单词的吸引子。第二种算法以贪心方式为给定单词生成一个吸引子。尽管该问题是NP难的,该算法是高效的,并为几个著名的单词族生成了非常小的吸引子。
英文摘要:
The article focuses on word (or string) attractors, which are sets of positions related to the text compression efficiency of the underlying word. The article presents two combinatorial algorithms based on Suffix automata or Directed Acyclic Word Graphs. The first algorithm decides in linear time whether a set of positions on the word is an attractor of the word. The second algorithm generates an attractor for a given word in a greedy manner. Although the problem of generating a smallest attractor is NP-hard, {the algorithm is efficient and produces very small attractors and even the smallest ones for several well-known infinite families of words.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。