1
0

remove error

This commit is contained in:
2019-05-22 15:15:14 +02:00
parent 74c2c63115
commit 01e0a40316
2 changed files with 5 additions and 6 deletions

View File

@@ -10,8 +10,8 @@ namespace TMI_practicum
{
public static void Main(string[] args)
{
CheckAlgo();
//GetChartData();
//CheckAlgo();
GetChartData();
if (args.Length < 1)
{
Console.WriteLine("Please enter a file.");
@@ -62,8 +62,8 @@ namespace TMI_practicum
Console.WriteLine("start check {0}", i++);
var circles = CreateRandomCircles(5);
var correctSol = SimpleAlgorithm.Solve(circles);
var solved = SweepLineAlgorithm.Solve(circles);
var correctSol = SweepLineAlgorithm.Solve(circles);
var solved = SweepLineEffAlgorithm.Solve(circles);
foreach (var intersection in correctSol)
{
@@ -122,7 +122,7 @@ namespace TMI_practicum
for (int i = 0; i < amount; i++)
{
circles.Add(new Circle(Math.Round(rnd.NextDouble() * 1.0, 15), Math.Round(rnd.NextDouble() * 1.0, 15),
Math.Round(rnd.NextDouble() * 0.90 + 0.05, 15)));
Math.Round(rnd.NextDouble() * (1.0/amount), 15)));
}
return circles;