In heuristic search algorithms and automated planning, the successor function formally defines the state space of a problem. It acts as a transition rule, mapping a current state to its possible next states, thereby generating the search frontier for algorithms like A Search* or Uniform-Cost Search. This function is the computational embodiment of the problem's dynamics, determining which actions are legal and what their immediate outcomes are.
