public static ISorterCompParaPoolWorkflowTracker Make() { return(new SorterCompParaPoolWorkflowTrackerImpl( sorterPoolStats: GenomePoolStats.Make <ISorterGenome>(), switchablePoolStats: GenomePoolStats.Make <ISwitchableGroupGenome>() )); }
public static ISorterCompParaPoolWorkflowTracker Trim(this ISorterCompParaPoolWorkflowTracker tracker, int count) { return(new SorterCompParaPoolWorkflowTrackerImpl( sorterPoolStats: GenomePoolStats.Make(tracker.SorterPoolStats.GenomeStatses.OrderBy(t => ((ISorterEval)t.ReferenceResult).SwitchUseCount).Take(count)), switchablePoolStats: GenomePoolStats.Make(tracker.SwitchablePoolStats.GenomeStatses.OrderBy(t => t.ReferenceResult).Take(count)) )); }
public static IScpWorkflowTracker Make() { return(new ScpWorkflowTrackerImpl( sorterPoolStats: GenomePoolStats.Make <ISorterGenome>() )); }