计算机应用 ›› 2010, Vol. 30 ›› Issue (10): 2730-2734.

• 软件过程技术与先进计算 • 上一篇    下一篇

分形理论在软件复杂度中的应用

姜林1,艾波2,漆涛2   

  1. 1. 北京邮电大学
    2.
  • 收稿日期:2010-03-15 修回日期:2010-05-07 发布日期:2010-09-21 出版日期:2010-10-01
  • 通讯作者: 姜林

Application of fractal theory to software complexity

  • Received:2010-03-15 Revised:2010-05-07 Online:2010-09-21 Published:2010-10-01

摘要: 利用分形理论对软件复杂度进行研究,给出盒子及程序分形复杂度的定义,进一步给出了算法思想和计算方法,并通过实例说明程序具有分形特征——标度不变性。在此基础上,对一些程序的分形复杂度进行了计算,并通过进一步的分析表明所得数值在某种情况下可以反映出程序在结构上的复杂程度,其度量结果是比较有效的。

关键词: 分形, 盒子, 软件复杂度, 分形复杂度, 标度不变性

Abstract: Software complexity was studied with fractal theory, the definition of box and fractal complexity was given, and then a related algorithm was proposed. Some examples showed that some programs have fractal attribute, called scale invariance. On this basis, several existing programs were tested. The further analysis results show that, under certain conditions, it is effective for the proposed algorithm to calculate the complexity of a program.

Key words: fractal, box, software complexity, fractal complexity, scale invariance

中图分类号: