Пример #1
0
 public GaDualSorter(GenomePool <GenomeSorterDual> genomePoolDualSorter,
                     SortablePool sortablePool,
                     IRando randy)
 {
     SortablePool         = sortablePool;
     GenomePoolDualSorter = genomePoolDualSorter;
     SorterPool           = new SorterPool(id: Guid.NewGuid(),
                                           sorters: GenomePoolDualSorter.SelectMany(
                                               gds => gds.MakePhenotypes(randy, 1)));
 }
Пример #2
0
 public static void SetConjOrbitGenomePool(this Dictionary <string, object> dictionary,
                                           GenomePool <GenomeSorterConjOrbit> sorterGenomeDimerPool)
 {
     dictionary[kConjOrbitGenomePool] = sorterGenomeDimerPool;
 }
Пример #3
0
 public static void SetBestConjOrbitGenomePool(this Dictionary <string, object> dictionary,
                                               GenomePool <GenomeSorterConjOrbit> bestConjOrbitGenomePool)
 {
     dictionary[kBestConjOrbitGenomePool] = bestConjOrbitGenomePool;
 }
Пример #4
0
 public static void SetBestDimerGenomePool(
     this Dictionary <string, object> dictionary,
     GenomePool <GenomeSorterStageDimer> bestDimerGenomePool)
 {
     dictionary[kBestDimerGenomePool] = bestDimerGenomePool;
 }