Skip to content

Commit a846a26

Browse files
committed
Fix adaptive mutation desc
1 parent 2daae49 commit a846a26

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

docs/source/pygad.rst

+4-2
Original file line numberDiff line numberDiff line change
@@ -927,8 +927,10 @@ shuffles their order randomly.
927927
``adaptive_mutation()``
928928
~~~~~~~~~~~~~~~~~~~~~~~
929929

930-
Applies the adaptive mutation which selects a subset of genes and
931-
shuffles their order randomly.
930+
Applies the adaptive mutation which selects the number/percentage of
931+
genes to mutate based on the solution's fitness. If the fitness is high
932+
(i.e. solution quality is high), then small number/percentage of genes
933+
is mutated compared to a solution with a low fitness.
932934

933935
.. _bestsolution:
934936

0 commit comments

Comments
 (0)