arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2207.05495cs.FLcs.DS
收藏

一种改进的最短同步字搜索算法

An Improved Algorithm for Finding the Shortest Synchronizing Words

Marek Szykuła, Adam Zyzik

摘要:

确定性有限完全自动机的同步字是其动作将每个状态映射到单个状态的字。寻找一个最短的或短的同步字是同步自动机理论中的一个中心计算问题,并应用于其他领域,如基于模型的测试和代码理论。因为寻找最短同步字的问题在计算上是困难的,所以在\emph{exact}算法中,只有指数算法是已知的。我们重新设计了以前最快的已知的精确算法的基础上的双向广度优先搜索,并改善它在时间和空间上的实际意义。我们开发了新的算法增强功能,并使算法适应多线程和GPU计算。实验结果表明,新算法比原算法快了数倍,且其优势随着问题实例的难度而迅速增长。在适当的时间限制下,我们计算了多达570个状态的随机二进制自动机的最短同步字的长度,大大超过了之前的记录。我们改进了这些自动机的平均重置阈值的实验估计。最后,我们开发了一个通用的计算软件包,致力于这个问题,其中包括我们的算法的有效和实用的实现,以及几个著名的算法。

英文摘要:

A synchronizing word of a deterministic finite complete automaton is a word whose action maps every state to a single one. Finding a shortest or a short synchronizing word is a central computational problem in the theory of synchronizing automata and is applied in other areas such as model-based testing and the theory of codes. Because the problem of finding a shortest synchronizing word is computationally hard, among \emph{exact} algorithms only exponential ones are known. We redesign the previously fastest known exact algorithm based on the bidirectional breadth-first search and improve it with respect to time and space in a practical sense. We develop new algorithmic enhancements and adapt the algorithm to multithreaded and GPU computing. Our experiments show that the new algorithm is multiple times faster than the previously fastest one and its advantage quickly grows with the hardness of the problem instance. Given a modest time limit, we compute the lengths of the shortest synchronizing words for random binary automata up to 570 states, significantly beating the previous record. We refine the experimental estimation of the average reset threshold of these automata. Finally, we develop a general computational package devoted to the problem, where an efficient and practical implementation of our algorithm is included, together with several well-known heuristics.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑