[ 
https://issues.apache.org/jira/browse/FLINK-1515?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14324128#comment-14324128
 ] 

ASF GitHub Bot commented on FLINK-1515:
---------------------------------------

Github user martinkiefer commented on the pull request:

    https://github.com/apache/flink/pull/402#issuecomment-74660459
  
    I could change `PageRank` to read the number of vertices by broadcasting 
the result of `numberofVertices()` instead of providing it in the constructor 
of the algorithm. I guess, this is the use case that comes most naturally.


> [Gelly] Enable access to aggregators and broadcast sets in vertex-centric 
> iteration
> -----------------------------------------------------------------------------------
>
>                 Key: FLINK-1515
>                 URL: https://issues.apache.org/jira/browse/FLINK-1515
>             Project: Flink
>          Issue Type: Improvement
>          Components: Gelly
>            Reporter: Vasia Kalavri
>            Assignee: Martin Kiefer
>
> Currently, aggregators and broadcast sets cannot be accessed through Gelly's  
> {{runVertexCentricIteration}} method. The functionality is already present in 
> the {{VertexCentricIteration}} and we just need to expose it.
> This could be done like this: We create a method 
> {{createVertexCentricIteration}}, which will return a 
> {{VertexCentricIteration}} object and we change {{runVertexCentricIteration}} 
> to accept this as a parameter (and return the graph after running this 
> iteration).
> The user can configure the {{VertexCentricIteration}} by directly calling the 
> public methods {{registerAggregator}}, {{setName}}, etc.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to