[kepler-dev] Connected port list of a channel

Edward A Lee eal at eecs.berkeley.edu
Wed Jul 28 13:42:02 PDT 2004


At 09:59 AM 7/26/2004 -0700, Efrat Jaeger wrote:

>While adding all the fixes,,  I've been working on graph traversing of momls
>and realized that there is no connectedPortList method for a specific
>channel. Currently, I assume all the relations are added to the relationList
>by the channels connecting order, but it may sometimes be confusing,
>especially if a channel is connected to an explicit. Do you suppose this
>could be added as well?

Can you use:
   linkedRelationsList()
followed by the Relation method:
   linkedPortList(except Port)

Edward



------------
Edward A. Lee, Professor
518 Cory Hall, UC Berkeley, Berkeley, CA 94720
phone: 510-642-0455, fax: 510-642-2739
eal at eecs.Berkeley.EDU, http://ptolemy.eecs.berkeley.edu/~eal




More information about the Kepler-dev mailing list