A Master of Science thesis in Computer Engineering by Mustafa Ali entitled, "Parallel Algorithms for Distinguishing Nondeterministic Finite State Machines," submitted in February 2015. Thesis advisor is Dr. Gerassimos Barlas and thesis co-advisor is Dr. Khaled El-Fakih. Soft and hard copy available.
Many methods are used for the development of experiments and conformance tests based on the specification given in the form Finite State Machines (FSMs). In FSM-based testing, we have an FSM or a black-box Implementation Under Test (IUT) about which we lack some information, and we want to deduce this information by conducting experiments on the IUT. An experiment consists of applying input sequences, observing corresponding output responses, and drawing conclusions about the IUT. An experiment is adaptive if at each step of the experiment the next input is selected which is based on the previously observed outputs. A distinguishing experiment determines the initial state of the FSM. In this thesis, we consider two implementations of an existing sequential algorithm for deriving the minimal length of an adaptive distinguishing experiment for a nondeterministic FSM. We show that the execution time for both of these implementations grows exponentially as the size or the number of transitions of the FSM increases. Accordingly, in order to obtain a solution in a reasonable time, we develop four parallel implementations of the considered sequential algorithms, namely, a multi-core implementation on Central Processing Unit, two Graphical Processing Unit (GPU) implementations based on the platforms like CUDA and Thrust, respectively, and an implementation on a Network of Workstations (NoWs). Comprehensive experiments are conducted to assess and compare the performance and the speedup of the developed implementations. Based on the results obtained from these experiments, the parallel implementation on a NoW provides the best performance and speedup, followed by the CUDA, then the Thrust, followed by the multi-core CPU implementation.