"Defrelations" are called "ordered facts" in Jess. In Jess, you don't
have to (and in fact, cannot) declare them explicitly; they're
declared implicitly on first use. So a defrelation like

  (defrelation location (?object ?place))

would be implicitly created when a fact like

  (location monkey t5-7)

was asserted or a rule like

  (defrule monkey-location
    (location monkey ?where)
    ...

was defined. More often in Jess you use "unordered facts" and in this
case you do have to define a relation (called a "deftemplate.")

  (deftemplate location (slot object) (slot place))

  (defrule monkey-location
    (location (object monkey) (place ?where))
    ...




I think Lou Farho wrote:
[Charset iso-8859-1 unsupported, filtering to ASCII...]
> Has anyone moved from Haley to JESS?
> We are interested in finding out what issues there might be?
> We are particularly interested in converting "defrelation" to the equivalent
> of JESS?
> 
> 
> Thanks!
> 




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

---------------------------------------------------------------------
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