[kepler-users] ArrayToSequence Actor

Sean Riddle swriddle at gmail.com
Wed Nov 14 15:32:00 PST 2012


If the boolean parameter "enforceArrayLength" is set to false, the
arrayLength parameter will have no effect, and it will work dynamically as
you would expect. This does violate the contract implicit in SDF, though,
that each actor has a constant token production and consumption rate. If
the actor is only invoked once, though, I doubt that will be a problem.

- Sean

On Wed, Nov 14, 2012 at 3:23 PM, Alvin Sebastian <a.sebastian at qut.edu.au>wrote:

> Hi All,****
>
> ** **
>
> I am a new Kepler user who somehow stuck at how to do a specific thing in
> Kepler.****
>
> I am using a SDF director to run a simple sequential workflow only once.
> However, in the middle of the workflow, there would be an actor that
> outputs an array with arbitrary length. I want to process each element of
> the array using another actor all in the same iteration, and it seems the
> easiest way to do that is by using the ArrayToSequence actor. However, the
> actor requires arrayLength parameter to be set prior to running the
> workflow. Is there a way to make the arrayLength parameter dynamic and
> automatically set to the length of the array received by the input port? *
> ***
>
> ** **
>
> Regards,****
>
> ** **
>
> Alvin****
>
> _______________________________________________
> Kepler-users mailing list
> Kepler-users at kepler-project.org
> http://lists.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nceas.ucsb.edu/kepler/pipermail/kepler-users/attachments/20121114/eada377f/attachment.html>


More information about the Kepler-users mailing list