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; the

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 has

Re: JESS: A problem with accumulate

2006-12-02 Thread Ernest Friedman-Hill
On Dec 2, 2006, at 2:28 AM, Skeptic 2000 wrote: Hi, I have a serious problem with accumulate, I wanted to use it on some shadow facts, but I noticed that I can't have more than one "contained CE". Yes, that's a limitation of the current implementation; it should be lifted for Jess 7

JESS: A problem with accumulate

2006-12-02 Thread Skeptic 2000
Hi,I have a serious problem with accumulate, I wanted to use it on some shadow facts, but I noticed that I can't have more than one "contained CE".I would need to use a "Time-varying method" (OBJECT) and a test-CE in the matching part of the Accumulate... Something like (modifed from the man