8000 Merge pull request #231 from ahmedfgad/master · madprog/GeneticAlgorithmPython@aa9b2b0 · GitHub
[go: up one dir, main page]

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit aa9b2b0

Browse files
authored
Merge pull request ahmedfgad#231 from ahmedfgad/master
Keep branch up to date
2 parents d50f118 + 759ed4e commit aa9b2b0

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docs/source/pygad.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -920,7 +920,9 @@ It accepts the following parameters:
920920
- ``pop_fitness=None``: An optional parameter that accepts a list of
921921
the fitness values of the solutions in the population. If ``None``,
922922
then the ``cal_pop_fitness()`` method is called to calculate the
923-
fitness values of the population.
923+
fitness values of the ``self.population``. Use
924+
``ga_instance.last_generation_fitness`` to use latest fitness value
925+
and skip recalculation of the population fitness.
924926

925927
It returns the following:
926928

0 commit comments

Comments
 (0)
0