public static void GenerateAllBaselines()
 {
     Parallel.For(1, 25, i =>
     {
         var result  = RunSchedulerAlgorithm(i, copyToClipboard: false);
         result.Name = "Baseline";
         BaselineStore.Save(i, result);
     });
 }
        private static void SaveAlgorithmResult(AlgorithmResult algorithmResult)
        {
            var originalName = algorithmResult.Name;

            algorithmResult.Name = "Baseline";
            BaselineStore.Save(InstanceNumber, algorithmResult);
            algorithmResult.Name = originalName;
            Console.WriteLine("Baseline saved");
        }
        private static void DisplayBaseline(AlgorithmResult algorithmResult)
        {
            if (!_displayingBase)
            {
                var baseline = BaselineStore.Get(InstanceNumber);
                Console.Clear();
                PrintResultToConsole(baseline);
            }
            else
            {
                Console.Clear();
                PrintResultToConsole(algorithmResult);
            }

            _displayingBase = !_displayingBase;
        }