예제 #1
0
 protected override IEvolvable crossover(IEvolvable mate)
 {
     return(new Evolver(population, mate is Evolver ? Evolvable.Crossover((mate as Evolver).Evolvable) : Evolvable.Crossover(mate)));
 }
예제 #2
0
 protected override IEvolvable crossover(IEvolvable mate)
 {
     return(new FedEvolver((population as IndividualMutateAndCrossoverPopulation), mate is FedEvolver ? Evolvable.Crossover((mate as FedEvolver).Evolvable) : Evolvable.Crossover(mate), random));
 }