8000 PyGAD 2.13.0 Documentation · SKakar13/GeneticAlgorithmPython@3391808 · GitHub
[go: up one dir, main page]

Skip to content

Commit 3391808

Browse files
authored
PyGAD 2.13.0 Documentation
1. A new `bool` parameter called `allow_duplicate_genes` is supported. If `True`, which is the default, then a solution/chromosome may have duplicate gene values. If `False`, then each gene will have a unique value in its solution. Check the [Prevent Duplicates in Gene Values](https://pygad.readthedocs.io/en/latest/README_pygad_ReadTheDocs.html#prevent-duplicates-in-gene-values) section for more details. 2. The `last_generation_fitness` is updated at the end of each generation not at the beginning. This keeps the fitness values of the most up-to-date population assigned to the `last_generation_fitness` parameter.
1 parent 1a8afc3 commit 3391808

File tree

4 files changed

+462
-160
lines changed

4 files changed

+462
-160
lines changed

0 commit comments

Comments
 (0)
0