Example #1
0
        public static void MutateDelGene(Genome genome)
        {
            if (genome.Genes == null || genome.Genes.Count == 0)
            {
                return;
            }

            genome.RemoveGene(genome.Genes[Random.Range(0, genome.Genes.Count)]);
        }