Abstract
An advanced genetic algorithm is proposed to apply to test data generation for paths coverage. We advanced the classical genetic algorithm: divided the population into “families”, using the family-in-crossover in each family and PSO-crossover operator between two families which commixed the thought of particle swarm; Then, the fitness function is designed by consider of the difference degree and the degree of approximation, and the model of the advanced genetic algorithm applying to test data generation for paths coverage is given in detail. Finally, the proposed algorithm is applied to a benchmark program, and compared with previous algorithms; the results show that the proposed algorithm is obviously advantageous in the number of generations and time consumption.
Talk to us
Join us for a 30 min session where you can share your feedback and ask us any queries you have
Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.