I'm don't know how JessTab actually instantiates Jess but if it
creates a Main object and calls the main method then I believe you could
(assuming you have access to the Jess source code) modify the Jess
Main class (Main.java) as follows:

1. add the line

        import nrc.fuzzy.jess.*;

2. change the main method to read

    public static void main(String[] argv) {
        Main m = new Main();
        m.initialize(argv, new FuzzyRete());  // only this line changes
        m.execute(true);
    }

and compile the Main class and replace it in your Jess 
class directory or Jess jar file.

If you don't have access to the source then maybe Ernest would allow one of us
to send you the required modified class file.

If JessTab creates the Rete object directly then this is more problematic.

None of this is tested of course and subject to poor late night
thinking.

Bob.

Bob Orchard
National Research Council Canada      Conseil national de recherches Canada
Institute for Information Technology  Institut de technologie de l'information
1200 Montreal Road, Building M-50     M50, 1200 chemin Montrial
Ottawa, ON, Canada K1A 0R6            Ottawa (Ontario) Canada K1A 0R6
(613) 993-8557 
(613) 952-0215 Fax / tilicopieur
[EMAIL PROTECTED] 
Government of Canada | Gouvernement du Canada



-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED]
Sent: Thursday, October 27, 2005 2:24 PM
To: jess-users@sandia.gov
Subject: JESS: JessTab & FuzzyJess


Dear list,

I am trying to use the JessTab for Protigi in combination with the FuzzyJess 
Toolkit from NRC. In order to run FuzzyJess programs, I am supposed to use the 
nrc.fuzzy.jess.FuzzyMain class instead of the jess.Main class. How can I 
configure JessTab to do that?

Thanks for your help.
Greetings

Fernando Bobillo


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

Reply via email to