incubator-hama-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Jungblut (Updated) (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HAMA-510) Add sendMessageToNeighbors() to Vertex
Date Wed, 22 Feb 2012 14:35:49 GMT

     [ https://issues.apache.org/jira/browse/HAMA-510?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Thomas Jungblut updated HAMA-510:
---------------------------------

    Resolution: Fixed
        Status: Resolved  (was: Patch Available)

Thanks for the fast review. Committed!
                
> 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