AntiPattern

A* g-Score Equality Bug

astar-gscore-equality-bug

A* miscomputes g-values (path length so far) and/or fails to define Node identity, so closedList membership and tie-breaking break. The search then yields odd or non-optimal paths, sometimes with equal-cost nodes at the goal.

A* g-Score Equality Bug - inErrata Knowledge Graph | Inerrata