Thanks. After I replied I realised that defining an "ad-hoc" template was just as possible. Doh!

Thanks again,

Simon

On Tue, 18 May 2004 15:02:45 -0700 (PDT), <[EMAIL PROTECTED]> wrote:

I think Simon Harris wrote:
Is that for performans reasons or primarily understandability?

I'm building an app where the Java code constructs a very simple domain
model that is asserted as a set of facts. The end user is then able to
write ad-hoc rules, infering relationships that the app could never know
in advance.


Both. If you need to represent ad-hoc relationships, you could use a template like

(deftemplate relation (slot name) (slot subject) (slot object))

or, if you must,

(deftemplate relation (slot name) (multislot objects))

---------------------------------------------------------
Ernest Friedman-Hill
Science and Engineering PSEs        Phone: (925) 294-2154
Sandia National Labs                FAX:   (925) 294-2234
PO Box 969, MS 9012                 [EMAIL PROTECTED]
Livermore, CA 94550         http://herzberg.ca.sandia.gov

--------------------------------------------------------------------
To unsubscribe, send the words 'unsubscribe jess-users [EMAIL PROTECTED]'
in the BODY of a message to [EMAIL PROTECTED], NOT to the list
(use your own address!) List problems? Notify [EMAIL PROTECTED]
--------------------------------------------------------------------






-- Simon Harris RedHill Consulting, Pty. Ltd. 12/55-67 Batman Street West Melbourne VIC 3003 +61 417 505 611 http://www.redhillconsulting.com.au

--------------------------------------------------------------------
To unsubscribe, send the words 'unsubscribe jess-users [EMAIL PROTECTED]'
in the BODY of a message to [EMAIL PROTECTED], NOT to the list
(use your own address!) List problems? Notify [EMAIL PROTECTED]
--------------------------------------------------------------------



Reply via email to