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