Removed commented Code
Added Logging to see progress
This commit is contained in:
parent
f84aa82186
commit
a5f272dfb9
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user