Re: JESS: inference / rule engine

2010-05-01 Thread Michael Smith
A lot of inference engines also go by the moniker reasoner now, especially when discussed in the context of the semantic web. These reasoners' inferences are often, at least in part, processed by techniques different than those used by the more typical rule- production system methods

Re: JESS: assert issue

2009-09-04 Thread Michael Smith
Lucia, Though in this case it's not a significant problem, be cautious with the use of conditionals on the right hand side. I've seen a few too many well-intentioned newbies write rules that have more logic on the RHS than on the LHS! If one ends up authoring nested conditionals on the

Re: JESS: Rule LHS patterns and multiple hierarchical object models.

2009-09-04 Thread Michael Smith
(defrule rule (Customer (address ?address)) (PO (customer ?customer)) (test (= 0 (str-compare ((?customer getAddress) getStreet) (? address getStreet = (bind ?name (?customer getName)) (bind ?addr (?address getStreet)) (printout t ?addr : customer: ?name crlf)

Re: JESS: NRL for Jess

2008-06-25 Thread Michael Smith
On Jun 24, 2008, at 8:53 AM, Peter Lin wrote: I'm going to disagree that NRL is an anti-pattern. OK. It all depends on how you use it. Agreed... though since I having a tendency to be querolous, I'd change how to when. I've successfully designed and built custom business rule

Re: JESS: NRL for Jess

2008-06-24 Thread Michael Smith
On Jun 23, 2008, at 6:40 PM, Barry Flower wrote: I am interested in using Natural Rules Language for business rules definition and was wondering if anyone is aware of an implementation (commercial or otherwise) that can be used with Jess. I understand that it would need to be constrained for a

Re: JESS: Classes and Interfaces

2008-05-18 Thread Michael Smith
Russ, Double-check the extends optional phrase in your defclass calls (and/or from-class declarations in deftemplate declarations). - Mike Smith On May 18, 2008, at 8:03 AM, [EMAIL PROTECTED] wrote: I have the following class structure IInterface1 getName() IInterface2 extends

Re: JESS: Jess OR/AND question

2007-04-10 Thread Michael Smith
On Apr 9, 2007, at 9:13 PM, Jim Yates wrote: I'm trying to build a rule that matches shadow facts using a Java Bean template. I want to build the following logic: (facilitycode != 'K' and faciltiycode!= 'S' and (amt 7500 or amt -7500 or rvu -500 or rvu 500) ) OR ( (quantity -10 or

Re: JESS: Missing Query Results + [combining strings and symbols]

2007-03-11 Thread Michael Smith
On 3/7/07, Ernest Friedman-Hill [EMAIL PROTECTED] wrote: I put it to a vote on the list about 18 months ago whether Jess ought to relax this restriction, and very surprisingly, most people who responded wanted to keep things the way they are; perhaps they misunderstood the question. I may have

Re: JESS: Shadow facts, property updates, repetitive activation activity

2007-02-09 Thread Michael Smith
-specific . On Feb 8, 2007, at 11:39 PM, Michael Smith wrote: Hey, In Jess, is there any way to trigger a change to a single property and have only those rules that reference the property be affected? To unsubscribe, send

Re: JESS: command line behaviour on OSX

2006-11-15 Thread Michael Smith
FWIW, I find an Emacs shell a wonderful, feature-rich way to interact with a command line to Jess (or CLIPS). Once in the command line this is essentially independent of the platform OS. But familiarity with Emacs would be required for this to be a good solution. - Mike On Nov 15, 2006,