(self, g)
Copy the current GenomeBase to 'g'

      :param g: the destination genome

      .. note:: If you are planning to create a new chromosome representation, you
                **must** implement this method on your class.
Copy the current GenomeBase to 'g'
Copy the current GenomeBase to g
def copy(self, g):
      """ Copy the current GenomeBase to 'g'

      :param g: the destination genome

      .. note:: If you are planning to create a new chromosome representation, you
                **must** implement this method on your class.

      """
      g.score = self.score
      g.fitness = self.fitness
      g.evaluator = self.evaluator
      g.initializator = self.initializator
      g.mutator = self.mutator
      g.crossover = self.crossover
      g.internalParams = self.internalParams
def copy ( self , g ) : g . score = self . score g . fitness = self . fitness g . evaluator = self . evaluator g . initializator = self . initializator g . mutator = self . mutator g . crossover = self . crossover g . internalParams = self . internalParams