Skip to content

implementation of an evolutionary algorithm for function minimization and a testing and result visualization environment

Notifications You must be signed in to change notification settings

kklassa/evolutionary-algorithm

Repository files navigation

evolutionary-algorithm

evolutionary algorithm implementation in python

evolutionary.py contains the algoritm implementation in three versions:

  • evolutionary returns only the best fitness found and the individual for which it is reached
  • evolutionary_for_plots returns an array containing points representing individuals with best fitness values in each iteration
  • evolutionary_plot_all returns an array of all fitness values that were reached by the algorythm paired with the corresponding iterations

simulation.py has access to all files essential for solving minimization problems with the evolutionary algorithm as well as visualising the results in various ways

test_evolutionary.py contains simple unit tests for the algorithm

time_evolutionary.py contains a functions which can be used to measure the execution time of the algorithm

utils module contains filies with simple utility functions used throughout the project

3D best individual per iteration graph

generated using evolutionary_for_plots

best

2D fitness per iteration graph

generated using evolutionary_plot_all

fitness

About

implementation of an evolutionary algorithm for function minimization and a testing and result visualization environment

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages