[
https://issues.apache.org/jira/browse/HAMA-510?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13213525#comment-13213525
]
Edward J. Yoon commented on HAMA-510:
-------------------------------------
+1
> Add sendMessageToNeighbors() to Vertex
> --------------------------------------
>
> Key: HAMA-510
> URL: https://issues.apache.org/jira/browse/HAMA-510
> Project: Hama
> Issue Type: Improvement
> Components: graph
> Affects Versions: 0.4.0
> Reporter: Edward J. Yoon
> Assignee: Thomas Jungblut
> Priority: Trivial
> Fix For: 0.5.0
>
> Attachments: HAMA-510.patch
>
>
> It'd be nice if we add sendMessageToNeighbors().
> In PageRank, then below code can be reduced to 1 line of code.
> {code}
> for (Edge e : this.getOutEdges()) {
> this.sendMessage(e.getTarget(), new DoubleMessage(e.getName(),
> (Double) this.getValue() / numEdges));
> }
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira