Abstract
Finding minimal separating sequences for all pairs of inequivalent states in a finite state machine is a classic problem in automata theory. Sets of minimal separating sequences, for instance, play a central role in many conformance testing methods. Moore has already outlined a partition refinement algorithm that constructs such a set of sequences in \(\mathcal {O}(mn)\) time, where m is the number of transitions and n is the number of states. In this paper, we present an improved algorithm based on the minimization algorithm of Hopcroft that runs in \(\mathcal {O}(m \log n)\) time. The efficiency of our algorithm is empirically verified and compared to the traditional algorithm.
Supported by NWO project 628.001.009 on Learning Extended State Machines for Malware Analysis (LEMMA).
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Notes
- 1.
Available at https://gitlab.science.ru.nl/rick/partition/.
References
Bonchi, F., Pous, D.: Checking NFA equivalence with bisimulations up to congruence. In: POPL, pp. 457–468 (2013)
Dorofeeva, R., El-Fakih, K., Maag, S., Cavalli, A., Yevtushenko, N.: FSM-based conformance testing methods: a survey annotated with experimental evaluation. Inf. Softw. Technol. 52(12), 1286–1297 (2010)
Gill, A.: Introduction to the Theory of Finite-state Machines. McGraw-Hill, New York (1962)
Gries, D.: Describing an algorithm by Hopcroft. Acta Informatica 2(2), 97–109 (1973)
Hierons, R.M., Türker, U.C.: Incomplete distinguishing sequences for finite state machines. Comput. J. 58, 1–25 (2015)
Hopcroft, J.E.: An n log n algorithm for minimizing states in a finite automaton. In: Theory of Machines and Computations, pp. 189–196 (1971)
Knuutila, T.: Re-describing an algorithm by Hopcroft. Theoret. Comput. Sci. 250(1–2), 333–363 (2001)
Lee, D., Yannakakis, M.: Testing finite-state machines: state identification and verification. Computers 43(3), 306–320 (1994)
Moore, E.F.: Gedanken-experiments on sequential machines. Automata Stud. 34, 129–153 (1956)
Smeenk, W., Moerman, J., Vaandrager, F., Jansen, D.N.: Applying automata learning to embedded control software. In: Butler, M., et al. (eds.) ICFEM 2015. LNCS, vol. 9407, pp. 67–83. Springer, Heidelberg (2015). doi:10.1007/978-3-319-25423-4_5
Valmari, A., Lehtinen, P.: Efficient minimization of DFAs with partial transition functions. In: STACS, pp. 645–656 (2008)
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2016 Springer International Publishing Switzerland
About this paper
Cite this paper
Smetsers, R., Moerman, J., Jansen, D.N. (2016). Minimal Separating Sequences for All Pairs of States. In: Dediu, AH., JanouÅ¡ek, J., MartÃn-Vide, C., Truthe, B. (eds) Language and Automata Theory and Applications. LATA 2016. Lecture Notes in Computer Science(), vol 9618. Springer, Cham. https://doi.org/10.1007/978-3-319-30000-9_14
Download citation
DOI: https://doi.org/10.1007/978-3-319-30000-9_14
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-319-29999-0
Online ISBN: 978-3-319-30000-9
eBook Packages: Computer ScienceComputer Science (R0)