[kepler-users] For loop

2009-02-04 Thread Michal Owsiak
Hello Bertram, thanks for the reference to the paper. I see your point, but I am not sure whether this is a solution in my case. I'll try to express myself more precisely. I have a composite actor A, which have input port ain1 and output port aout1. Inside actor A, I have actor B (input port

[kepler-users] For loop

2009-02-04 Thread Shawn Bowers
Hi Michal, I think there are a number of ways to do this in Kepler. One way to do it is as Bertram suggests, but use the ArrayToSequence and SequenceToArray actors to induce the implicit iteration based on sequences. Attached is a .moml workflow that does something similar. Also, some

[kepler-users] For loop

2009-02-03 Thread Bertram Ludaescher
Hi Michael: I'm not sure I exactly understand what you're after, in particular, given the subject For loop. But here is an attempt at an answer: In Kepler most workflows use a dataflow director (often PN, DDF, or SDF). In a dataflow model of computation an actor A can fire repeatedly, i.e., we

[kepler-users] For loop

2009-02-03 Thread Michal Owsiak
Hello all, I want to build composite actor which will read input from multiport. Additionally, I want to go through all the Tokens from input port and perform some action using each token. Is it possible to go through all the elements from input port in Kepler workflow? Another question is: is