I took a quick look at the code for Rete and Jesp last night, and it looks
like a loose coupling.  It's not an immediate need for me, but I may test
out the concept.  Thanks.

At 09:27 AM 2/9/99 -0800, you wrote:
>Well, right now the parser automatically installs everything it
>parses. I've been talking with Bob Orchard (the originator of
>FuzzyCLIPS) about enabling changes to Jess to allow the easy
>integration of fuzzy capabilities, and this same capability is among
>those - the ability to parse a rule and build a Defrule but not feed
>it to the network compiler. Expect this to appear hopefully by the
>time 5.0 goes final.
>
>For now, you should be able to hack this in to jess.Jesp with fairly
>minimal changes.
>
>
>I think Dave Carlson wrote:
>> 
>> At 01:54 PM 2/8/99 -0800, you wrote:
>> >In Jess, the nodes of the Rete network are instances of the various
>> >subclasses of jess.Node. The class jess.ReteCompiler has the
>> >unenviable task of assembling network fragments from rules jess.(Defrule
>> objects).
>> >
>> 
>> This brings up a question that I have wanted to investigate. Can I parse a
>> Jess ruleset and create the jess.(Defrule objects), but postpone the
>> creation of the Rete network?  Basically, break the current parse method
>> into two steps.  I have two reasons for asking this.
>> 
>> 1. I'm building a graphical rule editor for Jess (more to come in another
>> message...), and I would like a quick way to check syntax without incurring
>> the overhead of creating the Rete.  Also, I want access to the various
>> Defrule, Pattern, Test1, etc. objects resulting from the parser.  But, I
>> don't need the Rete at this point.
>> 
>> 2. In a multithreaded server, e.g. a servlet, I would like to parse the
>> ruleset once, save the jess.(Defrule objects), and then create a new Rete
>> for each connection thread.  But, all Rete networks could be generated from
>> the same parser results.  I haven't tried to benchmark this, but seems like
>> I could save some overhead by not parsing the rules over and over again.  I
>> currently use a resource pool approach for this.  When the server starts, it
>> creates several Rete objects, then allocates them to users and resets when
>> done.  But, I still have to parse the rules separately for each instance of
>> the Rete.
>> 
>> Cheers,
>>   Dave Carlson
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, send the words 'unsubscribe jess-users [EMAIL PROTECTED]'
>> in the BODY of a message to [EMAIL PROTECTED], NOT to the
>> list. List problems? Notify [EMAIL PROTECTED]
>> ---------------------------------------------------------------------
>> 
>> 
>
>
>---------------------------------------------------------
>Ernest Friedman-Hill  
>Distributed Systems Research        Phone: (925) 294-2154
>Sandia National Labs                FAX:   (925) 294-2234
>Org. 8920, MS 9214                  [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. 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. List problems? Notify [EMAIL PROTECTED]
---------------------------------------------------------------------

Reply via email to