You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@flink.apache.org by Hajira Jabeen <ha...@gmail.com> on 2015/11/06 18:55:43 UTC

Mutable objects in Flink ?

Hi all,

I am writing an evolutionary computing application with Flink.
Each object is a particle with multidimensional velocity , position, and
fitness.
I create a population ( Array) of these objects and want to update
positions and velocities of all particles in parallel.

I can create the population as a data set.
Apparently, I can also apply Move () , Update() as Map functions .

But in actual the values( positions, velocities, fitness) are not updated .

Any comments ?

Regards

Hajira

Re: Mutable objects in Flink ?

Posted by Stephan Ewen <se...@apache.org>.
Hi!

Sorry, I do not really understand you question. Can you paste the skeleton
of your program code here?

Thanks,
Stephan


On Fri, Nov 6, 2015 at 6:55 PM, Hajira Jabeen <ha...@gmail.com>
wrote:

> Hi all,
>
> I am writing an evolutionary computing application with Flink.
> Each object is a particle with multidimensional velocity , position, and
> fitness.
> I create a population ( Array) of these objects and want to update
> positions and velocities of all particles in parallel.
>
> I can create the population as a data set.
> Apparently, I can also apply Move () , Update() as Map functions .
>
> But in actual the values( positions, velocities, fitness) are not updated .
>
> Any comments ?
>
> Regards
>
> Hajira
>
>
>