Thanks for the response.  When it comes to both writing and debugging
code, I rely very heavily on a clear understanding of the conflict
resolution strategy.  So, I have 3 questions.

(1) How can you see the pseudo-time tags.  I can't imagine debugging
without being able to see how the system is actually resolving conflicts.

(2) Suppose two rules become activated at the same time.  How does the
depth strategy decide what to do?  Does it take the instantiation with a
binding to the next highest pseudo-time tag (like OPS5)?

(3) Do you have a detailed description of how the pseudo-time tags are
used in the conflict resolution strategy (short of looking at your code,
that is)?  I would really like to see that.

Thanks again.

Rand

> On Jan 24, 2007, at 9:15 PM, [EMAIL PROTECTED] wrote:
>
>> I
>> only include their numbers because I believe that is all that is
>> important
>> - maybe that is my problem
>
> Indeed. In OPS5 and in systems like CLIPS, the fact number is
> directly related to the recency of a fact. If you modify a fact in
> CLIPS, the old fact is removed and a new one, with a new fact number,
> is asserted.
>
> Jess has a more object-oriented approach; a fact's fact number is a
> constant and doesn't change when the fact is modified. This lets you
> use those IDs as links between facts that survive property
> modifications. Therefore there isn't necessarily any relationship
> between the recency of a fact and the fact number. Each fact contains
> a "pseudo-time" value, basically a tag that identifies the order of
> events that happen in the engine. The agenda ordering is based on
> these pseudo-time tags. The default strategy is called "depth", and
> it orders activations according to the recency of their facts,
> weighted so that activations that include more facts are given some
> preference.
>
> ---------------------------------------------------------
> 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]
--------------------------------------------------------------------

Reply via email to