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 条
  • [31] In vitro implementation of finite-state machines
    Garzon, M
    Gao, Y
    Rose, JA
    Murphy, RC
    Deaton, R
    Franceschetti, DR
    Stevens, SE
    AUTOMATA IMPLEMENTATION, 1998, 1436 : 56 - 74
  • [32] Abstractions of random finite-state machines
    Oikonomou, KN
    FORMAL METHODS IN SYSTEM DESIGN, 2001, 18 (03) : 171 - 207
  • [33] POLYNOMIAL REPRESENTATION OF FINITE-STATE MACHINES
    HUNT, BR
    IEEE TRANSACTIONS ON SYSTEMS SCIENCE AND CYBERNETICS, 1969, SSC5 (01): : 94 - &
  • [34] Model matching for finite-state machines
    Di Benedetto, MD
    Sangiovanni-Vincentelli, A
    Villa, T
    IEEE TRANSACTIONS ON AUTOMATIC CONTROL, 2001, 46 (11) : 1726 - 1743
  • [35] CHEMICAL IMPLEMENTATION OF FINITE-STATE MACHINES
    HJELMFELT, A
    WEINBERGER, ED
    ROSS, J
    PROCEEDINGS OF THE NATIONAL ACADEMY OF SCIENCES OF THE UNITED STATES OF AMERICA, 1992, 89 (01) : 383 - 387
  • [36] Abstractions of Random Finite-State Machines
    Kostas N. Oikonomou
    Formal Methods in System Design, 2001, 18 : 171 - 207
  • [37] Training Linear Finite-State Machines
    Ardakani, Arash
    Ardakani, Amir
    Gross, Warren J.
    ADVANCES IN NEURAL INFORMATION PROCESSING SYSTEMS 33, NEURIPS 2020, 2020, 33
  • [38] Product Construction of Finite-State Machines
    Hsieh, Samuel C.
    WORLD CONGRESS ON ENGINEERING AND COMPUTER SCIENCE, VOLS 1 AND 2, 2010, : 141 - 143
  • [39] CASCADE SYNTHESIS OF FINITE-STATE MACHINES
    ZEIGER, HP
    INFORMATION AND CONTROL, 1967, 10 (04): : 419 - &
  • [40] Finite-state independence and normal sequences
    Alvarez, Nicolas
    Becher, Veronica
    Carton, Olivier
    JOURNAL OF COMPUTER AND SYSTEM SCIENCES, 2019, 103 : 1 - 17