flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gallenvara <...@git.apache.org>
Subject [GitHub] flink pull request: [FLINK-2044] [gelly] Implementation of Gelly H...
Date Sun, 22 May 2016 05:32:36 GMT
Github user gallenvara commented on a diff in the pull request:

    https://github.com/apache/flink/pull/1956#discussion_r64144375
  
    --- Diff: flink-libraries/flink-gelly/src/main/java/org/apache/flink/graph/library/HITSAlgorithm.java
---
    @@ -273,4 +289,23 @@ public void sendMessages(Vertex<K, Tuple2<DoubleValue, DoubleValue>>
vertex) {
     			return initVertexValue;
     		}
     	}
    +
    +	public static class AuthorityEdgeMapper<K, EV> implements MapFunction<Edge<K,
EV>, String> {
    --- End diff --
    
    @greghogan  @vasia In the use of HITS algorithm, bidirectional edges is not very common,
so I do not have bidirectional edge determination logic written into the code and all of the
edges have joined their reverse edges.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message