-
I'm a prospective user of SHOP3, but at the moment I'm stuck at trying to execute an example. #!/usr/local/bin/sbcl --script (use-package :shop3) ; Load a domain and a problem defn.: The result is SHOP3 version 3.4.0 Original SHOP2 code Copyright (C) 2002 University of Maryland. This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY Defining domain ROVER... Defining problem ROVERPROB1234 ... Backtrace for: #<SB-THREAD:THREAD "main thread" RUNNING {1001580143}> So I must be misunderstanding something basic. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
@ko56 You have run afoul of the Common Lisp package (namespace) feature. Your script is (implicitly) in the
That is why you cannot see the problem: it is in the Here's a revised script. Try this using:
(this assumes that you have checked out SHOP from Git, rather than using Quicklisp)
|
Beta Was this translation helpful? Give feedback.
-
Briefly (because this would require a full CL tutorial):
Probably the best thing for you to do will be to have a look at Practical Common Lisp and/or Paradigms of AI Programming to learn your way around Common Lisp. |
Beta Was this translation helpful? Give feedback.
@ko56 You have run afoul of the Common Lisp package (namespace) feature.
Your script is (implicitly) in the
common-lisp-user
package. Looking at the head of the file "p01.lisp" inexamples/rovers/strips/
we see:That is why you cannot see the problem: it is in the
shop2-rovers
package.Here's a revised script. Try this using:
(this assumes that you have checked out SHOP from Git, rather than using Quicklisp)