social_learning.SocialExperiment.SavePopulation C# (CSharp) Method

SavePopulation() public method

Save a population of genomes to an XmlWriter.
public SavePopulation ( XmlWriter xw, IList genomeList ) : void
xw System.Xml.XmlWriter
genomeList IList
return void
        public void SavePopulation(XmlWriter xw, IList<NeatGenome> genomeList)
        {
            // Writing node IDs is not necessary for NEAT.
            NeatGenomeXmlIO.WriteComplete(xw, genomeList, false);
        }