avatarThe Pragmatic Programmers

Free AI web copilot to create summaries, insights and extended knowledge, download it at here

741

Abstract

sing brute-force search. Most importantly, you learned what genetic algorithms are and how to implement a basic genetic algorithm to solve the One-Max problem.</p><p id="909f">In the next section, you’ll take the genetic algorithm you created here and use it to start implementing a general framework that you can apply to numerous other problems.</p><p id="a9b8"><b>Footnotes</b></p><p id="f8a4"><a href="https://readmedium.com/initializing-the-population-ee4e22c9dee8">[4]</a> <a href="https://hexdocs.pm/elixir/Enum.html">https://hexdocs.pm/elixir/Enum.html</a></p><p id="7775">Copyright © 2021, The Pragmatic Bookshelf.</p><p id="8ad0"><i>👈 <a href="https://readmedium.com/adding-mutation-1644030ad55d">Adding Mutation</a> | <a href="htt

Options

ps://readmedium.com/table-of-contents-879fc8614df">TOC</a> | <a href="https://readmedium.com/chapter-2-breaking-down-genetic-algorithms-7bcdf1403cf2">Chapter 2 Breaking Down Genetic Algorithms</a> 👉</i></p><p id="d415"><i>Genetic Algorithms in Elixir by Sean Moriarity can be purchased in other book formats <a href="https://pragprog.com/titles/smgaelixir">directly from the Pragmatic Programmers</a>. If you notice a code error or formatting mistake, please let us know <a href="https://readmedium.com/how-to-report-errata-4e164674347a">here</a> so that we can fix it.</i></p><figure id="355e"><img src="https://cdn-images-1.readmedium.com/v2/resize:fit:800/1*U2E2a23SuM4520w9CUXSWw.jpeg"><figcaption></figcaption></figure></article></body>

What You Learned

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

👈 Adding Mutation | TOC | Chapter 2 Breaking Down Genetic Algorithms 👉

In this chapter, you learned about informed search and why it’s superior to brute-force search for finding solutions to difficult problems. You also learned about the types of problems, like finding an optimal shipping route between cities, that are nearly impossible to solve using brute-force search. Most importantly, you learned what genetic algorithms are and how to implement a basic genetic algorithm to solve the One-Max problem.

In the next section, you’ll take the genetic algorithm you created here and use it to start implementing a general framework that you can apply to numerous other problems.

Footnotes

[4] https://hexdocs.pm/elixir/Enum.html

Copyright © 2021, The Pragmatic Bookshelf.

👈 Adding Mutation | TOC | Chapter 2 Breaking Down Genetic Algorithms 👉

Genetic Algorithms in Elixir by Sean Moriarity can be purchased in other book formats directly from the Pragmatic Programmers. If you notice a code error or formatting mistake, please let us know here so that we can fix it.

Smgaelixir
Recommended from ReadMedium