2. [4pts) There are two kinds of food pellets, each with a different color (red and blue). Pacman
is only interested in tasting the two different kinds of food: the game ends when he has eaten
1 red pellet and 1 blue pellet (though Pacman may eat more than one of each pellet). Pacman
has four actions: moving up, down, left, or right, and does not have a "stay" action. There are
K red pellets and K blue pellets, and the dimensions of the board are N by M.
R
B
B
R
B
R
K = 3, N = 4, M = 4
For each of the following heuristics, indicate (yes/no) whether or not it is admissible.
Heuristic
Admissible?
Yes / No
The number of pellets remaining
The maximum Manhattan distance between any two remaining pellets
The minimum Manhattan distance between any two remaining pellets
of opposite colors
The smallest Manhattan distance to any remaining pellet