Hi, Thank you for the response. In our case most of the calculations are on the 
RHS side of the rule. Does that mean we should write our calculations/formulas 
in Jess? Also, we are very familiar in Java than in Jess. At this point we are 
hard pressed for time. That is the reason we are trying to understand if there 
are any performance implications in using java/jess.




-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Behalf Of Ernest Friedman-Hill
Sent: 12 October 2006 14:40
To: [email protected]
Subject: Re: JESS: calculations in JESS



On Oct 12, 2006, at 9:05 AM, KUMAR, Sunil S wrote:

> We have hundreds of formulae/calculations to be performed during  
> the process of costing. We were just wondering if these formulae/ 
> calculations should be coded in JESS or as JAVA functions and then  
> be called from JESS?

If the computations are non-trivial and called often -- especially  
from the left-hand-sides of rules -- then the performance will be  
better if the calculations are written as Java Userfunctions. Jess  
was designed to make it easy to extend; writing Userfunctions is very  
simple, so there's little reason not to do it.

---------------------------------------------------------
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://www.jessrules.com

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


 
This mail has originated outside your organization,
either from an external partner or the Global Internet.
Keep this in mind if you answer this message.

 
This e-mail is intended only for the above addressee. It may contain
privileged information. If you are not the addressee you must not copy,
distribute, disclose or use any of the information in it. If you have
received it in error please delete it and immediately notify the sender.
Security Notice: all e-mail, sent to or from this address, may be
accessed by someone other than the recipient, for system management and
security reasons. This access is controlled under Regulation of
Investigatory Powers Act 2000, Lawful Business Practises.

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