Skip to content

Genomes added to self.organisms in __init__ of Population #2

@GoogleCodeExporter

Description

@GoogleCodeExporter
Hi,
In the init-method of Population Genomes gets created, but I would think that 
they should be passed to Organism before the gets added to self.organisms.
Is this correct, is this a bug?

         for i in range(size):
            #This seems to be more correct to instanciate Organisms here
            self.organisms.append(Organism(0.0, Genome(i, numInputs, numOutputs, random.randint(0, maxHidden), maxHidden, recurrent, linkProbability)), 1)
            #self.organisms.append(Genome(i, numInputs, numOutputs, random.randint(0, maxHidden), maxHidden, recurrent, linkProbability))

Original issue reported on code.google.com by ian.nott...@gmail.com on 21 Aug 2010 at 6:11

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions