[
https://issues.apache.org/jira/browse/FLINK-2634?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14740922#comment-14740922
]
ASF GitHub Bot commented on FLINK-2634:
---------------------------------------
Github user andralungu commented on the pull request:
https://github.com/apache/flink/pull/1105#issuecomment-139564327
The only argument I have for this particular code (as opposed to the one in
the DataSet API) is that his one simulates what Pregel is doing... But since
it's a library method, it should be used as is, without caring about the model.
IMO, the discussion in #1054 asked for this particular version, but if there
is a consensus I can change it to use the more efficient one... or even close
the PR and point people to the DataSet API...
> Add a Vertex-centric Version of the Tringle Count Library Method
> ----------------------------------------------------------------
>
> Key: FLINK-2634
> URL: https://issues.apache.org/jira/browse/FLINK-2634
> Project: Flink
> Issue Type: Task
> Components: Gelly
> Affects Versions: 0.10
> Reporter: Andra Lungu
> Assignee: Andra Lungu
> Priority: Minor
>
> The vertex-centric version of this algorithm receives an undirected graph as
> input and outputs the total number of triangles formed by the graph's edges.
> The implementation consists of three phases:
> 1). Select neighbours with id greater than the current vertex id.
> 2). Propagate each received value to neighbours with higher id.
> 3). Compute the number of Triangles by verifying if the final vertex contains
> the sender's id in its list.
> As opposed to the GAS version, all these three steps will be performed via
> message passing.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)