Efficient computation of unique input/output sequences in finite-state machines

被引:27
|
作者
Naik, K
机构
[1] Department of Computer Software, University of Aizu, Aizu-Wakamatsu
关键词
communication protocol; finite-state machine; interference rule; path vector; projection; testing; UIO sequence; UIO tree;
D O I
10.1109/90.649519
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
This paper makes two contributions toward computing unique input/output (UIO) sequences in finite-state machines. Our first contribution is to compute all UIO sequences of minimal lengths in a finite-state machine. Our second contribution is to present a generally efficient algorithm to compute a UIO sequence for each state, if it exists. We begin by defining a path vector, vector perturbation, and UIO tree. The perturbation process allows us to construct the complete UIO tree for a machine. Each sequence of input/output from the initial vector of a UIO tree to a singleton vector represents a UIO sequence. Next, we define the idea of an inference rule that allows us to infer UIO sequences of a number of states from the UIO sequence of some state. That is, for a large class of machines, it is possible to compute UIO sequences for all possible states from a small set of initial UIO's. Thus, there is neither any need for individually computing UIO sequences nor any need to construct the complete UIO tree. We give a modified depth-first algorithm, called the hybrid approach, that computes a partial UIO tree, called an essential subtree, from which UIO sequences of all possible states can be inferred. Using the concept of projection machines, we show that sometimes it is unnecessary to construct even a partial subtree. We prove that if a machine remains strongly connected after deleting all the converging transitions, then all of the states have UIO sequences. To demonstrate the effectiveness of our approach, we develop a tool to perform experiments using both small and large machines. Experimental results show that the maximum essential subtree for a machine is much smaller than the complete UIO tree. An immediate impact of the inference mechanism is that UIO sequences may be unnecessarily long leading to longer test sequences. Since longer test sequences incur extra cost, we suggest how to reduce-and even eliminate-the impact of the inference mechanism by generating UIO sequences depending on how they are used in some representative test generation methods.
引用
收藏
页码:585 / 599
页数:15
相关论文
共 50 条
  • [11] State assignment of finite-state machines
    Ahmad, I
    Dhodhi, MK
    IEE PROCEEDINGS-COMPUTERS AND DIGITAL TECHNIQUES, 2000, 147 (01): : 15 - 22
  • [12] Robots and finite-state machines
    Carter, EF
    DR DOBBS JOURNAL, 1997, 22 (02): : 50 - +
  • [13] Refinement of finite-state machines
    Li, HW
    Min, YH
    Li, ZC
    CAD/GRAPHICS '2001: PROCEEDINGS OF THE SEVENTH INTERNATIONAL CONFERENCE ON COMPUTER AIDED DESIGN AND COMPUTER GRAPHICS, VOLS 1 AND 2, 2001, : 624 - 629
  • [14] An efficient algorithm for Gaussian blur using finite-state machines
    Waltz, FM
    Miller, JWV
    MACHINE VISION SYSTEMS FOR INSPECTION AND METROLOGY VII, 1998, 3521 : 334 - 341
  • [15] ABSTRACTIONS OF FINITE-STATE MACHINES AND IMMEDIATELY-DETECTABLE OUTPUT FAULTS
    OIKONOMOU, KN
    IEEE TRANSACTIONS ON COMPUTERS, 1992, 41 (03) : 325 - 338
  • [16] Finite-State Input Shaping
    Sorensen, Khalid L.
    Hekman, Keith
    Singhose, William E.
    IEEE TRANSACTIONS ON CONTROL SYSTEMS TECHNOLOGY, 2010, 18 (03) : 664 - 672
  • [17] Characterizing optimum (input, output) processes for finite-state channels with feedback
    Berger, T. (berger@ece.cornell.edu), 1600, IEEE Information Theory Society (Institute of Electrical and Electronics Engineers Inc.):
  • [18] Characterizing optimum (Input, output) processes for finite-state channels with feedback
    Berger, T
    Ying, YZ
    2003 IEEE INTERNATIONAL SYMPOSIUM ON INFORMATION THEORY - PROCEEDINGS, 2003, : 117 - 117
  • [19] Minimization of mealy finite-state machines by using the values of the output variables for state assignment
    Solov'ev, V. V.
    JOURNAL OF COMPUTER AND SYSTEMS SCIENCES INTERNATIONAL, 2017, 56 (01) : 96 - 104
  • [20] Minimization of mealy finite-state machines by using the values of the output variables for state assignment
    V. V. Solov’ev
    Journal of Computer and Systems Sciences International, 2017, 56 : 96 - 104