Adding comments
This commit is contained in:
@ -20,6 +20,10 @@ class gene:
|
|||||||
def get_value(self):
|
def get_value(self):
|
||||||
return self.value
|
return self.value
|
||||||
|
|
||||||
|
# Should the gene creation of the genes veriation be
|
||||||
|
# included in the gene class or should the use just
|
||||||
|
# assign value to the gene and we move on?
|
||||||
|
|
||||||
class chromosome:
|
class chromosome:
|
||||||
# Defults
|
# Defults
|
||||||
# fitness = double, genes = [gene,gene,gene,etc]
|
# fitness = double, genes = [gene,gene,gene,etc]
|
||||||
@ -40,6 +44,3 @@ class population:
|
|||||||
|
|
||||||
class ga:
|
class ga:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user