Genetic Algorithms in C++

Anthony Morast
8 min readOct 7, 2023

Much of this post is based on Machine Learning: An Algorithmic Perspective by Stephen Marsland. This book offers easy-to-follow and understand introductions to practically every field of machine learning including deep learning, evolutionary learning, and reinforcement learning. A good resource for a much more in-depth introduction to genetic algorithms can be found in An Introduction to Genetic Algorithms (Complex Adaptive Systems) by Melanie Mitchell.

Genetic algorithms (GAs) are powerful optimization techniques beneficial when dealing with large datasets or optimization problems…

--

--

Anthony Morast

I am a professional software engineer and an amateur mathematician. My main interests are programming, machine learning, fluid dynamics, and a few others.