question: @ Override protected Node removeFromFrontier ( ) { Node result = frontier . remove ( ) ; frontierNodeLookup . remove ( result . getState ( ) ) ; explored . add ( result . getState ( ) ) ; updateMetrics ( frontier . size ( ) ) ; return result ; }
target:  Removes the node at the head of the frontier, adds the corresponding state to the explored set, and returns the node.