public static ISorterCompParaPoolWorkflow Make( int seed, SwitchableGroupGenomeType switchableGroupGenomeType, int keyCount, int keyPairCount, int switchableGroupSize, SorterCompParaPoolParams sorterCompParaPoolParams ) { var randy = Rando.Fast(seed); return(new SorterCompParaPoolWorkflowImpl ( sorterLayer: SorterLayer.Create ( seed: randy.NextInt(), genomeCount: sorterCompParaPoolParams.PopulationSize, keyCount: keyCount, keyPairCount: keyPairCount ), switchableGroupLayer: SwitchableLayer.Create ( seed: randy.NextInt(), switchableGroupGenomeType: switchableGroupGenomeType, genomeCount: sorterCompParaPoolParams.SwitchableLayerStartingGenomeCount, keyCount: keyCount, groupSize: switchableGroupSize ), sorterCompParaPoolParams: sorterCompParaPoolParams, generation: 0 )); }
public static IScpWorkflow Make( int seed, int keyCount, int keyPairCount, IScpParams scpParams ) { var randy = Rando.Fast(seed); return(new ScpWorkflowImpl ( sorterLayer0: null, sorterLayer1: SorterLayer.Create ( seed: randy.NextInt(), genomeCount: scpParams.PopulationCount, keyCount: keyCount, keyPairCount: keyPairCount ), scpParams: scpParams, generation: 0, report: string.Empty )); }