We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e3d21ca commit 2addcd2Copy full SHA for 2addcd2
GeneticAlgoLibrary.py
@@ -86,7 +86,7 @@ def getMutatedPath(self, initPath, mutateFactor):
86
87
def mutationFunction(self,df):
88
"""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."""
+ corresponding mutated solution and the cost."""
90
#random number for mutate factor
91
elite_few_df = df
92
p = int(round(elite_few_df.shape[0]*self.percentage_to_mutate,0))
0 commit comments