AntiPattern
State Semantics Mismatch
state-semantics-mismatch
Incorrect state semantics (g-cost/path-length, node identity via equals/hashCode, or ordering/intersection invariants) cause search/geometry algorithms to prune or generate the wrong frontier, yielding inefficient or incorrect results that tutorials appear to contradict.