TESTING FINITE-STATE MACHINES - STATE IDENTIFICATION AND VERIFICATION

Citation
D. Lee et M. Yannakakis, TESTING FINITE-STATE MACHINES - STATE IDENTIFICATION AND VERIFICATION, I.E.E.E. transactions on computers, 43(3), 1994, pp. 306-320
Citations number
26
Categorie Soggetti
Computer Sciences","Engineering, Eletrical & Electronic","Computer Science Hardware & Architecture
ISSN journal
00189340
Volume
43
Issue
3
Year of publication
1994
Pages
306 - 320
Database
ISI
SICI code
0018-9340(1994)43:3<306:TFM-SI>2.0.ZU;2-6
Abstract
We study the complexity of two fundamental problems in the testing of finite-state machines. 1) Distinguishing sequences (State Identificati on). 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. W e give a polynomial time algorithm that determines whether a finite-st ate machine has an adaptive distinguishing sequence. (The previous cla ssical 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-1)/2 (which is t he best possible), where n is the number of states. 2) Unique Input Ou tput sequences (State Verification). It is PSPACE-complete to determin e whether a state of a machine has a unique input output sequence. The re are machines whose states have unique output sequences but only of exponential length.