Skip to content

Commit 2addcd2

Browse files
authored
Update GeneticAlgoLibrary.py
1 parent e3d21ca commit 2addcd2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

GeneticAlgoLibrary.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ def getMutatedPath(self, initPath, mutateFactor):
8686

8787
def mutationFunction(self,df):
8888
"""This function mutates n input routes where n is calculated based on the percentage_to_mutate and returns the
89-
corresponding solution generated and the cost."""
89+
corresponding mutated solution and the cost."""
9090
#random number for mutate factor
9191
elite_few_df = df
9292
p = int(round(elite_few_df.shape[0]*self.percentage_to_mutate,0))

0 commit comments

Comments
 (0)