Incomplete Distinguishing Sequences for Finite State Machines

被引:11
作者
Hierons, Robert M. [1 ]
Turker, Uraz Cengiz [2 ]
机构
[1] Brunel Univ London, Dept Comp Sci, Uxbridge, Middx, England
[2] Sabanci Univ, TR-34956 Istanbul, Turkey
关键词
model-based testing; finite state machines; testing; checking experiments; adaptive distinguishing sequences; TEST-GENERATION; DESIGN; IDENTIFICATION; LENGTH; NUMBER; COST;
D O I
10.1093/comjnl/bxv041
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
Given a finite state machine (FSM) M, a distinguishing sequence (DS) is a test that identifies the state of M. While there are two types of DSs, preset DSs (PDSs) and adaptive DSs (ADSs), not all FSMs possess a DS. In this paper, we examine the problem of finding incomplete PDSs and ADSs, exploring associated optimization problems: finding a largest set of states that has aDS and finding a smallest set of DSs that, between them, distinguish all of the states. We also propose a greedy algorithm to produce a small set of incomplete ADSs and use experiments to compare this with two previously published algorithms for generating state identifiers. We show that the optimization problems related to incomplete ADSs and PDSs are PSPACE - complete as are corresponding approximation problems. In the experiments, we found that incomplete ADSs produced by the proposed greedy algorithm led to relatively compact state identifiers.
引用
收藏
页码:3089 / 3113
页数:25
相关论文
共 69 条
[1]  
Aho A. V., 1986, COMPILERS PRINCIPLES
[2]  
[Anonymous], 1991, Design and validation of computer protocols
[3]  
[Anonymous], 1988, P IEEE 8 INT S PROT
[4]   Verifiable concurrent programming using concurrency controllers [J].
Betin-Can, A ;
Bultan, T .
19TH INTERNATIONAL CONFERENCE ON AUTOMATED SOFTWARE ENGINEERING, PROCEEDINGS, 2004, :248-257
[5]  
Binder R.V., 1999, Testing Object-Oriented Systems: Models, Patterns, and Tools
[6]  
Boroday SY, 1998, TESTING OF COMMUNICATING SYSTEMS, P101
[7]   DISTINGUISHING SETS FOR OPTIMAL STATE IDENTIFICATION IN CHECKING EXPERIMENTS [J].
BOUTE, RT .
IEEE TRANSACTIONS ON COMPUTERS, 1974, C 23 (08) :874-877
[8]  
Brglez Franc, 1996, ACM SIGMOD BENCHMARK
[9]  
Bulmer M.G., 1979, PRINCIPLES STAT
[10]   TESTING SOFTWARE DESIGN MODELED BY FINITE-STATE MACHINES [J].
CHOW, TS .
IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 1978, 4 (03) :178-187