Visualizing the Genealogy of the Tiger Evolution

Learn how to visualize the genealogy in your tiger evolution framework.

The tiger evolution framework

In the previous chapter, we fully integrated some basic tracking mechanisms into our genetic algorithm framework. These mechanisms allowed us to track statistics on age, fitness, and pretty much any other aspect of our genetic algorithm. We also created a mechanism for tracking the genealogy of your evolution.

Remember: Genealogy is a family tree of the entire evolution.

In this lesson, we’ll learn how to export the genealogy tree and visualize it using a third-party tool. To do this, first, start by opening tiger_simulation.exs. At the moment, it looks like this:

Get hands-on with 1200+ tech skills courses.