一个检查自由独异点计数函数等价性的简单算法
A simple algorithm for checking equivalence of counting functions on free monoids
AI总结:
本文提出了一种新的算法,用于在自由独异点上检查计数函数的等价性,该算法在任何秩$r\geq 2$的情况下均具有$O(n)$的时间复杂度。
摘要:
在本笔记中,我们提出了一种新的算法,用于检查两个在自由独异点$M_r$上的计数函数是否在有界函数下等价。已知的算法在所有秩$r>2$的情况下具有$O(n)$的时间复杂度,但对于$r=2$的情况,其复杂度估计仅为$O(n^2)$。我们采用基于显式基底展开和加权矩形求和的新方法,从而构建了一个更简单的算法,该算法对任何$r\geq 2$都具有$O(n)$的时间复杂度。我们使用多带图灵机模型进行计算,其中非常数时间的算术运算被允许。
英文摘要:
In this note we propose a new algorithm for checking whether two counting functions on a free monoid $M_r$ of rank $r$ are equivalent modulo a bounded function. The previously known algorithm has time complexity $O(n)$ for all ranks $r>2$, but for $r=2$ it was estimated only to be $O(n^2)$. We apply a new approach based on the explicit basis expansion and summation of weighted rectangles, which allows us to construct a much simpler algorithm with time complexity $O(n)$ for any $r\geq 2$. We work in the multi-tape Turing machine model with non-constant-time arithmetic operations.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。