Return-Path: X-Original-To: apmail-giraph-user-archive@www.apache.org Delivered-To: apmail-giraph-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 23C831014D for ; Fri, 21 Mar 2014 22:18:16 +0000 (UTC) Received: (qmail 98394 invoked by uid 500); 21 Mar 2014 22:18:15 -0000 Delivered-To: apmail-giraph-user-archive@giraph.apache.org Received: (qmail 98363 invoked by uid 500); 21 Mar 2014 22:18:14 -0000 Mailing-List: contact user-help@giraph.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@giraph.apache.org Delivered-To: mailing list user@giraph.apache.org Received: (qmail 98355 invoked by uid 99); 21 Mar 2014 22:18:14 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Mar 2014 22:18:14 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of ranooonh@gmail.com designates 209.85.223.175 as permitted sender) Received: from [209.85.223.175] (HELO mail-ie0-f175.google.com) (209.85.223.175) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Mar 2014 22:18:07 +0000 Received: by mail-ie0-f175.google.com with SMTP id to1so3161308ieb.20 for ; Fri, 21 Mar 2014 15:17:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:content-type:content-transfer-encoding:subject:message-id:date :to:mime-version; bh=i1SLyM5nJ41I1/ED2x7+311mXM5ZUNVeOxrk/hlLzYQ=; b=taglxWdTYoNPpiIBnsLCqxkS9mGRKCgaZzaUt/DGxKqIqR/GloiteLY7/umU3HSPWq ArvY9QtTtQr8g2x0jVumFvnBfeAKJBh3XA1fTsNqm9nSOxo+knWRMsAtrHME0sL7eK9X ZXPIxsHjC+dDDO9tcHFNj8X2/mYhiSCNfdw6Z0rkyl1UANKdNGPpRZBCT7vv2II12Yke FUGMhYTBUAkwshMpU+IljH2FEjijvu4jl3Epcm+bWkn3+ucu+OVti6XQ9qZM3BGNUPOL JfCrO42iBsJ2bZMSJSXIaQtwxAjqYLfDRDdjjLJI1Gya5sY9tNGB2f3mMqi1MSR/eB5O E+Gw== X-Received: by 10.42.15.142 with SMTP id l14mr3498455ica.64.1395440265749; Fri, 21 Mar 2014 15:17:45 -0700 (PDT) Received: from [192.168.0.15] (CPEc8fb26478261-CMc8fb2647825e.cpe.net.cable.rogers.com. [99.241.30.164]) by mx.google.com with ESMTPSA id bf7sm6125058igb.9.2014.03.21.15.17.37 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 21 Mar 2014 15:17:41 -0700 (PDT) From: Rana Althunyan Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: push-relabel flow algorithm Message-Id: Date: Fri, 21 Mar 2014 17:47:16 -0400 To: user@giraph.apache.org Mime-Version: 1.0 (Mac OS X Mail 7.2 \(1874\)) X-Mailer: Apple Mail (2.1874) X-Virus-Checked: Checked by ClamAV on apache.org Hello experts, I really need your help. I am new to Giraph. I have project on pregel = paper, and I need to implement One algorithm via Apache Giraph.The = algorithm is push-relabel flow algorithm. Actually when I started to = adapt the algorithm to fit to Giraph I found some problems. I will list = them. 1- Because any type of data structure are not allowed in Giraph how can = I store excess flow and distance value for each vertex. 2- When the excess value becomes zero for any vertex, I wanna keep = vertex flow during future supersteps even if the vertex received = messages. 3- The last point, when I want to send a flow to a vertex, i need store = two values of residual graph the remaining value from the edge capacity = and the amount of flow that we use so far. How can I do that. How can I = keep these two values for each vertex in the graph. these following questions may are easy for you .. 4- How can I determine the last vertex as a sink. 5- How can I get the number of all vertexes from the input file . I know I have written many question.I searched a lot in the Internet, = but I did not find any discussion regards to this algorithm=20 sorry and thank you.I appreciate any help or recommendations=20 Rana=