There is a small error on page 159.
The text says:
[…] you’ll decrease the population size to 5
But the code shows the population size being decreased to 2.
tiger =
Genetic.run(TigerSimulation,
population_size: 2,
selecion_rate: 1.0,
mutation_rate: 0.0,
statistics: %{average_tiger: &TigerSimulation.average_tiger/1}
)