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

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

Github user vasia commented on a diff in the pull request:

    https://github.com/apache/flink/pull/537#discussion_r28643520
  
    --- Diff: 
flink-staging/flink-gelly/src/main/java/org/apache/flink/graph/spargel/IterationConfiguration.java
 ---
    @@ -189,4 +199,33 @@ public void addBroadcastSetForUpdateFunction(String 
name, DataSet<?> data) {
        public List<Tuple2<String, DataSet<?>>> getMessagingBcastVars() {
                return this.bcVarsMessaging;
        }
    +
    +   // 
----------------------------------------------------------------------------------
    +   // The direction, degrees and the total number of vertices should be 
optional.
    +   // The user can access them by setting the direction, degrees or the 
numVertices options.
    +   // 
----------------------------------------------------------------------------------
    --- End diff --
    
    all parameters in this class are optional :-)
    Can you add javadocs to the new methods, like in the methods above?


> 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