[
https://issues.apache.org/jira/browse/FLINK-2044?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15293667#comment-15293667
]
ASF GitHub Bot commented on FLINK-2044:
---------------------------------------
Github user greghogan commented on a diff in the pull request:
https://github.com/apache/flink/pull/1956#discussion_r64070513
--- 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 --
A boolean is stored as a byte as would a bitmask which allows the edge set
to be compressed on bidirectional edges. Not sure how common bidirectional
edges are in real-world datasets.
> Implementation of Gelly HITS Algorithm
> --------------------------------------
>
> Key: FLINK-2044
> URL: https://issues.apache.org/jira/browse/FLINK-2044
> Project: Flink
> Issue Type: New Feature
> Components: Gelly
> Reporter: Ahamd Javid
> Assignee: GaoLun
> Priority: Minor
>
> Implementation of Hits Algorithm in Gelly API using Java. the feature branch
> can be found here: (https://github.com/JavidMayar/flink/commits/HITS)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)