Sample Code From the Text

PROLOG

6th Ed

5th Ed.

4th Ed.

3rd Ed.

Abstract Data Types Ch. 3 15.2 14.2 9.2
Farmer-Wolf-Goat-Cabbage Solution Ch. 4 15.3 14.3 9.3
Depth-First Search Ch. 4 15.4.1 14.4.1 9.4.1
Breadth-First Search Ch. 4 15.4.2 14.4.2 9.4.2
Best-First Search Ch. 4 15.4.3 14.4.3 9.4.3
PROLOG Planner Ch. 6 15.5 14.5 9.5
ExShell (Rule-Based Expert System Shell)

Simple ExShell

Full ExShell (Revised for 6th Ed)

Automotive Diagnostic System in ExShell

Ch. 6 15.7.2 14.7.2 9.7.2
Version Space Search

General To Specific

General To Specific Sample Run

Specific To General

Specific To General Sample Run

Candidate Elimination

Candidate Elimination Sample Run

Ch. 7 15.8.2 14.8.1 13.2
Explanation-Based Learning

Prolog EBG

Prolog EBG Goals

Cups Example #1

Cups Example #2

Suicide Example

Sample Run

Ch. 7 15.8.3 14.8.3 13.5.2

Natural Language Processing in Prolog (coming soon)

Ch. 6      
Dynamic Programming and the Earley Parser (zip file) Ch. 9      

LISP

6th Ed.

5th Ed.

4th Ed.

3rd Ed.

Depth-First Search

Ch. 13, 14

16.4.1 15.4.1 10.4.1
Breadth-First Search #1

Ch. 13, 14

16.4.1 15.4.1 10.4.1
Breadth-First Search #2

Ch. 13, 14

16.4.1 15.4.1 10.4.1
Best-First Search

Ch. 13, 14

16.4.2 15.4.2 10.4.2
Farmer-Wolf-Goat-Cabbage Solution   16.2 15.2 10.2
Farmer-Wolf-Goat-Cabbage Rules Only   16.2 15.2 10.2
Logic Shell

Logic Shell

Assertions

Stream Functions

Trees Logic Base

Unification

Ch. 16, 17

16.8 15.8 10.8
Newton's Method   Ex 16.1 Ex 15.1 Ex 10.1
Semantic Network

Ch. 14

16.11 15.11.1 10.11.1
Unification

Ch. 17

16.6 15.6 10.6
Thermostat Simulation (CLOS)

Ch. 18

16.12.4 15.12.4 10.12.5
Expert System Shell

Expert System Shell

Stream Functions

Trees Logic Base

Unification

Ch.17

16.10 15.10 10.10
ID3 Supervised Learning Algorithm

ID3 Algorithm

Credit Assessment Example

Ch.19

16.13 15.13 13.3

 

JAVA (6th edition only)
(all zip files)

WordGuess
Ch 22 - Simple Search
Ch 24 - Unification Problem Solver
Ch 25 Expert System Shell
Ch 27 - ID3
Ch 30 - Early parser
 

Purchase Online

Addison-Wesley

Barnes & Noble

Amazon

Inside The Book

Table of Contents (PDF)

Preface (PDF)