The instantiation of certain search agents (AStarCornersAgent for instance) bypasses the parent constructor. As a result, the logs are misleading, because they are printed when the parent class is instantiated with the default values.
# python3 -m pacai.bin.pacman --layout mediumCorners --pacman AStarCornersAgent --null-graphics
INFO - 2022-01-15 21:56:04,233 - [SearchAgent] using problem type pacai.core.search.position.PositionSearchProblem.
INFO - 2022-01-15 21:56:04,233 - [SearchAgent] using function pacai.student.search.depthFirstSearch.
The instantiation of certain search agents (
AStarCornersAgent
for instance) bypasses the parent constructor. As a result, the logs are misleading, because they are printed when the parent class is instantiated with the default values.