Exemple #1
0
 public override IChromosome <AnyGene <TAllele> > NewInstance()
 {
     return(AnyChromosome.Of(_supplier, _alleleValidator, _alleleSeqValidator, Length));
 }
 protected override Factory <IChromosome <AnyGene <int> > > Factory()
 {
     return(() => AnyChromosome.Of(RandomRegistry.GetRandom().NextInt, 10));
 }