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