I think Steve Solomon wrote:

> It says it should behave like Comparable.compare(). I assume this is a
> typo for Comparator.compare(). (There is no Comparable.compare().
> There's a Comparable.compareTo(), but it takes a single argument.)

Thanks for pointing this out -- I will fix it.

> Is compare(Activation a1, Activation a2) supposed to return a negative
> int, 0, or a positive int if a1 is ordered less than a2, equal to a2, or
> greater than a2 in the agenda?

Yes.

> Here is the error I get from the console:
...
> Jess reported an error in routine reset
>         while executing (reset).
>   Message: Error during execution.
>   Program text: ( reset )  at line 75.
> 
> Nested exception is:
> null

If you launch Jess with the -stacktrace switch, then it will show you
the whole Java stack trace. Since this exception is probably coming
out of this Strategy class, the stack trace will probably be
helpful. Can you do that and (if you still need help) tell us where
the error happens.



---------------------------------------------------------
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://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]
--------------------------------------------------------------------

Reply via email to