JESS: agenda change in Jess 7.0 and custom Strategies

2006-12-02 Thread Jonathan Sewall
I've found that the method below behaves differently in Jess 7.0b7 and the formal v7.0 release. In the formal release, the Activations provided by the Iterator in 2 successive calls to Rete.listActivations() are different objects, even if nothing has happened between the calls. The change

Re: JESS: agenda change in Jess 7.0 and custom Strategies

2006-12-02 Thread Ernest Friedman-Hill
A good technical question! The method listActivations() is not used internally by Jess; it's just provided for use by tools of various kinds. It's a fairly expensive method because it makes a copy of the whole agenda, and iterating over this copy does a full sort. The copy is necessary;