Thanks. That is very helpful. I will look into it. Rand
> > On Jan 29, 2007, at 11:08 AM, [EMAIL PROTECTED] wrote: > >> Greetings. >> >> I would still like to know if there is any way to see the actual >> time tags >> of the wmes while debugging and to know exactly how the conflict >> resolution strategy works in detail. > > You can get the time tag for a fact by calling getTime() on the > jess.Fact object. > > The built-in depth and breadth strategies work the same way, just in > opposite senses. Remember that the conflict resolution strategy is > comparing activations: a tuple containing a rule and a list of facts > that activate it. They first compare salience; for rules of equal > salience, they then compare the most recent time stamp of all the > facts in each token. > > If those are also equal, what happens next has varied in different > versions of Jess. In Jess 7, they then compare the sum of all the > time stamps for all the facts in each token. If those are equal, the > order is arbitrary. > > You can implement your own strategies in Java; the manual now > contains a reasonable description of how to do this, and there are > some better examples in the Wiki (www.jessrules.com/jesswiki ). > > --------------------------------------------------------- > 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] > -------------------------------------------------------------------- > > -------------------------------------------------------------------- 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] --------------------------------------------------------------------
