Fixed time output
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user