An Improved Algorithm for Finding the Shortest Synchronizing Words

07/03/2022
by   Marek Szykuła, et al.
0

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 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.

READ FULL TEXT
research
06/16/2018

Finding Short Synchronizing Words for Prefix Codes

We study the problems of finding a shortest synchronizing word and its l...
research
04/19/2020

On synchronization of partial automata

A goal of this paper is to introduce the new construction of an automato...
research
12/20/2013

Generating Shortest Synchronizing Sequences using Answer Set Programming

For a finite state automaton, a synchronizing sequence is an input seque...
research
03/05/2020

Finding linearly generated subsequences

We develop a new algorithm to compute determinants of all possible Hanke...
research
02/13/2018

Lengths of Words Accepted by Nondeterministic Finite Automata

We consider two natural problems about nondeterministic finite automata....
research
02/06/2013

Efficient Induction of Finite State Automata

This paper introduces a new algorithm for the induction if complex finit...
research
07/15/2020

The Big-O Problem for Labelled Markov Chains and Weighted Automata

Given two weighted automata, we consider the problem of whether one is b...

Please sign up or login with your details

Forgot password? Click here to reset