Re: [kepler-dev] PN + NondeterministicMerge bug/question (fwd)

2006-07-31 Thread Christopher Brooks
Hi Norbert, I modified your example slightly and added it as a test as ptII/ptolemy/domains/pn/test/auto/Branching-switch-PN-ptolemy.xml I can't get this to fail though. I'm running under Java 1.5.0_06 under Windows with the Ptolemy CVS tree. I changed the Sleep actor to 0L and I always get 10

Re: [kepler-dev] PN + NondeterministicMerge bug/question (fwd)

2006-07-31 Thread Norbert Podhorszki
Hi Christopher, I could see the early stop only once with your workflow, in which case only 9 from 10 tokens arrived at the end. Since then it seems to be warmed up, as never more behaves incorrectly. Opening user preferences PtolemyPreferences.xml... 247 ms. Memory: 4812K Free: 1882K (39%)

list of connected ports on a given channel

2006-07-31 Thread Norbert Podhorszki
Hi, I would like to create the following information for a port: for each channel of the port list of the directly connected ports of the opposite type (input/output) Not the remote sources or receivers, but the immediate neighbours. What I need is to determine, when a port is sending token

Re: list of connected ports on a given channel

2006-07-31 Thread Norbert Podhorszki
Good to have lists where I can send well formulated questions, so I can find solutions easier after sending them... I have found that double iteration with Port.linkedRelationList() and then on each relation Relation.linkedSourcePortList() in case of input