I think Matthew Hutchinson wrote:
> Just a conceptual question... since starting with Jess, it always seemed to
> me generally you have the rules established first, then load in facts which
> in turn trigger these rules. No problems there. But is it "proper" to
> consider having the facts already in memory and *then* adding rules which I
> know will trigger - basically a sort of "query on the data" mentality? Is
> this a bad concept?

Jess will work either way; you can even add rules to a running
program. But in general, Jess is designed with the "rules, then facts"
paradigm in mind. For a given collection of facts and rules, defining
the rules first, then populating working memory will be faster than
doing thing the other way around -- but both ways are correct and will
work fine.

Ernest Friedman-Hill  
Advanced Software Research          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]

Reply via email to