JESS: Question about Waltz- and Manners-Benchmark

2004-07-30 Thread Marcus Schlappa

Hello!

I have a question about the Rule-Engine Benchmarks Waltz and Manners.
Are they measuring only the time for inference or does it include building the rete-network AND inference?

Thanx!

Marcus

Re: JESS: again: jess-performance

2004-07-30 Thread ejfried
I think Marcus Schlappa wrote:
 Hello,

 
 How can i cache the engine with the rules loaded?
 Do you mean the jess-commands bload and bsave?
 

By engine we mean a single instance of the jess.Rete class. You can
create as many instances of this class as you wish, and load each one
with rules. They'll all be completely independent.


-
Ernest Friedman-Hill  
Science and Engineering PSEsPhone: (925) 294-2154
Sandia National LabsFAX:   (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]




Re: JESS: Question about Waltz- and Manners-Benchmark

2004-07-30 Thread ejfried
I think Marcus Schlappa wrote:
 Hello!
 
 I have a question about the Rule-Engine Benchmarks Waltz and Manners.
 Are they measuring only the time for inference or does it include building 
 the rete-network AND inference?

Good question. Some rule engines require you to write the rules in a
Java-like language, which is then transformed by a macro-processor
into Java, and then that Java is compiled; the Rete network is
inherent in those compiled classes. This whole process is generally
never included in benchmarking. For Jess, the rule compiler takes only
a very tiny fraction of a second to process either of these small benchmark
programs, so it really doesn't matter; but times that I report don't
include rule compilation time, either.

-
Ernest Friedman-Hill  
Science and Engineering PSEsPhone: (925) 294-2154
Sandia National LabsFAX:   (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]




Re: JESS: comments affecting error message line numbers?

2004-07-30 Thread ejfried
I think Jason Morris wrote:
 For most small programs, the reported line number of an error is exact or
 the difference is fairly close, but for larger code like Mitch's example,
 I've noticed that it can be significantly off.

Indeed, the error was reported at line 92 instead of the correct line
99. I've just confirmed that the Jess 7 parser gets this example right.



-
Ernest Friedman-Hill  
Advanced Software Research  Phone: (925) 294-2154
Sandia National LabsFAX:   (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]




JESS: jdk 1.5 support?

2004-07-30 Thread Ahmed Mohombe
Hi,
are there any plans to support the jdk 1.5 features in Jess?
Thank you in advance,
Ahmed.

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]



Re: JESS: jdk 1.5 support?

2004-07-30 Thread ejfried
I think Ahmed Mohombe wrote:
 Hi,
 
 are there any plans to support the jdk 1.5 features in Jess?
 

I really hadn't given it any thought. What features do you suppose
could use specific support in Jess?



-
Ernest Friedman-Hill  
Advanced Software Research  Phone: (925) 294-2154
Sandia National LabsFAX:   (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]




RE: JESS: comments affecting error message line numbers?

2004-07-30 Thread Jason Morris
Glad that you confirmed it.  I was worried that I was missing something.
On the positive side, it sure made my bug-finding eye better.




 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
 Behalf Of [EMAIL PROTECTED]
 Sent: Friday, July 30, 2004 8:56 AM
 To: [EMAIL PROTECTED]
 Subject: Re: JESS: comments affecting error message line numbers?


 I think Jason Morris wrote:
  For most small programs, the reported line number of an error
 is exact or
  the difference is fairly close, but for larger code like
 Mitch's example,
  I've noticed that it can be significantly off.

 Indeed, the error was reported at line 92 instead of the correct line
 99. I've just confirmed that the Jess 7 parser gets this example right.



 -
 Ernest Friedman-Hill
 Advanced Software Research  Phone: (925) 294-2154
 Sandia National LabsFAX:   (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]
 



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]




Re: JESS: jdk 1.5 support?

2004-07-30 Thread Ahmed Mohombe
[EMAIL PROTECTED] wrote:
I think Ahmed Mohombe wrote:
Hi,
are there any plans to support the jdk 1.5 features in Jess?

I really hadn't given it any thought. What features do you suppose
could use specific support in Jess?
Enumerations seem to be the most obvious to me. The generics stuff is 
nice too, but that would be more complicated (I suppose :) ).

Ahmed.

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]



JESS: Jess feature idea

2004-07-30 Thread Jason Morris
Jess 7.0 will have the accumulate feature, but how about some way of
accumulating by adding nodes to a tree? (If you look, you'll see that any
kind of general purpose tree class is conspicuously missing from java.util.)
For example, I'm doing some computations where I am accumulating sets of
nodes (fact-ids representing partial solutions to a scheduling problem)
after every engine cycle.  Actually, the structure is a forest something
like this:

   node1-1  node1-2
  |   |
  +---++
+++
  || ||
|
   node2-1   node2-2 node2-3node2-4
node2-5 ...
  || |
|
   +--+-+  +---+ ++
++
   ||  |   | ||
||
node3-1   node3-2  node3-3   node3-4 node3-5node3-6
node3-7node3-8

  ...  ...

In my case, the solutions that Jess will eventually find are the depth-first
traversals of the trees,
e.g, solution = {node1-1,node2-1,node3-1,...}
Given how ubiquitous trees are in computing, is there any utility in having
Jess support a ready-made structure for accumulating (placing!?) output
(pattern bindings, function returns, etc.) as nodes in a tree?  Of course,
there are a thousand ways that I or any other user can roll our own (using
linked lists for example), but maybe someone else has a similar need, too.

Cheers,

Jason


Jason Morris
Morris Technical Solutions
[EMAIL PROTECTED]
www.morristechnicalsolutions.com
fax/phone: 503.692.1088


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]