Computational Intelligence

A Logical Approach

Online Code

This file contains code from Poole, Mackworth and Goebel, Computational Intelligence: A Logical Approach. All code is copyright © Poole, Mackworth and Goebel, and Oxford University Press, 1997. All Rights reserved. This code comes with absolutely no warranty.

All of this code runs in standard Prolog, such as Sicstus Prolog, which is available on UBC machines as "sicstus" or SWI prolog, that is available for free for Unix and Windows systems.

Either save the code to a file and consult it into Prolog, or cut and paste it into a Prolog window after using '[user].'. See Section B.2 in Appendix B.

You can get the whole code distribution as code.tar.gz (a gzipped tar file).

Chapter 2

Chapter 3

The following code is not described in the text, but are exercises:

Chapter 4

Chapter 5

Chapter 6

Chapter 7

Chapter 8

Chapter 9

Code: Examples:

Chapter 10

Code: Example Networks:

Chapter 11

Chapter 12

Appendix B

Appendix C

The following code sometimes assumes we use the standard built-in for this book. There are all described in Appendix B.
Last updated 13 September 1996, David Poole,