I think Orchard, Bob wrote: [Charset iso-8859-1 unsupported, filtering to ASCII...] > In the FuzzyJess extension I added that function ... getCurrentActivation() > I stored the current activation when aboutToFire is called and reset it when > > justFired is called. So when there is no executing rule it returns null. > Perhaps this can move to standard Jess in some compatible way and I can > remove these from FuzzyJess. Just a thought. See FuzzyRete.java. > > Bob >
Hmm, yes, compatibility. Thanks for pointing this out. FuzzyRete currently has a protected getCurrentActivation() method. If Rete suddenly sprouted a public one by that exact same name, FuzzyJess would no longer compile (you can't make an inherited method's protection more restrictive in Java!) So I suppose I should choose a slightly different name.... --------------------------------------------------------- Ernest Friedman-Hill Distributed Systems Research Phone: (925) 294-2154 Sandia National Labs FAX: (925) 294-2234 PO Box 969, MS 9012 [EMAIL PROTECTED] Livermore, CA 94550 http://herzberg.ca.sandia.gov -------------------------------------------------------------------- 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] --------------------------------------------------------------------