Return-Path: X-Original-To: apmail-incubator-giraph-user-archive@minotaur.apache.org Delivered-To: apmail-incubator-giraph-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D0ABF9F40 for ; Fri, 3 Feb 2012 09:45:27 +0000 (UTC) Received: (qmail 92987 invoked by uid 500); 3 Feb 2012 09:45:26 -0000 Delivered-To: apmail-incubator-giraph-user-archive@incubator.apache.org Received: (qmail 91187 invoked by uid 500); 3 Feb 2012 09:45:16 -0000 Mailing-List: contact giraph-user-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: giraph-user@incubator.apache.org Delivered-To: mailing list giraph-user@incubator.apache.org Received: (qmail 90822 invoked by uid 99); 3 Feb 2012 09:45:13 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Feb 2012 09:45:13 +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 (athena.apache.org: domain of efeshundertelf@googlemail.com designates 209.85.213.47 as permitted sender) Received: from [209.85.213.47] (HELO mail-yw0-f47.google.com) (209.85.213.47) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Feb 2012 09:45:08 +0000 Received: by yhfq46 with SMTP id q46so1505937yhf.6 for ; Fri, 03 Feb 2012 01:44:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=u6VbaDAkjiBIDOZ1nDYURLJc1Qkell5RjumGJU5CcFI=; b=kPDFQAEeKNfwtoVqmEh8yDB4DCn179jbpo2PsckIgosuCxYe2q0fdD/rrv/oOPbhFS XJX1t/KwvQZhnPsdm3NBBu4zdhc8IgZcgeNvRDW6zkozhx5lRDXRFM6BE6dJwjxt9kjX PeqC8Kpr5vptcWaYMI61E+cC0GKa26M423Fzc= MIME-Version: 1.0 Received: by 10.236.114.199 with SMTP id c47mr9589993yhh.81.1328262287941; Fri, 03 Feb 2012 01:44:47 -0800 (PST) Received: by 10.236.173.232 with HTTP; Fri, 3 Feb 2012 01:44:47 -0800 (PST) Date: Fri, 3 Feb 2012 10:44:47 +0100 Message-ID: Subject: multi-graph support in giraph From: =?UTF-8?B?QW5kcsOpIEtlbHBl?= To: giraph-user@incubator.apache.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi list, in my current usage of giraph I ran into the limitation that the API is cen= tered around simple graphs but in many applications you are actually dealing with multi-graphs. One simple example is a road network, where there can be n ed= ges between 2 vertices. For my current program I could work around the "limitat= ion" by using an ArrayWritable as the edge value, which contains all edges that = are connectors to a neighbour vertex. That is however not the cleanest of all approaches. The pregel paper describes an API, where you work with iterators to all you= r outgoing edges and you then can access the vertex on the other end with a m= ethod call (see the impl of Shortest Path in the paper). That kind of API would totally allow having multiple edges connecting the same two vertices direct= ly while the current API with getEdgeValue(vertexId) does not. What is the cur= rent view on this, is that a feature, that would be welcome? Should I open a JIR= A for the discussion? Am I overlooking something? Thanks! Andr=C3=A9