Exercises for the book Artificial Intelligence: A Modern Approach, online at aimacode.github.io/aima-exercises, with the answers of the community.
The 4th edition has no exercises in print: it cites them by names such as Exercise 6.NARY, which the search box of the site accepts. The exercises are arranged by the 26 chapters of the 3rd edition, as in the LaTeX sources, and also by the 28 chapters of the 4th edition (/4e/), with the list of the names that the 4th edition cites.
The site is built by GitHub Pages from master; to build it locally, with the same github-pages gem, install Ruby and Bundler and run
bundle install
bundle exec jekyll servethen open http://localhost:4000/aima-exercises/.
latex/: the LaTeX sources of the exercises, one file per chapter of the 3rd edition, with the US and the international variants.markdown/<n>-<chapter>/: one chapter of the 3rd edition, with its pageindex.mdand one folderexercises/ex_<k>/per exercise:question.md(the text, included as HTML),index.md(its page) andanswers/communityanswer.md(the answer, when there is one).markdown/4e-*.md,_includes/toc4e.html,_data/: the pages of the 4th edition, generated.figures/: the figures of the exercises;crossref.json: the numbers that the references of the exercises show (figures, sections, pages, exercises, papers).tools/:chapter_pages.pykeeps the exercise pages, the chapter pages, the question bank and the exercise references consistent with the folders andlatex/;fourth_edition.pybuilds the pages of the 4th edition fromtools/names4e.json. Run both, in this order, after adding or moving an exercise.
Answers and fixes are welcome as pull requests: an answer goes in answers/communityanswer.md of its exercise, in Markdown with LaTeX math between $ signs.
aima-python · aima-java · aima-csharp · aima-scala · aima-julia · aima-lisp · aima-javascript · aima-pseudocode · aima-data · aima-glossary