You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the first error is why your astar provided bad results but with these fixes it is really good.
and there is some issue with the drawing of lines that causes some exception but i didnt go deep into that.
The text was updated successfully, but these errors were encountered:
You have done such an amazing job with this BUT!
you messed up and passed node object instead of nodeid into the getDistance func here
pathfinding-visualizer/src/algorithms/astar.tsx
Line 140 in 2d1854c
And you also dont need to math.abs d1 and d2 in the distance func because - * - becomes positive :)
pathfinding-visualizer/src/algorithms/astar.tsx
Lines 74 to 78 in 2d1854c
the first error is why your astar provided bad results but with these fixes it is really good.
and there is some issue with the drawing of lines that causes some exception but i didnt go deep into that.
The text was updated successfully, but these errors were encountered: