GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - suissa/aima-javascript: Javascript implementation of algorithms (and visualizations) from Russell And Norvig's "Artificial Intelligence - A Modern Approach"

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

64 Commits
64 Commits

Folders and files

NameName
Last commit message
Last commit date
.publish
.publish
 
 
.vscode
.vscode
 
 
1-Introduction
1-Introduction
 
 
10-Classical-Planning
10-Classical-Planning
 
 
11-Planning-And-Acting-In-The-Real-World
11-Planning-And-Acting-In-The-Real-World
 
 
12-Knowledge-Representation
12-Knowledge-Representation
 
 
13-Quantifying-Uncertainity
13-Quantifying-Uncertainity
 
 
14-Probabilistic-Reasoning
14-Probabilistic-Reasoning
 
 
15-Probabilistic-Reasoning-Over-Time
15-Probabilistic-Reasoning-Over-Time
 
 
16-Making-Simple-Decisions
16-Making-Simple-Decisions
 
 
17-Making-Complex-Decisions
17-Making-Complex-Decisions
 
 
18-Learning-From-Examples
18-Learning-From-Examples
 
 
19-Knowledge-In-Learning
19-Knowledge-In-Learning
 
 
2-Intelligent-Agents
2-Intelligent-Agents
 
 
20-Learning-Probabilistic-Models
20-Learning-Probabilistic-Models
 
 
21-Reinforcement-Learning
21-Reinforcement-Learning
 
 
22-Natural-Language-Processing
22-Natural-Language-Processing
 
 
23-Natural-Language-For-Communication
23-Natural-Language-For-Communication
 
 
24-Perception
24-Perception
 
 
25-Robotics
25-Robotics
 
 
26-Philosophical-Foundations
26-Philosophical-Foundations
 
 
27-AI-The-Present-And-Future
27-AI-The-Present-And-Future
 
 
3-Solving-Problems-By-Searching
3-Solving-Problems-By-Searching
 
 
4-Beyond-Classical-Search
4-Beyond-Classical-Search
 
 
5-Adversarial-Search
5-Adversarial-Search
 
 
6-Constraint-Satisfaction-Problems
6-Constraint-Satisfaction-Problems
 
 
7-Logical-Agents
7-Logical-Agents
 
 
8-First-Order-Logic
8-First-Order-Logic
 
 
9-Inference-In-First-Order-Logic
9-Inference-In-First-Order-Logic
 
 
Chapter 5/minimax
Chapter 5/minimax
 
 
Search
Search
 
 
css
css
 
 
images
images
 
 
lib
lib
 
 
scripts
scripts
 
 
src
src
 
 
.babelrc
.babelrc
 
 
.gitignore
.gitignore
 
 
.travis.yml
.travis.yml
 
 
CONTRIBUTION.md
CONTRIBUTION.md
 
 
Gulpfile.babel.js
Gulpfile.babel.js
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
config.js
config.js
 
 
header.html
header.html
 
 
index.html
index.html
 
 
jsconfig.json
jsconfig.json
 
 
node.js
node.js
 
 
package.json
package.json
 
 
problem.js
problem.js
 
 

Repository files navigation

aima-javascript

Javascript implementation of algorithms (and visualizations) from Russell And Norvig's "Artificial Intelligence - A Modern Approach"

Click here to go to the static hosted page

Some Javascript visualizations that I admire, and would like to see similar kinds of things here:

  • Red Blob Games: A* Tutorial
  • Qiao Search Demo
  • Nicky Case: Simulating the World
  • Rafael Matsunaga: Genetic Car Thingy
  • Lee Yiyuan: 2048 Bot

Step by Step to Try

  1. Install Prerequisites.
  2. Doing Installation.
  3. Deploying locally.
  4. Running Local Server.

Prerequisites

  • Node.js version 0.10.0 or newer
  • Install jspm, eslint, gulp globally
npm install -g jspm
npm install -g eslint
npm install -g gulp

Installation

To run locally for development.

  1. run npm install
  2. run jspm install

Deploying

To bundle the web app :

  • Deploy Locally :
  1. Serve build folder locally.
  2. Run gulp bundle.
  3. Run gulp copy to bundle the app into build folder.
  4. Web app in build folder.
  • Deploy to gh-pages :
  1. Run gulp bundle.
  2. Run gulp copy.
  3. Deploy it to gh-pages by running gulp deploy.

Running

Start a local server, e.g. python -m SimpleHTTPServer 80 for Python 2.x or python -m http.server 80 for Python 3.x

Then visit http://localhost using your browser.

Note : Run local server on build directory after deploying locally.

Build

This directory contains the minified source code for production deployment.

Structure

The repository has the following structure:

  • There is a directory for each chapter
  • Each algorithm will have a algorithm.js where the main logic is to be implemented.
  • Each algorithm will also have a c_algorithm.js which will have the javascript visualization.
  • The index.html will include both the scripts.
  • The c_algorithm.js will use AJAX to load algorithm.js into index.html as plain text for side-by-side reference of the reader.
  • The index.html will also include main.js which contains minified version of global scripts like jQuery, angular etc
  • See the index.html of chapter 2 for reference.

Contribution

Put the name of the chapter you want to contribute in the Division of work thread. Please squash all commits into a single commit. Also see CONTRIBUTION.md for know the working status.

About

Javascript implementation of algorithms (and visualizations) from Russell And Norvig's "Artificial Intelligence - A Modern Approach"

Resources

Readme
MIT license
Activity

Stars

0 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.