作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2011, Vol. 37 ›› Issue (16): 8-10. doi: 10.3969/j.issn.1000-3428.2011.16.003

• 博士论文 • 上一篇    下一篇

进化计算在软件智能修复中的应用

何加浪,张 琨,张 宏   

  1. (南京理工大学计算机科学与技术学院,南京 210094)
  • 收稿日期:2011-02-22 出版日期:2011-08-20 发布日期:2011-08-20
  • 作者简介:何加浪(1984-),男,博士研究生,主研方向:软件修复,软件故障定位;张 琨,副教授;张 宏,教授、博士生导师
  • 基金资助:

    国家自然科学基金资助重大项目(90718021);南京理工大学自主科研专项计划基金资助项目(2010ZYTS035)

Application of Evolutionary Computing in Software Intelligent Repair

HE Jia-lang, ZHANG Kun, ZHANG Hong   

  1. (Institute of Computer Science and Technology, Nanjing University of Science and Technology, Nanjing 210094, China)
  • Received:2011-02-22 Online:2011-08-20 Published:2011-08-20

摘要: 提出一种基于进化计算的软件智能修复算法IREA。采用控制流图作为进化个体的编码方式,在确定适应度函数时,考虑控制流图节点集的势和结构相似度2个因素,将软件的修复过程转化为适应度指导的进化过程,从而实现软件智能化修复。实验结果表明,该算法具有可行性和有效性。

关键词: 进化计算, 软件修复, 智能修复, 控制流, 软件维护

Abstract: This paper proposes an Intelligent Repair Evolutionary Algorithm(IREA) based on evolutionary computing. Using Control Flow Graph (CFG) as the individual of the evolution, IREA is directed by the fitness degree of the individual, which is calculated from cardinality of the CFG nodes set constrained by test case and the degree of structure similarity. It converts repair process to evolution process directed by the fitness degree, which intelligentizes the software repair. Experimental results show the feasibility and effectiveness of the proposed algorithm.

Key words: evolutionary computing, software repair, intelligent repair, control flow, software maintenance

中图分类号: