Removed commented Code

Added Logging to see progress
This commit is contained in:
glax 2023-05-15 13:16:41 +02:00
parent f84aa82186
commit a5f272dfb9

View File

@ -62,12 +62,9 @@ public class Pathfinder
{
firstFound = DateTime.Now - startCalc;
found = true;
Console.WriteLine($"First: {firstFound} Multiplied by {extraTime}: {firstFound.Multiply(extraTime)}");
}
maxGscore = gScore[goalNode];
/*
int removed = openSetfScore.Remove(gScore.Where(item => item.Value > maxGscore)
.ToDictionary(item => item.Key, item => item.Value).Keys);
Console.WriteLine($"Removed {removed}");*/
}
if (found && DateTime.Now - startCalc > firstFound.Multiply(extraTime))