Re: JESS: POJOs as slot values - what can I learn from my mistake?

2008-11-05 Thread Ernest Friedman-Hill
On Nov 5, 2008, at 3:38 AM, Wolfgang Laun wrote: But the interesting question is: does this difference in behavior imply that there is some difference in efficiency between these matches? Yes, actually. The goal is that eventually Jess will transform all three of these into the exact same R

Re: JESS: A "proper" prolog interpreter?

2008-11-05 Thread Hal Hildebrand
No, I understand that. It's just that what I've currently done hasn't needed anything more than what JESS provides. I am taking a look at CHR again, and looking to see what's under the hood and what the capabilities are. On Nov 5, 2008, at 5:17 AM, Peter Van Weert wrote: Hal Hildebrand wrote:

Re: JESS: A "proper" prolog interpreter?

2008-11-05 Thread Peter Van Weert
Hal Hildebrand wrote: > I had tried to take a look at CHR early on in my current project, but > what I realized was that my particular problem wasn't so much handling > constraints Don't let the name fool you: CHR may have originally be designed to solely handler constraints, it has grown to a pow

JESS: POJOs as slot values - what can I learn from my mistake?

2008-11-05 Thread Wolfgang Laun
Below, I'm presenting a problem I ran into while setting up a demo example and explain my error. At the end, there is a question I'd like to have answered. (deftemplate State (slot id)(slot st (type OBJECT))) ;st values from my class at.laun.ex.StatusSet (reset) ;-) (assert (State (id 1)(st (new S