In this note we propose a new algorithm for checking whether two counting functions on a free monoid Mᵣ of rank r are equivalent modulo a bounded function. The previously known algorithm has time complexity $O(n)$ for all ranks $r>2$, however in case $r=2$ it was estimated only as O(n²). Here we apply a new approach, based on explicit basis expansion and weighted rectangles summation, which allows us to construct a much simpler algorithm with time complexity $O(n)$ for any r≥ 2.
No takes yet. Share an insight, caveat, or question.
Kiyashko et al. (2024) studied this question.
Synapse has enriched 5 closely related papers on similar clinical questions. Consider them for comparative context: