Neat-Ex v1.3.0 Neat.PopulationManagement

Summary

Functions

Given Neat, species that have not improved for opts.dropoff_age time steps are dropped

Given Neat, only the best opts.survival_ratio portion of the species is kept (rounding up to the nearest number of members)

Given Neat, the representatives of the species are randomly re-chosen from the members

Given Neat, the best neural network is saved as neat.best as an {ann, fitness} tuple. If the population is empty, the previously best ANN is saved as the new seed

Functions

kill_dead_species(neat)

Given Neat, species that have not improved for opts.dropoff_age time steps are dropped.

kill_lessers(neat)

Given Neat, only the best opts.survival_ratio portion of the species is kept (rounding up to the nearest number of members).

members_kill_lessers(members, opts)
randomize_rep(neat)

Given Neat, the representatives of the species are randomly re-chosen from the members.

store_best_ann(neat)

Given Neat, the best neural network is saved as neat.best as an {ann, fitness} tuple. If the population is empty, the previously best ANN is saved as the new seed.