What does the code do when it finds the goal state?
The code reconstructs the solution using the visited states and shows it to the user.
The code...
What does the code do when it finds the goal state?
The code reconstructs the solution using the visited states and shows it to the user. The code stops the search and shows the current state to the user. The code continues the search to find a better solution.
Compartilhar