Skip to content
Amit Patel edited this page Apr 8, 2017 · 12 revisions

Welcome to the aima-javascript wiki!

  1. How to contribute
  2. Current list of chapters being worked on
  3. TO BE WRITTEN - how to structure visualization code

Chapter structure

  • Each chapter has a directory, e.g. 2-Intelligent-Agents/
  • Each directory has one index.html page that loads:
    • ../main.js for global scripts
    • ../header.html for the shared page header
    • jquery, two.js, etc. libraries needed for the visualizations in that chapter
    • algorithms implemented for that chapter, in files named xyz.js
    • visualizations implemented for that chapter, in files named c_xyz.js

See 2-Intelligent-Agents/index.html for an example.

There will also be visualizations that do not fit into the strict structure:

  • There may be concepts without pseudocode in the book.
  • There may be multiple concepts for an algorithm.
  • There may be concepts that do not correspond to a single algorithm.
  • There may be multiple web pages in a chapter.
Clone this wiki locally