Thanks a lot, this is exactly what i was looking for. I've just ordered the book: Jess in action and it should arrive shortly. I'm looking forward to it and i know it will be usefull.
Anyway, while i'm at it. I was wondering how JESS would be suitable for using Time as a fact. I believe jess is not able to respond 100% real-time, so i guess it's useless using time as a fact when testing for changes into seconds... I might be wrong though. 2008/5/6 Wolfgang Laun <[EMAIL PROTECTED]>: > This Jess snippet will get rid of all your rules and queries > > (bind ?iter ((engine) listDefrules)) > (while (?iter hasNext) > (bind ?rule (?iter next)) > (undefrule (?rule getName))) > > If the object returned from the iterator is instanceof Defrule/Defquery > it is a rule/query, so you could restrict deletions to either subclass. > > kr > Wolfgang > > > ivo jonker wrote: > > Hello everyone here at the JESS group! > > > > Is it possible to dispose all defined rules in the current jess > > session? (sort of the (reset) for rules.) > > > > The reason i'm asking is that i'd like to be able to refresh the > > rule-base during runtime of our application. > > > > Kind regards, > > Ivo Jonker > > > > > > > -------------------------------------------------------------------- > 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] > -------------------------------------------------------------------- > > >
