While working on updating the docstring in agents.py, I noticed some discrepancies within the code. There were some differences between the algorithms pdf being used as a guide, the hardcopy of the book I have, the table in the README.md file, and agents.py.
For instance:
TableDrivenAgent:
not defined in agents.py (TableDrivenAgentProgram, and TableDrivenVacuumAgent exist)
In figure 2.3 in the pdf
in figure 2.7 in my textbook copy
claimed to be implemented in the README.md table
Either I seem to be missing some obvious naming conventions/pseudocode sources, or this is a minor error that can be corrected. I have found similar issues regarding many other parts of agents.py, but am unsure if I am correct in assuming these to be errors. Can somebody please verify this, as I have already started working on it?
Direction.L + Direction.L gives Direction.L (fixed in #348)
Two-dimensional graphs are implemented without proper graphic display in agents.ipynb. (fixed in #350)
The wumpus world implementation currently seems spread out across agents.py and logic.py - this should probably be moved entirely to logic.py as it covers features not introduced in chapter2, which is the core focus of agents.py - although it would be good to discuss this more thoroughly with somebody before making the changes.
While working on updating the docstring in agents.py, I noticed some discrepancies within the code. There were some differences between the algorithms pdf being used as a guide, the hardcopy of the book I have, the table in the README.md file, and agents.py.
For instance: TableDrivenAgent:
Either I seem to be missing some obvious naming conventions/pseudocode sources, or this is a minor error that can be corrected. I have found similar issues regarding many other parts of agents.py, but am unsure if I am correct in assuming these to be errors. Can somebody please verify this, as I have already started working on it?