JESS: Eclipse Jess editor crash

2010-10-05 Thread John Everett
I'm finding that opening a Jess .clp file that has errors (e.g., it doesn't find a (requires*.) file, or there is no template defined for a rule trigger) causes Eclipse to freeze. This only happens if I use the Jess editor-I can open the .clp file in Eclipse by right clicking on it and choosing to

RE: JESS: representation of deftemplate from deffacts

2010-11-22 Thread John Everett
Debasish, If you want to create an explicit template, it should look like this: (deftemplate MAIN::opposite-of (slot entity-A) (slot entity-B)) Then the facts would be declared as: (opposite-of (entity-A shore-1) (entity-B shore-2)) However, you'd also have to assert

RE: JESS: Get fact's slot value

2010-11-22 Thread John Everett
Jess is a rule language whose basic mechanism is pattern matching, which binds pattern variables to constants. If you have a fact of the form (person (name Fred) (age 22)) then you can issue a query of the form (person (name ?name) (age ?age)) and it will bind ?name to Fred and ?age to 22 (if

RE: JESS: Jess Rule Question - need help!

2011-01-06 Thread John Everett
Derek, The year is young, but this may be a contender for Most Open Ended Question of 2011. As a first step, you'll need to define your Jess data structures. Assuming that you'll be pulling employee data from an RDBMS, you'll probably want to start with the relevant schema from there. Then

RE: JESS: Is Jess still alive, and Jess In Action

2011-05-31 Thread John Everett
I’m using Jess on a large DARPA project, and I find it to be a mature and stable platform. The mailing list goes quiet but responds quickly when people ask questions. The Jess language is a subset of LISP, which is an obvious touchpoint for religious debates, so if you’re looking for a “reason”

RE: JESS: On the Performance of Logical Retractions

2011-06-12 Thread John Everett
If truth maintenance is a central part of your architecture, I recommend Building Problem Solvers, by Kenneth Forbus and Johan de Kleer. It's on Amazon: http://www.amazon.com/Building-Problem-Solvers-Artificial-Intelligence/dp/02 62061570/ref=sr_1_1?ie=UTF8qid=1307815663sr=8-1 and you can find

RE: JESS: Using JESS for representing game states

2011-10-10 Thread John Everett
In this situation, you might want to investigate the use of the logical conditional element to link dependent objects in your game state. Taking the example from the Jess manual on page 42, you assert that (water-flowing) is dependent on (faucet-open). Then if you assert or retract (faucet-open)