首页> 外文会议>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分辨率,基于具有标记的文字的OL分辨率的单一通道,其在Baselog系统中以符号形式提供所有可能的输出,以及通向它们的路径。给出了说明性示例,以prolog-lp-logial实现,没有限制角的条款,没有最终失败。显示了如何执行Pascal-Program如何执行LP系统的介绍。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号