Artificial Intelligence: Foundations of Computational Agents, 2nd Edition
This modern AI textbook book is published by Cambridge University Press. The complete text is available here with permission of Cambridge University Press. Please consider buying the book. This online version is free to view and download for personal use only. The text is not for re-distribution, re-sale or use in derivative works. ©David L. Poole and Alan K. Mackworth 2017. Please create links to this site rather than redistributing parts.
There are many online resources including AIspace, with interactive tools of many algorithms, AIPython.org, with Python implementations of many of the algorithms, slides for teaching in class, and online learning resources.