期刊文献+

利用基因表达式编程自动生成循环不变式 被引量:1

An Approach to Creating Loop Invariant Based on Gene Expression Programming
在线阅读 下载PDF
导出
摘要 描述了利用基因表达式编程自动生成循环不变式的方法。该方法的基本思想是在每一次循环条件变化时记录下程序变量的值,产生相应的跟踪表,然后从跟踪表中获得程序变量之间的函数依赖关系,这种变量之间的依赖关系构成了循环不变式的主要部分。程序变量之间的函数依赖关系的获得是利用基因表达式编程对跟踪表中数据执行符号回归得到。利用VC++实现了基因表达式编程的函数挖掘,并通过一个实例说明了该方法的有效性。 This paper proposed an approach to automatically generate loop invariants. The approach is based on producing a trace table by recording the values of program variables each time the condition of a loop is evaluated. Functional dependencies between program variables, which are a vital part of loop invariant, can be extracted from the trace table. The extraction process is accomplished by using gene expression programming (GEP), which performs a symbolic regres- sion on the data of the trace table. The approach has been implemented in VC + +. The implementation has been used to automatically discover invariants from some programs.
出处 《计算机与数字工程》 2009年第7期7-10,共4页 Computer & Digital Engineering
基金 怀化学院资助科研项目(编号:HHUY2008-18)资助
关键词 循环不变式 HOARE逻辑 符号回归 基因表达式编程 loop invariant, Hoare logic, symbolic regression, gene expression programming
  • 相关文献

参考文献10

  • 1石海鹤,肖正兴,薛锦云.循环不变式开发新策略及其应用[J].计算机工程与应用,2006,42(4):105-107. 被引量:8
  • 2KARR M. Affine relationships among variables of a program[J]. Acta Information, 1976,(6): 133-151.
  • 3Cousot P, Halbwachs N. Automatic discovery of linear restraints among variables of a program[C]. Proc. of the 5th POPL. Arizona: ACM Press, 1978:84-97.
  • 4RODRIGUEZ-CARBONELL E, KAPUR D. Generating all polynomial invariants in simple loops [J]. Journal of Symbolic Computation, 2007, 42(4): 443-476.
  • 5MULLER-OLM M, SEIDL H. Computing polynomial program invariants [J]. Information Processing Letters, 2004, 91(5): 233-244.
  • 6Sankaranarayanan S, Sipma H, Manna Z. Non-lin ear loop invariant generation using Grobner bases [C]. ACM principles of programming languages (POPL). ACM, New York, 2004:318-330.
  • 7CHEN YING-HUA, XIA BI-CAN, YANG LU, et al. Generating polynomial invariants with discoverer and qepcad[C]. JONES CB, LIU Z, WOODCOCK J, eds. LNCS 4700. Heidelberg: Spring Verleg, 2007:67-82.
  • 8毕忠勤,曾振柄,郭远华.非线性循环不变式的自动生成[J].计算机应用,2008,28(7):1854-1857. 被引量:4
  • 9C. A. R Hoare. An Axiomatic Basis for Computer Programming[J]. Communications of ACM, 1969, (12):576-583.
  • 10Ferreira C. Gene Expression Programming: A New Adaptive Algorithm for Solving Problems[J]. Complex Systems, 2001,13(2) :87-129.

二级参考文献23

  • 1D Gries.The Science of Programming[M],Springer Vedag,1981.
  • 2Dijkstra E W.A Discipline of Programming[M].Prentice Hall,Englewood Cliffs, 19~6.
  • 3D Gries.A note on a standard strategy for developing Loop Invariants and Loops[J].Science of Computer Programming, 1982.
  • 4Xue Jinyun.Two New Strategies for Developing Loop Invariants and Their Applications[J].Joumal of Computer Science and Technology, 1993;8(2).
  • 5薛锦云.论循环不变式及其开发技术[C]..第四次全国软件工程会议论文集[C].北京,1991..
  • 6DIJKSTRA E W. A discipline of programming[ M]. New Jersey: Prentice-Hall Inc., 1976.
  • 7FLOYD R W. Assigning meanings to programs[ C]//Proceedings of Symposia in Applied Mathematics. [ S. l. ] : American Mathematical Society, 1967, 19:19 -32.
  • 8HOARE C A R. An axiomatic basis for computer programming[ J]. Communications of ACM, 1969, 12(10) : 576 - 580.
  • 9COUST P , COUST R . Abstract interpretation : A unified lattice model for static analysis of programs by construction or approximation of fixpoints[ C]// ACM Principles of Programming Languages. New York: ACM Press, 1977:238-252.
  • 10COUSOT P , HALBWACHS N . Automatic discovery of linear restraints among the variables of a program[ C]// ACM Principles of Programming Languages. New York: ACM Press, 1978:84-97.

共引文献10

同被引文献5

引证文献1

二级引证文献3

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部