Force AStarNode subclasses to override hashCode and equals