Parcourir la source

删除 'GeneticAlgorithm.py'

李子树 il y a 6 ans
Parent
commit
10a03710aa
1 fichiers modifiés avec 0 ajouts et 19 suppressions
  1. 0 19
      GeneticAlgorithm.py

+ 0 - 19
GeneticAlgorithm.py

@@ -1,19 +0,0 @@
-from Include.Gantt1 import my_gantt
-from Include.Individual import GeneticAlgorithm
-
-
-class MyGeneticAlgorithm(GeneticAlgorithm):
-
-    def run(self):
-        self.initialize_connect_class()
-        self.get_boys()
-        self.get_fitness()
-        for _ in range(self.generate_number):
-            print(self.boys.iloc[0, -1])
-            if len(self.duplicate_removal(self.boys['name'].values.tolist())) < 2:
-                break
-            self.selection()
-            self.crossover()
-            self.get_fitness()
-        self.marshaling_result()
-        my_gantt()