;;; -*- Syntax: Common-lisp; Mode: LISP; -*- ;;;; Water on stove example ;;;; File name: ex2.lsp ;;;; modified: Thursday, February 14, 2008 at 11:28:13 by Ken Forbus ;;; Copyright (c) 1993, Kenneth D. Forbus, Northwestern University, ;;; and Johan de Kleer, the Xerox Corporation. ;;; All rights reserved. ;;; See the file legal.txt for a paragraph stating scope of permission ;;; and disclaimer of warranty. The above copyright notice and that ;;; paragraph must be included in any separate copy of this file. (in-package :cl-user) (rassert! (substance water)) (rassert! (phase liquid)) (rassert! (phase gas)) (rassert! (container can)) (rassert! (temperature-source stove)) (rassert! (heat-path burner)) (rassert! (heat-connection burner stove (c-s water gas can))) (rassert! (heat-connection burner stove (c-s water liquid can)))