Logo Search packages:      
Sourcecode: python-biopython version File versions  Download package

def Bio::GA::Organism::Organism::copy (   self  ) 

Return a copy of the organism.

This makes it easy to duplicate an organism before changing it.

Definition at line 130 of file Organism.py.

00130                   :
        """Return a copy of the organism.

        This makes it easy to duplicate an organism before changing it.
        """
        copy_genome = self.genome[:]
        return Organism(copy_genome, self._fitness_calc, self.fitness)

    def recalculate_fitness(self):


Generated by  Doxygen 1.6.0   Back to index