4 Evolutionary algorithms

This chapter covers

  • The inspiration for evolutionary algorithms

  • Solving problems with evolutionary algorithms

  • Understanding the life cycle of a genetic algorithm

  • Designing and developing a genetic algorithm to solve optimization problems

What is evolution?

When we look at the world around us, we sometimes wonder how everything we see and interact with came to be. One way to explain this is the theory of evolution. The theory of evolution suggests that the living organisms that we see today did not suddenly exist that way, but evolved through millions of years of subtle changes, with each generation adapting to its environment. This implies that the physical and cognitive characteristics of each living organism ...

Get Grokking Artificial Intelligence 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.