Use "shadow" facts.
see http://www.jessrules.com/jesswiki/view?FactsVsShadowFacts
On Nov 4, 2011, at 1:08 PM, Hunter McMillen wrote:
> Hi everyone,
>
> I am trying to assert to Jess that an object exists when I encounter a new
> object in my Java program. Right now I am using a template to mi
Thanks for your quick reply. After I manage to get my Java object into
Jess, can I assert it as a fact? Then have rules lhs match on the existence
of some object with attributes x, y, and z?
Hunter
On Fri, Nov 4, 2011 at 4:01 PM, Friedman-Hill, Ernest wrote:
> **
> There are (obviously) two opti
That's what Rete.add() and Rete.definstance() do. If that's the goal, all of
this other stuff is superfluous -- just call add() or definstance() from Java.
From: owner-jess-us...@sandia.gov [mailto:owner-jess-us...@sandia.gov] On
Behalf Of Hunter McMillen
Sent: F
I daresay, not all of us use the same terms for the same things ;-)
I'll use "Pojo" for a Java object; it contains data in named fields. I'll
use "Fact" for an entitiy that has been inserted into Jess' Working Memory;
it contains data in named slots. And then, there is a "shadow fact", which
is a