I think Erwan Tranvouez wrote:
> 
> Remark:
> 
> Strange enough, matches always return true!! Wouldn't it be better to have
> true
> only when the conditions are met?
> 
> Erwan
> 

If you're talking about the return values from
Node2/NodeNot2.runTestsVaryRight/Left: the fact that these return
anything at all is an artifact from an earlier stage of Jess's
evolution. The return values are all ignored now, so the values don't
really matter. In this specific case, though, it's not clear what they
should have been. Should the call return true if there are any matches
at all, since any given input will be compared to an arbitrary number
of tokens in the opposite memory? Should it return true only if there
are no failed matches? In any case, it's not clear of what value this
datum would be. It's likely that a future refactoring will remove
these return values altogether and make the methods return void.



---------------------------------------------------------
Ernest Friedman-Hill  
Distributed Systems Research        Phone: (925) 294-2154
Sandia National Labs                FAX:   (925) 294-2234
Org. 8920, MS 9012                  [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 (use your own address!) List problems? Notify [EMAIL PROTECTED]
---------------------------------------------------------------------

Reply via email to