基于层邻近度和分支距离函数的最优个体选择算法

Q1 Decision Sciences
An Yingjian, La Ping
{"title":"基于层邻近度和分支距离函数的最优个体选择算法","authors":"An Yingjian,&nbsp;La Ping","doi":"10.1007/s40745-025-00600-4","DOIUrl":null,"url":null,"abstract":"<div><p>Automatic generation of test cases using heuristic methods is a hot research topic nowadays. Although its advantages are obvious, it is slightly insufficient in the selection of optimal individuals. Aiming at the existing problems in the evaluation and selection of the optimal individual, this paper proposes a test case evaluation algorithm based on the comprehensive analysis of the characteristics of layer proximity and branch distance function, which is a joint structure of “layer proximity and branch distance function”. The basic idea of this algorithm is that when selecting pilot individuals in the evolutionary process, we first select the individuals with high proximity between the actual execution path and the target path, and then select the individuals with the smallest branching distances among these individuals, so as to obtain the individuals with the optimal piloting ability. Experiments show that the proposed algorithm can quickly find the optimal test cases, especially for the test case generation of multi-layer nested programs.</p></div>","PeriodicalId":36280,"journal":{"name":"Annals of Data Science","volume":"12 3","pages":"1041 - 1054"},"PeriodicalIF":0.0000,"publicationDate":"2025-05-04","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Optimal Individual Selection Algorithm Based on Layer Proximity and Branch Distance Functions\",\"authors\":\"An Yingjian,&nbsp;La Ping\",\"doi\":\"10.1007/s40745-025-00600-4\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"<div><p>Automatic generation of test cases using heuristic methods is a hot research topic nowadays. Although its advantages are obvious, it is slightly insufficient in the selection of optimal individuals. Aiming at the existing problems in the evaluation and selection of the optimal individual, this paper proposes a test case evaluation algorithm based on the comprehensive analysis of the characteristics of layer proximity and branch distance function, which is a joint structure of “layer proximity and branch distance function”. The basic idea of this algorithm is that when selecting pilot individuals in the evolutionary process, we first select the individuals with high proximity between the actual execution path and the target path, and then select the individuals with the smallest branching distances among these individuals, so as to obtain the individuals with the optimal piloting ability. Experiments show that the proposed algorithm can quickly find the optimal test cases, especially for the test case generation of multi-layer nested programs.</p></div>\",\"PeriodicalId\":36280,\"journal\":{\"name\":\"Annals of Data Science\",\"volume\":\"12 3\",\"pages\":\"1041 - 1054\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2025-05-04\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Annals of Data Science\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://link.springer.com/article/10.1007/s40745-025-00600-4\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"Q1\",\"JCRName\":\"Decision Sciences\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Annals of Data Science","FirstCategoryId":"1085","ListUrlMain":"https://link.springer.com/article/10.1007/s40745-025-00600-4","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"Decision Sciences","Score":null,"Total":0}
引用次数: 0

摘要

利用启发式方法自动生成测试用例是当前的研究热点。虽然其优势明显,但在最优个体的选择上略显不足。针对最优个体评价与选择中存在的问题,本文提出了一种基于层接近度和分支距离函数特征综合分析的测试用例评价算法,该算法是“层接近度和分支距离函数”的联合结构。该算法的基本思想是,在进化过程中选择飞行员个体时,首先选择实际执行路径与目标路径接近度高的个体,然后选择这些个体之间分支距离最小的个体,从而获得飞行能力最优的个体。实验表明,该算法能够快速找到最优的测试用例,尤其适用于多层嵌套程序的测试用例生成。
本文章由计算机程序翻译,如有差异,请以英文原文为准。

Optimal Individual Selection Algorithm Based on Layer Proximity and Branch Distance Functions

Optimal Individual Selection Algorithm Based on Layer Proximity and Branch Distance Functions

Automatic generation of test cases using heuristic methods is a hot research topic nowadays. Although its advantages are obvious, it is slightly insufficient in the selection of optimal individuals. Aiming at the existing problems in the evaluation and selection of the optimal individual, this paper proposes a test case evaluation algorithm based on the comprehensive analysis of the characteristics of layer proximity and branch distance function, which is a joint structure of “layer proximity and branch distance function”. The basic idea of this algorithm is that when selecting pilot individuals in the evolutionary process, we first select the individuals with high proximity between the actual execution path and the target path, and then select the individuals with the smallest branching distances among these individuals, so as to obtain the individuals with the optimal piloting ability. Experiments show that the proposed algorithm can quickly find the optimal test cases, especially for the test case generation of multi-layer nested programs.

求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
Annals of Data Science
Annals of Data Science Decision Sciences-Statistics, Probability and Uncertainty
CiteScore
6.50
自引率
0.00%
发文量
93
期刊介绍: Annals of Data Science (ADS) publishes cutting-edge research findings, experimental results and case studies of data science. Although Data Science is regarded as an interdisciplinary field of using mathematics, statistics, databases, data mining, high-performance computing, knowledge management and virtualization to discover knowledge from Big Data, it should have its own scientific contents, such as axioms, laws and rules, which are fundamentally important for experts in different fields to explore their own interests from Big Data. ADS encourages contributors to address such challenging problems at this exchange platform. At present, how to discover knowledge from heterogeneous data under Big Data environment needs to be addressed.     ADS is a series of volumes edited by either the editorial office or guest editors. Guest editors will be responsible for call-for-papers and the review process for high-quality contributions in their volumes.
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信