z-logo
open-access-imgOpen Access
Inferring Semantic Interfaces of Data Structures
Author(s) -
Falk Howar,
Malte Isberner,
Bernhard Steffen,
Oliver Bauer,
Bengt Jönsson
Publication year - 2012
Publication title -
lecture notes in computer science
Language(s) - English
Resource type - Book series
SCImago Journal Rank - 0.249
H-Index - 400
eISSN - 1611-3349
pISSN - 0302-9743
DOI - 10.1007/978-3-642-34026-0_41
Subject(s) - computer science , parameterized complexity , automaton , extension (predicate logic) , component (thermodynamics) , semantic data model , key (lock) , theoretical computer science , basis (linear algebra) , data structure , data mining , programming language , algorithm , artificial intelligence , physics , geometry , computer security , mathematics , thermodynamics
In this paper, we show how to fully automatically infer semantic interfaces of data structures on the basis of systematic testing. Our semantic interfaces are a generalized form of Register Automata (RA), comprising parameterized input and output, allowing to model control- and data-flow in component interfaces concisely. Algorithmic key to the automated synthesis of these semantic interfaces is the extension of an active learning algorithm for Register Automata to explicitly deal with output. We evaluated our algorithm on a complex data structure, a "stack of stacks", the largest of which we could learn in merely 20 seconds with less than 4000 membership queries, resulting in a model with rougly 800 nodes. In contrast, even when restricting the data domain to just four values, the corresponding plain Mealy machine would have more than 109 states and presumably require billions of membership queries.

The content you want is available to Zendy users.

Already have an account? Click here to sign in.
Having issues? You can contact us here
Accelerating Research

Address

John Eccles House
Robert Robinson Avenue,
Oxford Science Park, Oxford
OX4 4GP, United Kingdom