Вы находитесь на странице: 1из 1

This directory contains demonstration programs for CS3310, Artificial

Intelligence as shown in the video for the online course. Some are improved
versions from the diskette sold for Rowe, Artificial Intelligence Through
Prolog, Prentice-Hall, 1988; others were written specifically for the course.
The Prolog programs are in source code, and the Java programs are in both
source code and class files. No guarantees are offered about these programs,
but they seem to work OK in Gnu Prolog. Report bugs to ncrowe@nps.edu.
Neil Rowe wrote all the programs. The files are, in the order in which they
are needed in the course (and the order in which they appear in video demos):
--nps2005.pl, example facts and rules for the NPS hierarchy (for online
course parts 3 and 4)
--glights.pl, the traffic lights program (with fact
files lightstest1.pl, lightstest2.pl, and lightstest3.pl) (part 4)
--math.pl, simple arithmetic programs (part 5)
--weekdays.pl, a simple demonstration list fact (part 5)
--lists.pl, various useful programs for linked lists (part 5)
--schedule.pl, the scheduling program and variants on it (part 5)
--sudoku.pl, the Su Doku puzzle-solving program (load with nrelax.pl
and sudokuex2.pl) (part 5)
--gappli.pl, the backward-chaining version of the appliance program (load
this with askif.pl) (part 6)
--happli.pl, the hybrid-chaining version of the appliance program (load
this with askif.pl (part 6)
--happli.class: Java program for hybrid chaining (part 7)
--fappli.pl, the backward-chaining version of the appliance program (load this
with gforward.pl, menu.pl, and askif.pl) (part 6)
--declat.pl, the program that creates decision tree from forward-chaining
rules and runs it (load with fappli.pl) (part 6)
--carfix.pl, the car-repair expert system (load with askif.pl and diagnosis.pl)
(part 6)
--gfshoot.pl: simple agent-based shooter simulation on a grid (part 6)
--tellie.pl, the simple probablity expert system (load with askif.pl and
probcomb.pl) (part 7)
--AirDef.java: Java program for simulation of air-defense track analysis
(use with giweights.out and gi100.out, the latter as command-line argument) (par
t 7)
--TPageScan.java: Java program for the the first step in data mining of
captions from the World Wide WEb (part 7)
--montereyex.pl: The routes to San Francisco example (part 8)
--gdepth.pl: Depth-first search machinery (part 8)
--gastar.pl: A* search machinery (part 8)
--astar.jave: A* search in Java for predefined search graphs (load either
montereyex.out or hack10.pl)(part 8)
--gmeansend.pl: Means-ends search (load with flashlight.pl) (part 9)
--gmetutor.pl: Means-ends tutoring (load with gmefire.pl) (part 9)
--reversi_twoply.pl: The reversi game (part 9)
The rest of the MARIE-4 captions processing and the MARIE-2 parser are not
included here since they are big and the latter requires a different Prolog
interpreter; contact Prof. Rowe if you are interested in installing them.

Вам также может понравиться