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 66796E523 for ; Tue, 5 Feb 2013 20:04:27 +0000 (UTC) Received: (qmail 23353 invoked by uid 500); 5 Feb 2013 20:04:27 -0000 Delivered-To: apmail-giraph-user-archive@giraph.apache.org Received: (qmail 23317 invoked by uid 500); 5 Feb 2013 20:04:27 -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 23309 invoked by uid 99); 5 Feb 2013 20:04:27 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Feb 2013 20:04:27 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of semihsalihoglu@gmail.com designates 209.85.210.171 as permitted sender) Received: from [209.85.210.171] (HELO mail-ia0-f171.google.com) (209.85.210.171) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Feb 2013 20:04:20 +0000 Received: by mail-ia0-f171.google.com with SMTP id z13so612904iaz.2 for ; Tue, 05 Feb 2013 12:03:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:content-type; bh=ZCIllOnvSwyVCbJfOfiALp5PZwxZ79Vvc4nezL2Vt4o=; b=V8AbD/C16xqk3A5YBoq4wE9fqYIH71P+VFtMuy6RSUyQHTSIty/pHXyxKgjH1pXiQ1 MZEabboax/yzqFLUKGZ/A0pQWROzMo6dcM+kL1RfiFJFZH4VzCwqxR0B/WJnVkvVZICS U3pJ7s2wWgBmAjoEXC7Tc0dyN156aQ5wKfd1SNM529LMRPXZikvH3NG0Wop65gePipsm wdWQSZ25mH8QeZvqMYLGFC0M354Tb4v3bwSaJGKCNfmZbZEzFt8iTcqaBHLzk1DcLBAg fkUCQGTwsKAHM1QN/Sy9tDiYmob848ihKAz3Lf70Q1mkVWf3/gOMjkQFN9Ax4h4KoX6X qU+Q== X-Received: by 10.50.190.231 with SMTP id gt7mr452912igc.85.1360094625188; Tue, 05 Feb 2013 12:03:45 -0800 (PST) MIME-Version: 1.0 Sender: semihsalihoglu@gmail.com Received: by 10.42.144.132 with HTTP; Tue, 5 Feb 2013 12:03:25 -0800 (PST) In-Reply-To: References: From: Semih Salihoglu Date: Tue, 5 Feb 2013 12:03:25 -0800 X-Google-Sender-Auth: dZjaz1HjME8lWKmh5pbd8IhbcUI Message-ID: Subject: Re: Trying to implement program to find betweenness centrality in giraph To: user@giraph.apache.org Content-Type: multipart/alternative; boundary=14dae9340d15fec95d04d4ffb4ad X-Virus-Checked: Checked by ClamAV on apache.org --14dae9340d15fec95d04d4ffb4ad Content-Type: text/plain; charset=ISO-8859-1 You can do an approximate betweenness centrality, by picking a random set of nodes, say 10, and doing shortest paths from them. We had done something similar in GPS (another open-source Pregel I work on for my thesis). It's described in this tech report (http://ppl.stanford.edu/papers/tr_gm_gps.pdf). But as Claudio says all pairs shortest paths would be infeasible in Giraph. On Tue, Feb 5, 2013 at 11:38 AM, Claudio Martella < claudio.martella@gmail.com> wrote: > Hi Prandeep, > > unfortunately giraph is probably not the right tool to compute all pairs > shortest paths. Giraph is a good tool if you want to compute single source > shortest paths, following BFS. I do not know a good way to solve the all > pairs problem without a memory explosion (where every vertex keeps a map > with all the other N-1 vertices). I hope I'm short-seeing, and there's a > solution to your problem. > > > On Tue, Feb 5, 2013 at 8:23 PM, pradeep kumar wrote: > >> Hi all, >> >> Actually we are working on finding centrality for nodes in a graph >> (betweenness , closeness and in-out) so far we have just implemented for >> in-out and currently working on implementation of brandes alg for finding >> betweenness centrality which requires finding shortest path for each node >> to every node. >> >> Actually right now problem we are facing is passing all-nodes list at >> beginning for computation of shortest paths. >> >> 1) Is their a method availabe to achieve this. we are using giraph >> 1.0..(we couldnt find method for support in file library) >> >> 2) Is it possible compute shortest path for node to every other in single >> superstep >> >> 3) or can we use master compute for such computation >> >> And is there any other way we can compute betweeness for nodes >> efficiently in giraph.. >> >> Any suggestion..and..Thanks for help in advance.. >> >> -- >> Pradeep >> > > > > -- > Claudio Martella > claudio.martella@gmail.com > --14dae9340d15fec95d04d4ffb4ad Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable You can do an approximate betweenness centrality, by picking a random set o= f nodes, say 10, and doing shortest paths from them. We had done something = similar in GPS (another open-source Pregel I work on for my thesis). It'= ;s described in this tech report (http://ppl.stanford.edu/papers/tr_gm_gps.pdf). But as C= laudio says all pairs shortest paths would be infeasible in Giraph.

On Tue, Feb 5, 2013 at 11:38 AM, Claudio Mar= tella <claudio.martella@gmail.com> wrote:
Hi Prandeep,

unfortunately giraph is pr= obably not the right tool to compute all pairs shortest paths. Giraph is a = good tool if you want to compute single source shortest paths, following BF= S. I do not know a good way to solve the all pairs problem without a memory= explosion (where every vertex keeps a map with all the other N-1 vertices)= . I hope I'm short-seeing, and there's a solution to your problem.<= /div>


On Tue, Feb 5, 2013 at 8:23 PM, pradeep kumar <pradee= p0802@gmail.com> wrote:
Hi all,

= Actually we are working on finding centrality for nodes in a graph (between= ness , closeness and in-out) so far we have just implemented for in-out=A0a= nd currently working on implementation of brandes alg for finding betweenne= ss centrality which requires finding shortest path for each node to every n= ode.

Actually right now problem we are facing is passing all= -nodes list at beginning for computation of shortest paths.

<= /div>
1) Is their a method availabe to achieve this. we are using girap= h 1.0..(we couldnt find method for support in file library)

2) Is it possible compute shortest path for node to eve= ry other in single superstep=A0

3) or can we use m= aster compute for such computation

And is there any other way we can compute betweeness for nodes e= fficiently in giraph..

Any suggestion..and..Thanks= for help in advance..

--
Pradeep



--
=A0 =A0Claudio Martella
= =A0 =A0cla= udio.martella@gmail.com=A0 =A0

--14dae9340d15fec95d04d4ffb4ad--