Skip to content

Commit

Permalink
Merge pull request #231 from ahmedfgad/master
Browse files Browse the repository at this point in the history
Keep branch up to date
  • Loading branch information
ahmedfgad authored Sep 8, 2023
2 parents d50f118 + 759ed4e commit aa9b2b0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/source/pygad.rst
Original file line number Diff line number Diff line change
Expand Up @@ -920,7 +920,9 @@ It accepts the following parameters:
- ``pop_fitness=None``: An optional parameter that accepts a list of
the fitness values of the solutions in the population. If ``None``,
then the ``cal_pop_fitness()`` method is called to calculate the
fitness values of the population.
fitness values of the ``self.population``. Use
``ga_instance.last_generation_fitness`` to use latest fitness value
and skip recalculation of the population fitness.

It returns the following:

Expand Down

0 comments on commit aa9b2b0

Please sign in to comment.