Testing finite-state machines: state identification and verification
- 1 March 1994
- journal article
- research article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Transactions on Computers
- Vol. 43 (3) , 306-320
- https://doi.org/10.1109/12.272431
Abstract
We study the complexity of two fundamental problems in the testing of finite-state machines. 1) Distinguishing sequences (state identification). We show that it is PSPACE-complete to determine whether a finite-state machine has a preset distinguishing sequence. There are machines that have distinguishing sequences, but only of exponential length. We give a polynomial time algorithm that determines whether a finite-state machine has an adaptive distinguishing sequence. (The previous classical algorithms take exponential time.) Furthermore, if there is an adaptive distinguishing sequence, then we give an efficient algorithm that constructs such a sequence of length at most n(n/spl minus/1)/2 (which is the best possible), where n is the number of states. 2) Unique input output sequences (state verification). It is PSPACE-complete to determine whether a state of a machine has a unique input output sequence. There are machines whose states have unique input output sequences but only of exponential length.Keywords
This publication has 17 references indexed in Scilit:
- A protocol test generation procedurePublished by Elsevier ,2003
- Testing Finite State Machines: Fault DetectionJournal of Computer and System Sciences, 1995
- Protocol conformance testing using multiple UIO sequencesIEEE Transactions on Communications, 1992
- An optimization technique for protocol conformance test generation based on UIO sequences and rural Chinese postman toursIEEE Transactions on Communications, 1991
- An optimization technique for protocol conformance testing using multiple UIO sequencesInformation Processing Letters, 1990
- Protocol conformance test generation using multiple UIO sequences with overlappingPublished by Association for Computing Machinery (ACM) ,1990
- An improved protocol test generation procedure based on UIOSPublished by Association for Computing Machinery (ACM) ,1989
- Formal methods for protocol testing: a detailed studyIEEE Transactions on Software Engineering, 1989
- Check words for the states of a finite automatonCybernetics and Systems Analysis, 1975
- AN n log n ALGORITHM FOR MINIMIZING STATES IN A FINITE AUTOMATONPublished by Elsevier ,1971