Return-Path: X-Original-To: apmail-incubator-hama-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-hama-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C4F2E9905 for ; Thu, 9 Feb 2012 02:42:31 +0000 (UTC) Received: (qmail 10723 invoked by uid 500); 9 Feb 2012 02:42:31 -0000 Delivered-To: apmail-incubator-hama-dev-archive@incubator.apache.org Received: (qmail 10618 invoked by uid 500); 9 Feb 2012 02:42:27 -0000 Mailing-List: contact hama-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hama-dev@incubator.apache.org Delivered-To: mailing list hama-dev@incubator.apache.org Received: (qmail 10603 invoked by uid 99); 9 Feb 2012 02:42:22 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Feb 2012 02:42:22 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Feb 2012 02:42:20 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 5F4B61ABF90 for ; Thu, 9 Feb 2012 02:41:59 +0000 (UTC) Date: Thu, 9 Feb 2012 02:41:59 +0000 (UTC) From: "Edward J. Yoon (Created) (JIRA)" To: hama-dev@incubator.apache.org Message-ID: <630756622.17790.1328755319392.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Created] (HAMA-510) Add sendMessageToNeighbors() to Vertex MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org 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