After a bit of investigation I found the code in JessTab that connects to Jess.
It is in the JessTabEngine class.

  /**
   * Create and initialize the Jess engine.
   * @param name the name (label) for the engine
   */
  public JessTabEngine(String name) {
    engine = new Rete();                             // Instantiate the engine 
object
    this.name = name;
    engine.addUserpackage(new JessTabFunctions());   // Add the special Jess 
functions
  }


  /**
   * Start the Jess engine thread.
   */

  public void start() {
    // Initialize Jess...
    if (main_obj == null) {
      main_obj = new Main();
      main_obj.initialize(new String[] {}, engine);
    } else {
      main_obj.initialize(new String[] {"-nologo"}, engine);
    }
    thread_obj = new Thread(this);
    thread_obj.start();
  }


So the Rete object is instantiated directly as expected and my previous
suggestion will not do the job. By changing the
call to create the Rete object to a FuzzyRete object, the link to
FuzzyJess would be made. This requires re-compiling the JessTabEngine 
class and substituting it for the one supplied with the standard JessTab.


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