On Nov 27, 2006, at 7:11 PM, Skeptic 2000 wrote:
ShadowFactClass x1 = new ShadowFactClass();
ShadowFactClass x2 = new ShadowFactClass();
ShadowFactClass x3 = new ShadowFactClass();
rete.add(x1); rete.add(x2); rete.add(x3)
.....
Somewhere else in the code I woule like to remove from the working
memory of one those three shadow facts, what would be the proper
way ? (in this place, I have access both to the rete engine and the
x1,x2,x3 variables)
The opposite of "Rete.add()" is "Rete.undefinstance()".
There ought to be a "remove()", don't you think?
---------------------------------------------------------
Ernest Friedman-Hill
Advanced Software Research Phone: (925) 294-2154
Sandia National Labs FAX: (925) 294-2234
PO Box 969, MS 9012 [EMAIL PROTECTED]
Livermore, CA 94550 http://www.jessrules.com
--------------------------------------------------------------------
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]
--------------------------------------------------------------------