I'm implement bidirectional A* search for pacman food search problem using the Berkeley AI Materials. Can we apply the bidirectional A* search to this problem as it has multiple goal states (multiple food)?
I tried to implement a new problem in the searchAgents.py. The state of the forward search is <position_of_pacman, list_of_food_left_in_the_maze> and the state of the backward search is <food_position, list_of_food_visited>. When the forward search and backward search meet at the same node (, list_of_food_left_in_the_maze = list_of_food_visited), it terminates the search. Does it sound good?