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

    https://github.com/apache/flink/pull/537#discussion_r28643920
  
    --- Diff: 
flink-staging/flink-gelly/src/main/java/org/apache/flink/graph/spargel/VertexCentricIteration.java
 ---
    @@ -138,69 +146,46 @@ public void setInput(DataSet<Vertex<VertexKey, 
VertexValue>> inputData) {
                if (this.initialVertices == null) {
    --- End diff --
    
    I find the new logic of this method a bit confusing. Why do you set some 
configuration parameters here (degrees and direction) and the rest in the 
helper methods?
    As far as I understand, you have 2 cases that matter here: the degrees 
option is set or not. This defines whether you create a simple vertex or you 
augment it with degree information, right?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to