Heuristics for deriving distinguishing experiments of nondeterministic finite state machines

被引:4
作者
El-Fakih, Khaled [1 ]
Haddad, Abdul Rahim [2 ]
Aleb, Nassima [3 ]
Yevtushenko, Nina [4 ]
机构
[1] Amer Univ Sharjah, Dept Comp Sci & Engn, POB 26666, Sharjah, U Arab Emirates
[2] Amer Univ Sharjah, Dept Comp Sci & Engn, Sharjah, U Arab Emirates
[3] Univ Sci & Technol Houari Boumediene, Bab Ezzouar, Algeria
[4] Tomsk State Univ, Tomsk, Russia
关键词
Software engineering; Functional testing; Conformance testing; Distinguishing experiments; Nondeterministic finite state machines; Mutation testing; Heuristics; Evolutionary algorithms; Genetic algorithms;
D O I
10.1016/j.asoc.2016.07.019
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
Derivation of input sequences for distinguishing states of a finite state machine (FSM) specification is well studied in the context of FSM-based functional testing. We present three heuristics for the derivation of distinguishing sequences for nondeterministic FSM specifications. The first is based on a cost function that guides the derivation process and the second is a genetic algorithm that evolves a population of individuals of possible solutions (or input sequences) using a fitness function and a crossover operator specifically tailored for the considered problem. The third heuristic is a mutation based algorithm that considers a randomly generated input sequence as a candidate solution, and if the candidate is not a distinguishing sequence, then the algorithm tries to find a solution by appropriately mutating the considered candidate. Experiments are conducted to assess the performance of the considered algorithms with respect to execution time, virtual memory consumption, and quality (length) of obtained sequences. Experiments are conducted using randomly generated machines with a various number of states, inputs, outputs, and degrees of non-determinism. Further, we assess the impact of varying the number of states, inputs, outputs, and degree of non-determinism. (C) 2016 Elsevier B.V. All rights reserved.
引用
收藏
页码:1175 / 1184
页数:10
相关论文
共 50 条
[41]   Toward testing from finite state machines with symbolic inputs and outputs [J].
Petrenko, Alexandre .
SOFTWARE AND SYSTEMS MODELING, 2019, 18 (02) :825-835
[42]   A Hybrid Test Generation Approach based on Extended Finite State Machines [J].
Turlea, Ana ;
Ipate, Florentin ;
Lefticaru, Raluca .
PROCEEDINGS OF 2016 18TH INTERNATIONAL SYMPOSIUM ON SYMBOLIC AND NUMERIC ALGORITHMS FOR SCIENTIFIC COMPUTING (SYNASC), 2016, :173-180
[43]   A Deep Neural Network Guided Testing Approach for Finite State Machines [J].
Rahaman, Habibur ;
Chattopadhyay, Santanu ;
Sengupta, Indranil .
2021 4TH INTERNATIONAL SYMPOSIUM ON DEVICES, CIRCUITS AND SYSTEMS (ISDCS 2021), 2021,
[44]   Applying extended finite state machines in software testing of interactive systems [J].
Fantinato, M ;
Jino, M .
INTERACTIVE SYSTEMS: DESIGN, SPECIFICATION, AND VERIFICATION, 2003, 2844 :34-45
[45]   Solving identification problem for asynchronous finite state machines using genetic algorithms [J].
Geng, Xiaojun .
GECCO 2006: GENETIC AND EVOLUTIONARY COMPUTATION CONFERENCE, VOL 1 AND 2, 2006, :1413-1414
[46]   Using Genetic Algorithms To Select Test Cases For Finite State Machines With Timeouts [J].
Benito-Parejo, Miguel ;
Merayo, Mercedes G. .
2021 IEEE CONGRESS ON EVOLUTIONARY COMPUTATION (CEC 2021), 2021, :2403-2410
[47]   A practical approach for testing timed deterministic finite state machines with single clock [J].
El-Fakih, Khaled ;
Yevtushenko, Nina ;
Simao, Adenilso .
SCIENCE OF COMPUTER PROGRAMMING, 2014, 80 :343-355
[48]   QUANTUM-INSPIRED EVOLUTIONARY DESIGN OF SYNCHRONOUS FINITE STATE MACHINES PART II [J].
Nedjah, Nadia ;
Mello Araujo, Marcos Paulo ;
Mourelle, Luiza de Macedo .
INTERNATIONAL JOURNAL OF INNOVATIVE COMPUTING INFORMATION AND CONTROL, 2010, 6 (11) :4897-4910
[49]   QUANTUM-INSPIRED EVOLUTIONARY DESIGN OF SYNCHRONOUS FINITE STATE MACHINES: PART I [J].
Nedjah, Nadia ;
Mello Araujo, Marcos Paulo ;
Mourelle, Luiza de Macedo .
INTERNATIONAL JOURNAL OF INNOVATIVE COMPUTING INFORMATION AND CONTROL, 2010, 6 (09) :4173-4191
[50]   Exhaustive property oriented model-based testing with symbolic finite state machines [J].
Huang, Wen-ling ;
Krafczyk, Niklas ;
Peleska, Jan .
SCIENCE OF COMPUTER PROGRAMMING, 2024, 231