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

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

Github user vasia commented on the pull request:

    https://github.com/apache/flink/pull/537#issuecomment-102366422
  
    Hey @andralungu! Thanks a lot for looking into this!
    Can you please close this PR and I'll open a new one with the latest 
changes.
    
    Regarding returning -1 if the option is not set, I did that so that we 
avoid throwing an exception and also because other options like 
getIterationAggregator() have a similar behavior. I really don't think it's 
such a big deal for one to read the javadoc when using a method :P 
    Of course, if you have any idea on how we could make this better, please 
let me know! (but let's continue the discussion in the new PR).


> Vertex-centric iteration extensions
> -----------------------------------
>
>                 Key: FLINK-1523
>                 URL: https://issues.apache.org/jira/browse/FLINK-1523
>             Project: Flink
>          Issue Type: Improvement
>          Components: Gelly
>            Reporter: Vasia Kalavri
>            Assignee: Andra Lungu
>
> We would like to make the following extensions to the vertex-centric 
> iterations of Gelly:
> - allow vertices to access their in/out degrees and the total number of 
> vertices of the graph, inside the iteration.
> - allow choosing the neighborhood type (in/out/all) over which to run the 
> vertex-centric iteration. Now, the model uses the updates of the in-neighbors 
> to calculate state and send messages to out-neighbors. We could add a 
> parameter with value "in/out/all" to the {{VertexUpdateFunction}} and 
> {{MessagingFunction}}, that would indicate the type of neighborhood.



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

Reply via email to