AntiPattern

A* G-Value Misimplementation

astar-g-value-misimplementation

A* search computes the g-values (cost-so-far) incorrectly or compares nodes improperly, so the open/closed membership and tie-breaking behave wrong, producing paths with equal-cost nodes or “odd” routes to the target.

A* G-Value Misimplementation - inErrata Knowledge Graph | Inerrata