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

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

Github user andralungu commented on the pull request:

    https://github.com/apache/flink/pull/537#issuecomment-90728415
  
    Hi @vasia ,
    
    I simply assumed that if the previous examples work, the iteration also 
works as before. Would you like a specific test suite for that?
    
    For the degree option not being set : the getInDegree(); getOutDegree() 
methods are located inside the Vertex class. Not sure that their availability 
can be changed by setting the option on the iteration. They are not computed 
when the degree option is not set, but you can still see the method. Do you 
have any idea how to make the degrees inaccessible?
    
    Once this becomes clear, I can add the tests :)


> 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