Releases: sfuhrm/geneticalgorithm
Releases · sfuhrm/geneticalgorithm
Maintenance release
- Updated plugins
- Updated deployment mechanism
- Updated GPG key
API redesign
Major API redesign:
AlgorithmDefinition
:AbstractHypothesis
is gone, everything is done now using a Java generic hypothesis type and an implementation of anAlgorithmDefinition
.GeneticAlgorithm
: EasierGeneticAlgorithm
instance creation using theGenericAlgorithmBuilder
.GeneticAlgorithm
: Added possibility to calculate a single generation.- All: More documentation including UML diagrams.
Compute Engines
Two different compute engines that are not visilble in the API for
- Single-threaded computation
- Multi-threaded computation
Minor maintenance release
Changes:
- Restructuring the example code to another Maven submodule.
- Example fitness function improved. Matches are rewarded, and mismatches are punished. Before only matches were rewarded. Example now uses the exponential function for the fitness to fix problems with negative fitness functions.
- Example is now a CLI program for more playing opportunities.
- Colors for the example so I can add a GIF animation to Github.
Performance and cleanup
- More documentation.
- Performance speedup by factor of 6 in real-world use-cases. The API is offering the fitness calculation in parallel threads using an ExecutorService.
- Hide the protected methods since they are not useful for the API user.
- Cleanup of the code.
- Migration to Github actions CI.
Minor maintenance release
- Updated dependencies
- Fixed coverage reporting for JDK > 9
- Switched CI from Travis CI to Circle CI
Minor maintenance release
- Update dependencies
- Introduce release profile in POM
- XML indent POM