The greedy best-first search method expands the state that is closest to the goal based on the heuristic.