【24h】

Inferring Semantic Interfaces of Data Structures

机译:推断数据结构的语义接口

获取原文

摘要

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 10~9 states and presumably require billions of membership queries.
机译:在本文中,我们展示了如何在系统测试的基础上全自动推断数据结构的语义接口。我们的语义接口是注册自动机(RA)的通用形式,包括参数化的输入和输出,从而可以在组件接口中简洁地对控制流和数据流进行建模。这些语义接口的自动综合的算法关键是主动学习算法的扩展,用于寄存器自动机以显式处理输出。我们在一个复杂的数据结构(一个“堆栈堆栈”)上评估了我们的算法,通过不到4000个成员资格查询,我们最多可以在20秒内学会最大的堆栈,从而形成了一个粗略的800个节点的模型。相反,即使将数据域限制为仅四个值,相应的普通Mealy机器也将具有10〜9个以上的状态,并且可能需要数十亿个成员资格查询。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号