pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/winpython/GeneticAlgorithmPython/commit/497365a21c68b23e84478748c6b328e5e9ebad0b

sorigen="anonymous" media="all" rel="stylesheet" href="https://github.githubassets.com/assets/global-10539fe0effdbc74.css" /> Update pygad.py · winpython/GeneticAlgorithmPython@497365a · GitHub
Skip to content

Commit 497365a

Browse files
authored
Update pygad.py
1 parent a659cc2 commit 497365a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

pygad.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -230,8 +230,8 @@ def __init__(self,
230230

231231
# Even such this parameter is declared in the class header, it is assigned to the object here to access it after saving the object.
232232
self.best_solutions_fitness = [] # A list holding the fitness value of the best solution for each generation.
233-
234-
self.best_solution_generation = -1 # The generation number at which the best solution is reached. It is only assigned the generation number after the `run()` method completes. Otherwise, its value is -1.
233+
234+
self.best_solution_generation = -1 # The generation number at which the best fitness value is reached. It is only assigned the generation number after the `run()` method completes. Otherwise, its value is -1.
235235

236236
def initialize_population(self, low, high):
237237
"""

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy