On Apr 9, 2007, at 4:01 AM, Mrinal Khanvilkar wrote:

Hi ,

Suppose i have a FuzzyRete engine in my jave program and i am calling

engine.Eval("someantecedents => ( new Ssomething (engine) ))")
and my Ssomething class is the same as below. Now will "(engine)" return a FuzzyRete instance or just a Rete object?


It will always return the actual engine that is executing the code. The implementation just looks like

public Value call(ValueVector unused, Context context) {
    return new Value(context.getEngine());
}

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

Reply via email to