From cb01272eaae304d56f9af3746a582a2f9f168257 Mon Sep 17 00:00:00 2001
From: HugoFara Save the population to a json file. file_path (str) – population (list of dna) – verbose (bool) – data_descriptors (dict) – Any additional value you want to save for the current generation.geneticoptimizer
+
+
+
+
+
-
+
ChangelogSemantic Versioning.
Multiprocessing is here! The genetic optimization can now be run in parallel! -Performances are easily improved by 30 % using 4 processes.
We now save data using JSON! Slow computer users, you can relax and stop +computing when you want.
The sidebar in the documentation a bit more useful.
Not having tqdm will cause an exception.
Corrected the example, the genetic optimization is now properly fixed but +slower.
native support for PyGAD is no longer present.
evolutionnary_optimization
(replaced by evolutionary_optimization
)
evolutionnary_optimization
(replaced by evolutionary_optimization
).
Data saved in the old txt format are no longer readable (were they?)
The full swarm representation in polar graph has been repaired in
docs/examples/strider.py
.
This package was lacking real documentation, it is fixed in this version.
-Sphinx documentation!
Website hosted on GitHub pages, check @@ -343,8 +358,8 @@
Expanded README with the quick links section.
Tests moved from leggedsnake/tests
to tests/
.
Examples moved from leggedsnake/examples/
to docs/examples/
.
A lot of outdated code in the leggedsnake/examples/strider.py
Changelog URL was broken in setup.cfg
.
The step
function execution speed has been increased by 25% when
return_res
is True
! Small performance improvement when return_res
@@ -373,8 +388,8 @@
We now require pylinkage>=0.4.0.
Files in leggedsnake/examples/
were not included in the PyPi package.
The example was incompatible with pylinkage 0.4.0.
The example file examples/strider.py
is now shipped with the Python
package.
setup.cfg
metadata
Code vulnerabilities automatic checks
Example videos in examples/images/
Manny reforms in code style, to make the dynamic part naming conventions consistent with Pymunk.
Images in the README.md
!
Started walktrough demo in README.md
Automatic release to PyPi
requirement.txt
was absent due to .gitignore
misconfiguration.
setup.cfg
was not PyPi compatible. Removed mail (use GitHub!), we now
explicitly say that README.md
is markdown (PyPi is conservative)
Basic version, supporting Genetic Algorithm optimization, but with various problems.
-CODE_OF_CONDUCT.md
to help community.
LICENSE
MIT License.