Example #1
0
 def __init__(self):
     self.First_Gen = Genetic.Chromosomes_Offset()
     self.Gen_S = Genetic.Gen_Selection()
     self.Gen_C = Genetic.CrossOver()
     self.Gen_M = Genetic.Mutation()
     self.PathG = './CrS/'
     self.PathS = './Score/score.txt'
     self.PathE = './E_Cons/E_Cons.txt'
     pass
Example #2
0
 def __init__(self):
     self.First_Gen = Genetic.Chromosomes_Offset()
     self.Gen_S = Genetic.Gen_Selection()
     self.Gen_C = Genetic.CrossOver()
     self.Gen_M = Genetic.Mutation()
     self.Gen_List = self.Get_Gene()
     self.score = self.Get_Score()
     self.E_Cons = self.Get_ECons()
     self.F_Cons = 10