Any use of salience has a negative performance impact; in the extreme
case it can change the O(ln N) performance of the agenda manager to
O(N). Whether this translates into a measurable difference depends on
how many simultaneously activated rules you have. If it's 10, it doesn't
matter. If it's 1000, it can make a big difference.

You'd have to get rid of the low-salience switching rule, too --
perhaps you can use auto-focus, or explicit focus commands,
instead. Note that you can "return" from a rule to switch the module
focus to the previous focus module.


I think Dheeraj Kakar wrote:
> Hi,
> 
> I'm currently using salience to control the order in which various sets 
> of rules fire.
...
> 
> I believe I can achieve the same effect by putting different stages of 
> the process in different modules and a low salience rule calling switch 
> focus. Will the use of modules in this case result in any significant 
> performance gains?
> 
> Thanks
> 

---------------------------------------------------------
Ernest Friedman-Hill  
Distributed Systems Research        Phone: (925) 294-2154
Sandia National Labs                FAX:   (925) 294-2234
Org. 8920, MS 9012                  [EMAIL PROTECTED]
PO Box 969                  http://herzberg.ca.sandia.gov
Livermore, CA 94550

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