Cga(int inputs, int outputs) { m_Population = new List <CGenome> (); for (int i = 0; i < _params.NumGenomesToSpawn; i++) { m_Population.Add(new CGenome(nextGenomeID++, inputs, outputs)); } m_PopSize = m_Population.Count; // Create simple genome used for innovations database CGenome genome = new CGenome(1, inputs, outputs); m_vecSpecies = new List <CSpecies> (); innovation = new CInnovation(genome.GetLinks(), genome.GetNeurons()); vecSplits = new List <SplitDepth> (); // Create the network depth lookup table. Split(0, 1, 0); }