hama-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Edward J. Yoon (Created) (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HAMA-510) Add sendMessageToNeighbors() to Vertex
Date Thu, 09 Feb 2012 02:41:59 GMT
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
            Priority: Trivial
             Fix For: 0.5.0


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