/// <summary> /// creates an individual with a preexisting summary can be provided. /// </summary> /// <param name="genome"></param> public Individual(SpeciesSummary summary) { Summary = summary; }
/// <summary> /// Updates this individual's summary with the data from the finished genome wrapper (after all configuration has been completed) /// </summary> /// <param name="genomeWrapper">GenomeWrapper that has been used to configure the individual</param> public void Finalise(GenomeWrapper genomeWrapper) { Summary = new SpeciesSummary(genomeWrapper); }
/// <summary> /// creates an incomplete individual (before the configuration has been run) /// Run Finalise() once the individual has been configured. /// </summary> /// <param name="genome"></param> public Individual(string genome) { Summary = new SpeciesSummary(genome); }