Research Article

Experimental Evaluation of FSM-Based Testing Cost for Time-Delay Systems

Algorithm 1

MinTSByWeight.
Inputs:
FSM
: A set of initial test set
: A coverage criterion
Output:
: The minimum test suite satisfy the criterion
Process:
(1)    Set ;
(2)    Initial ; //test requirement set satisfy
                  //criterion .
(3)    Initial test coverage info by calculating covering
            weight of .
(4)    While do
(5)     If and NOT the 1st time
(6)      Re-adjust covering weights of the remaining
              sequences;
(7)     Select the minimum weight from the weights of all sequences in ;
(8)     For each in
(9)      If
               
(10) End of While
(11)  return