diff --git a/TMI-practicum/Program.cs b/TMI-practicum/Program.cs index 2c9ff53..7a4034d 100644 --- a/TMI-practicum/Program.cs +++ b/TMI-practicum/Program.cs @@ -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); }