VertexUpdateFunction
Posted by
rostami on
URL: http://deprecated-apache-flink-user-mailing-list-archive.369.s1.nabble.com/VertexUpdateFunction-tp13359.html
Hi,
I want to write an iterative algorithm using Gelly (spargel), like:
https://ci.apache.org/projects/flink/flink-docs-release-0.8/spargel_guide.htmlMy question is how I can access the actual vertex information like the
vertex degree (in- or outdegree)
under the subclass of VertexUpdateFunction. A way is maybe to send an
instance of graph to the constructor.
However, getting the degree for a vertex in each instance of this
subclass would be really inefficient.
Thanks,
Ali