首页> 外文会议>German conference on artificial intelligence >Inferring flow of control in program synthesis by example
【24h】

Inferring flow of control in program synthesis by example

机译:通过实施例推动程序合成中的控制流程

获取原文

摘要

We present a supervised, interactive learning technique that infers control structures of computer programs from user-demonstrated traces. A two-stage process is applied: first, a minimal deterministic finite automation (DFA) M labled by the instructions of the program is learned from a set of example traces and membership queries to the user. It accepts all prefixes of traces of the target program. The number of queries is bounded by O(k.|M|), with k being the total unmber of instructions in the initial example traces. In the second step we parse this automation into a high-level programming language in O(|M|~2) steps, replacing jumps by conditional control structures.
机译:我们提出了一种监督,交互式的学习技术,其来自用户演示的迹线的控制结构的控制结构。应用了两阶段过程:首先,通过对用户的一组示例跟踪和成员资格查询,从该程序的指令中汲取最小的确定性有限自动化(DFA)M。它接受目标计划的所有痕迹前缀。查询的数量由O(k。| m |)界定,K是初始示例迹线中的总毫无指令。在第二步中,我们将此自动化解析为O(| m |〜2)步骤中的高级编程语言,通过条件控制结构替换跳跃。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号