Abstract
Techniques for inferring a regular language, in the form of a finite automaton, from a sufficiently large sample of accepted and nonaccepled input words, have been employed to construct models of software and hardware systems, for use, e.g., in test, case generation. We intend to adapt these techniques to construct state machine models of entities of communication protocols. The alphabet of such state machines can be very large, since a symbol typically consists of a protocol data unit type with a number of parameters, each of which can assume many values. In typical algorithms for regular inference, the number of needed input words grows with the size of the alphabet and the size of the minimal DFA accepting the language. We therefore modify such an algorithm (Angluin's algorithm) so that its complexity grows not with the size of the alphabet, but only with the size of a certain symbolic representation of the DFA. The main new idea is to infer, for each state, a partitioning of input symbols into equivalence classes, under the hypothesis that all input symbols in an equivalence class have the same effect on the state machine. Whenever such a hypothesis is disproved, equivalence classes are refined. We show that our modification retains the good properties of Angluin's original algorithm, but that its complexity grows with the size of our symbolic DFA representation rather than with the size of the alphabet,. We have implemented the algorithm; experiments on synthesized examples are consistent with these complexity results. © Springer-Verlag Berlin Heidelberg 2006.
Cite
CITATION STYLE
Berg, T., Jonsson, B., & Raffelt, H. (2006). Regular inference for state machines with parameters. In Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics) (Vol. 3922 LNCS, pp. 107–121). Springer Verlag. https://doi.org/10.1007/11693017_10
Register to see more suggestions
Mendeley helps you to discover research relevant for your work.