Added initilization functionality. Add necessary method to access,genes,chromosomes and the population.

This commit is contained in:
Daniel Wilczak
2020-09-20 18:46:02 -04:00
parent 67b41cb3b7
commit 97af1af852
5 changed files with 65 additions and 9 deletions

View File

@ -0,0 +1,3 @@
class initialization:
def initialize(self, population_size, chromosome_length,user_defined_function):
return [] # return an array of chromosomes for generation 0