(self)
Genome Constructor
Genome Constructor
Genome Constructor
def __init__(self):
      """Genome Constructor"""
      self.evaluator = FunctionSlot("Evaluator")
      self.initializator = FunctionSlot("Initializator")
      self.mutator = FunctionSlot("Mutator")
      self.crossover = FunctionSlot("Crossover")

      self.internalParams = {}
      self.score = 0.0
      self.fitness = 0.0
def __init__ ( self ) : self . evaluator = FunctionSlot ( "Evaluator" ) self . initializator = FunctionSlot ( "Initializator" ) self . mutator = FunctionSlot ( "Mutator" ) self . crossover = FunctionSlot ( "Crossover" ) self . internalParams = { } self . score = 0.0 self . fitness = 0.0