1
0

Fixed time output

This commit is contained in:
2019-05-16 08:44:54 +02:00
parent cea7188d55
commit 00b6f44912

View File

@@ -38,13 +38,14 @@ namespace TMI_practicum
solved = SweepLineAlgorithm.Solve(parsed.Item3);
break;
case 3:
throw new NotImplementedException();
solved = SweepLineEffAlgorithm.Solve(parsed.Item3);
break;
default:
throw new ArgumentException("Algorithm with id: " + parsed.Item1 + " is not defined!");
}
stopwatch.Stop();
WriteOutput(solved, stopwatch.ElapsedMilliseconds / 1000.0);
WriteOutput(solved, stopwatch.ElapsedMilliseconds);
}