(load "aima.lisp") (aima-load 'name)Where name is the name of a system you want to work with. The systems that are currently defined are:
utilities (Automatically loaded when you load aima.lisp) agents (Part I: Agents and Environments) search (Part II: Problem Solving and Search) logic (Part III: Logic, Inference, and Knowledge Rep.) planning (Part IV: Planning and Acting) uncertainty (PART V: Uncertain Knowledge and Reasoning) learning (Part VI: Learning) language (Part VII, Chapters 22-23: Natural Language) all (All the above, except utilities)Not all Lisps are clever enough to figure out when to load binary (compiled) files, and when to load lisp (source) files. If your Lisp has trouble with this, and you want to load the binary files, then instead of (aima-load 'name) you can do (aima-load-binary 'name)
(test 'agents)
This will print a transcript of various operations from the agent code. Besides printing the transcript, it also counts up the number of unexpected answers, and returns the total at the end. If this is not 0, it means something is wrong. The most recent run of (test 'all) on a Sparc-10 took about a minute total. But it may take longer if you have a slower machine, if you have not compiled the files first, or if you just have bad luck: many of the tests involve generating random environments, and there is a chance that a particularly difficult environment will be generated, and the agents will perform slowly on it. If you have to wait more than a minute or two for any one environment, you might want to abort out of the test and try again.
AIMA Home | Contact Russell & Norvig | What's new | Changed 10/02/2001 |