Exemplo n.º 1
0
 public static GenomePool <GenomeSorterStageDimer> ToRecombCoarse(
     this IEnumerable <GenomeSorterStageDimer> genomeDimers, IRando rando)
 {
     return(genomeDimers.ToRandomPairs(rando)
            .SelectMany(rp => rando.RecombineCoarse(rp.Item1, rp.Item2).Split())
            .ToGenomePoolStageDimer(Guid.NewGuid()));
 }