I set the cost to be 10 in the movements in up/down and left/right directions, and the cost to be 14 in diagonal directions. Their more precise values would be 1 and sqrt(2), but I think using integers 10 and 14 would be helpful for code running speed.
I set the cost to be 10 in the movements in up/down and left/right directions, and the cost to be 14 in diagonal directions. Their more precise values would be 1 and sqrt(2), but I think using integers 10 and 14 would be helpful for code running speed.
I set the cost to be 10 in the movements in up/down and left/right directions, and the cost to be 14 in diagonal directions. Their more precise values would be 1 and sqrt(2), but I think using integers 10 and 14 would be helpful for code running speed.
why do you take into the account the diagonal neighbors, but when estimating heuristic to the goal, you don't take diagonal paths?
How do you decide the parent of a cell?? Im confused about this. Why did you decide for B1 to have C1 as a parent and not C2?
its how you setup the node connections in the beginning. Usually you as the programmer will determine which nod is the parent
Shouldn't you take the closest node as a parent
The algorithm is explained but it missed on explaining the why part
Why is G 14 on block C2?
How did you calculate 24?
I set the cost to be 10 in the movements in up/down and left/right directions, and the cost to be 14 in diagonal directions. Their more precise values would be 1 and sqrt(2), but I think using integers 10 and 14 would be helpful for code running speed.
hi, your github link is no longer working
Hi do you have a email where i can contact ?