示例#1
0
        public void SolutionAnother()
        {
            var solution = new SolutionBest();

            foreach (var matrix in Data)
            {
                solution.MaxSumSubmatrix(matrix, 0);
            }
        }
示例#2
0
        public void CheckBest()
        {
            var timer    = Stopwatch.StartNew();
            var solution = new SolutionBest();

            timer.Start();
            foreach (var matrix in Data)
            {
                var output = solution.MaxSumSubmatrix(matrix, 0);
                _outputHelper.WriteLine($"Output = {output}");
            }
            timer.Stop();
            _outputHelper.WriteLine($"Duration = {timer.ElapsedTicks}");
        }