Chapter Seven: Genetic algorithm
Abstract
The focus of this chapter is on a well-known population-based metaheuristic algorithm, called the genetic algorithm (GA). Since the search behavior of GA is inspired by the natural selection theory of Darwin, examples are first given to show the solution structure of GA, that is, what the terms population, chromosome, gene, and fitness mean in GA. Other examples are then given to illustrate the major search operators and the search behavior of GA in the landscape of the solution space. The basic idea and pseudocode of GA are also given to explain the key ideas of fitness values, selection, crossover, and mutation. The source code and simulation results of GA are also presented to show how to use it for ...
Get Handbook of Metaheuristic Algorithms now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.