What’s in This Book

Genetic Algorithms in Elixir — by Sean Moriarity (6 / 101)

The Pragmatic Programmers
The Pragmatic Programmers

--

👈 Who This Book Is For | TOC | How to Use This Book 👉

In Chapter 1, Writing Your First Genetic Algorithm, you’ll learn the basics of the genetic algorithm by solving an introductory optimization problem. You’ll learn about the core concepts of a genetic algorithm by writing an Elixir script. By the end of the chapter, you’ll get to see a genetic algorithm in action, and you’ll begin to understand the kinds of problems best suited for using genetic algorithms.

In Chapter 2, Breaking Down Genetic Algorithms, you’ll dive deeper into the core concepts you learned about in the first chapter and you’ll use some of Elixir’s code constructs to turn the script you wrote in Chapter 1, Writing Your First Genetic Algorithm, into a reusable framework for solving optimization problems. You’ll learn more about each step in the evolutionary process of a genetic algorithm and, by the end of the chapter, have a barebones framework for using genetic algorithms.

In Chapter 3, Encoding Problems and Solutions, you’ll learn about how to use Elixir to represent optimization problems and solutions to optimization problems. You’ll learn about how genetic algorithms represent solutions and how you can use a variety of strategies to represent real-world solutions using code. Finally, you’ll create a program that learns how to spell in order to see how you can use Elixir behaviours to represent any optimization problem…

--

--

The Pragmatic Programmers
The Pragmatic Programmers

We create timely, practical books and learning resources on classic and cutting-edge topics to help you practice your craft and accelerate your career.