How far a cell looks from the goal, from the column and row distances:
"manhattan" (dx + dy), "octile" (diagonal steps cost √2),
"chebyshev" (diagonal steps cost 1), "euclidean", or your own.
The search finds the cheapest path while the estimate never exceeds the
real cost; a higher one searches less and finds a path that may not be.
How far a cell looks from the goal, from the column and row distances:
"manhattan"(dx + dy),"octile"(diagonal steps cost √2),"chebyshev"(diagonal steps cost 1),"euclidean", or your own. The search finds the cheapest path while the estimate never exceeds the real cost; a higher one searches less and finds a path that may not be.