首页> 外文会议>11th International Symposium on Computational Intelligence and Informatics >Resolution method for one passage symbolic testing of ramified program structures
【24h】

Resolution method for one passage symbolic testing of ramified program structures

机译:分枝程序结构的一次通过符号测试的解析方法

获取原文

摘要

One of oldest and best-known methods used in constructive testing of smaller programs is the symbolic program execution. It is partly similar to method of simulation of computer function, but differs in aim. One of ways to prove whether given program is written correctly is to execute it symbolically. Aim of this paper is to test ramified program structure using single symbolic set of inputs, in one passage through resolution procedure, by obtaining all possible outputs from program tested. Ramified program may be translated into declarative shape, i.e. into a clause sequence, and this translation may be automated. Method comprises of transformation part and resolution part. In transformation part models for translation of ramified structures into a declarative shapes of clause sequence were described, as well as program implementation of these transformations for Pascal programs. Obtained clause sequence is the input in resolution part in BASELOG system. Single-passage of a procedure is justified, based on OL-resolution with marked literals, which within BASELOG system gives all possible outputs in symbolic form, together with paths leading to them. Illustrative examples are given, being realized in prolog-like LP-language, with no restrictions to Horn's clauses and without final failure. It is shown how the Pascal-program is being executed into proffer of LP-system.
机译:符号程序执行是在较小程序的构造测试中使用的最古老,最著名的方法之一。它部分类似于计算机功能的仿真方法,但目的不同。证明给定程序是否正确编写的一种方法是象征性地执行它。本文的目的是通过解决程序中的一个步骤,通过从测试的程序中获取所有可能的输出,来使用单个符号输入集来测试分叉的程序结构。分枝的程序可以翻译成说明性的形式,即翻译成子句序列,并且这种翻译可以是自动化的。方法包括变换部分和解析部分。在转换部分模型中,描述了将分枝结构转换为子句序列的声明形状的模型,以及Pascal程序的这些转换的程序实现。获得的子句序列是BASELOG系统中解析部分的输入。基于带有标记文字的OL分辨率,可以证明过程的单次通过是合理的,它在BASELOG系统中以符号形式给出所有可能的输出以及通往它们的路径。给出了说明性示例,以类似于prolog的LP语言实现,没有对Horn子句的限制,也没有最终失败。它显示了Pascal程序是如何在LP系统中执行的。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号