Re: JESS: Reproducing a reasoning path

2008-09-10 Thread Wolfgang Laun
Jess is capable of reflection on rules and other objects. But reflection delivers formal/structural information but no semantic insights. Are you prepared to add meta-facts that would, for instance, define the meaning of (uncleOf a b)? If so, it would be possible to produce the reasoning by invest

Re: JESS: Reproducing a reasoning path

2008-09-10 Thread Ernest Friedman-Hill
There's a method "Rete.getThisActivation()" that you can call while a rule is firing; it gives you a jess.Activation object, which in turn gives you the Defrule object and the jess.Token (i.e., the list of facts the rule fired on.) So from the right hand side of a rule, you can get all the

JESS: Reproducing a reasoning path

2008-09-10 Thread Broekstra, Jeen
Hi all, I am trying to develop a program where based on a set of facts and rules a user gets presented with a certain conclusion (I reckon that holds for almost any Jess program ;)), but also with the reasoning path that led to that conclusion. Essentially, I need to implement a "why"-functionali