Re: VertexUpdateFunction

2017-05-31 Thread Martin Junghanns
Hi Ali, If you're talking about a Java Map and the constructor of your compute function, then your implementation is not really scalable. Cheers, Martin On 31.05.2017 14:19, rost...@informatik.uni-leipzig.de wrote: Hi Martin, thanks for your answer.. For the vertex degree, I passed a map

Re: VertexUpdateFunction

2017-05-31 Thread rostami
Hi Martin, thanks for your answer.. For the vertex degree, I passed a map (vertex_id -> degree) to the constructor. Regards, Ali Zitat von Martin Junghanns : Hi Ali :) You could compute the degrees beforehand (e.g. using the Graph.[in|out|get]degrees()) methods and use the resulting dat

Re: VertexUpdateFunction

2017-05-29 Thread Martin Junghanns
Hi Ali :) You could compute the degrees beforehand (e.g. using the Graph.[in|out|get]degrees()) methods and use the resulting dataset as a new vertex dataset. You can now run your vertex-centric computation and access the degrees as vertex value. Cheers, Martin On 29.05.2017 09:28, rost..