I think Steve Webster wrote:
> Ernest,
> 
> Thanks for your support. Now that you've given me a leg to stand upon,
> perhaps I could suggest another change.
> 
> I noticed that these node events that now carry tokens are all generated
> upon the token's arrival in the class. Ideally, the event would be generated
> right before the token is propagated to the next node. Under the current
> implementation, there's no way to determine what node delivered the token
> that triggered the event broadcast. However, if the event was generated by a
> node just before the token is propagated to adjacent nodes, one could
> uniquely determine how far the token propagated through the Rete network. If
> one was still interested in determining which nodes were getting the token,
> that information would still be available via the originating node's
> getSuccessor method.

This also has the added benefit that the number of events is reduced by
the "fan-out" factor. On the other hand, it does complicate the
application that the whole mechanism was originally designed for,
doesn't it? In the current "view" implementation, a NodeViewer gets an
event, and it knows it describes the node being displayed. In the
proposed implementation, a NodeViewer would have to listen to the
inputs instead. Since there are currently no back-pointers in the Rete
network, I'm not sure how this would get set up.

You've probably got something in mind, so let me know how it would work.


> 
> Finally if you're so inclined, perhaps you could introduce a public accessor
> method for the Token's m_tag attribute.

This is obviously necessary for what you're doing, but you can imagine
it makes me shudder a bit. The more detail is exposed, the more
headaches I have when things change. OTOH, this is pretty stable, so OK.

> 
> Thanks again,
> Steve
> 


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