incubator-hama-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HAMA-510) Add sendMessageToNeighbors() to Vertex
Date Wed, 22 Feb 2012 23:05:48 GMT

    [ https://issues.apache.org/jira/browse/HAMA-510?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13214090#comment-13214090
] 

Hudson commented on HAMA-510:
-----------------------------

Integrated in Hama-Nightly #463 (See [https://builds.apache.org/job/Hama-Nightly/463/])
    [HAMA-510]: Add sendMessageToNeighbors() to Vertex (Revision 1292317)

     Result = SUCCESS
tjungblut : 
Files : 
* /incubator/hama/trunk/CHANGES.txt
* /incubator/hama/trunk/examples/src/main/java/org/apache/hama/examples/InlinkCount.java
* /incubator/hama/trunk/examples/src/main/java/org/apache/hama/examples/PageRank.java
* /incubator/hama/trunk/graph/src/main/java/org/apache/hama/graph/Vertex.java
* /incubator/hama/trunk/graph/src/main/java/org/apache/hama/graph/VertexInterface.java

                
> 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

        

Mime
View raw message