Ernest Friedman-Hill wrote:

On Jul 24, 2007, at 12:17 PM, Wolfgang Laun wrote:

we see that the fact includes a slot "class", inherited from Object . Why is this not suppressed?


It never has been. Although I don't think the "class" property is *extremely* useful, I could certainly come up with ways to use it.

It spares you the hazzle of writing ((fact-slot-value ?f OBJECT) getClass): you can do (fact-slot-value ?f class).

OTOH, you can subclass jess.ReflectionClassResearcher, override getBeanProperties to filter out the "class" bean and set this as the Rete's class researcher.

kr
Wolfgang


--------------------------------------------------------------------
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