首页> 外文会议>International conference on language and automata theory and applications >Linear-Time Version of Holub's Algorithm for Morphic Imprimitivity Testing
【24h】

Linear-Time Version of Holub's Algorithm for Morphic Imprimitivity Testing

机译:Holub形态阻抗性测试算法的线性时间版本

获取原文

摘要

Stepan Holub (Discr. Math., 2009) gave the first polynomial algorithm deciding whether a given word is a nontrivial fixed point of a morphism. His algorithm works in quadratic time for large alphabets. We improve the algorithm to work in linear time. Our improvement starts with a careful choice of a subset of rules used in Holub's algorithm that is necessary to grant correctness of the algorithm. Afterwards we show how to choose the order of applying the rules that allows to avoid unnecessary operations on sets. We obtain linear time using efficient data structures for implementation of the rules. Holub's algorithm maintains connected components of a graph corresponding to specially marked positions in a word. This graph is of quadratic size for large alphabet. In our algorithm only a linear number of edges of this conceptual graph is processed.
机译:Stepan Holub(Discr。Math。,2009)给出了第一个多项式算法,用于确定给定单词是否是词素的非平凡不动点。对于大型字母,他的算法可在二次时间内工作。我们改进了算法以在线性时间内工作。我们的改进始于仔细选择Holub算法中使用的规则子集,这对于确保算法的正确性是必不可少的。然后,我们展示如何选择规则的应用顺序,以免对集合进行不必要的操作。我们使用有效的数据结构来执行规则,从而获得线性时间。 Holub的算法可维护图形中与单词中特殊标记的位置相对应的连接部分。对于大字母,此图的大小为二次方。在我们的算法中,仅处理此概念图的线性数量的边缘。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号