Example #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)));
 }
Example #2
0
 public static void SetConjOrbitGenomePool(this Dictionary <string, object> dictionary,
                                           GenomePool <GenomeSorterConjOrbit> sorterGenomeDimerPool)
 {
     dictionary[kConjOrbitGenomePool] = sorterGenomeDimerPool;
 }
Example #3
0
 public static void SetBestConjOrbitGenomePool(this Dictionary <string, object> dictionary,
                                               GenomePool <GenomeSorterConjOrbit> bestConjOrbitGenomePool)
 {
     dictionary[kBestConjOrbitGenomePool] = bestConjOrbitGenomePool;
 }
Example #4
0
 public static void SetBestDimerGenomePool(
     this Dictionary <string, object> dictionary,
     GenomePool <GenomeSorterStageDimer> bestDimerGenomePool)
 {
     dictionary[kBestDimerGenomePool] = bestDimerGenomePool;
 }