AntiPattern
Equality and Cost Semantics
broken-equals-hash-and-g-semantics
Pathfinding and geometry code fails because node identity and g-cost semantics are inconsistent—equals/hashCode mismatches and incorrect g definitions prevent correct closed-set pruning, causing inefficient or incorrect shortest-path and vertex/intersection graph construction.