Encoding Methods of Parameters of Genetic AlgorithmsApplied in Ada Dynamic Testing
-
摘要: 介绍了将遗传算法应用在Ada程序结构测试中,被测单元参数按照遗传算法的运算规则进行编码的原则与方法.首先,介绍了包括枚举类型和变长数组的基本数据类型的参数编码方法.由于Ada语言允许使用动态数据结构类型的参数,如何在一个较高自动化的动态测试工具中实现对动态数据结构的自动测试,成为首要关注的问题.因此文中着重介绍了Ada程序的动态数据结构在遗传算法中的编码方法.Abstract: The principles and methods are introduced, which are used to encode parameters when applying the genetic algorithms in Ada structural testing. First , two main principles of encoding are introduced. Because Ada language could use dynamic data types in its parameter tables, the method used to handle them would be the most important problem when we want an automatic dynamic testing tool . Secondly , encoding methods used in both enumerative data types and dynamic data types are introduced. Parameters of enumerative data types have the same property. They can be encoded in the same way of integers. Encoding methods of the parameters of dynamic data types are emphasized.
-
Key words:
- coding /
- algorithms /
- data structure /
- software /
- genetic algorithms
-
1. 荚伟,高仲仪.基于遗传算法的软件结构测试数据生成技术研究. 北京航空航天大学学报,1997,23(1):36~40
点击查看大图
计量
- 文章访问数: 2341
- HTML全文浏览量: 44
- PDF下载量: 1035
- 被引次数: 0