Example #1
0
 public bool isCompatible(ref Genome genome)
 {
     return(Genome.distance(this.candidate, genome) <= Config.SPECIES_COMPATIBLE_DISTANCE);
 }
Example #2
0
        public void addGenome(ref Genome genome)
        {
            Species species = this.assignSpecies(ref genome);

            species.genomes.Add(genome);
        }