Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 17D19200B36 for ; Wed, 6 Jul 2016 17:32:13 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 16837160A64; Wed, 6 Jul 2016 15:32:13 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 5F6D2160A73 for ; Wed, 6 Jul 2016 17:32:12 +0200 (CEST) Received: (qmail 69089 invoked by uid 500); 6 Jul 2016 15:32:11 -0000 Mailing-List: contact issues-help@flink.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@flink.apache.org Delivered-To: mailing list issues@flink.apache.org Received: (qmail 68853 invoked by uid 99); 6 Jul 2016 15:32:11 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Jul 2016 15:32:11 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 214422C02AB for ; Wed, 6 Jul 2016 15:32:11 +0000 (UTC) Date: Wed, 6 Jul 2016 15:32:11 +0000 (UTC) From: "Faye Beligianni (JIRA)" To: issues@flink.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (FLINK-1815) Add methods to read and write a Graph as adjacency list MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 06 Jul 2016 15:32:13 -0000 [ https://issues.apache.org/jira/browse/FLINK-1815?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15364470#comment-15364470 ] Faye Beligianni commented on FLINK-1815: ---------------------------------------- Hello, I've opened a pull request for this issue. All tests succeeded, but the 2 [[JDK:oraclejdk8]] build jobs even though they succeed, the test run exceeded 120 min and are reported as failed. Is there anything I can do for this? Thanks! > Add methods to read and write a Graph as adjacency list > ------------------------------------------------------- > > Key: FLINK-1815 > URL: https://issues.apache.org/jira/browse/FLINK-1815 > Project: Flink > Issue Type: New Feature > Components: Gelly > Affects Versions: 0.9 > Reporter: Vasia Kalavri > Assignee: Faye Beligianni > Priority: Minor > > It would be nice to add utility methods to read a graph from an Adjacency list format and also write a graph in such a format. > The simple case would be to read a graph with no vertex or edge values, where we would need to define (a) a line delimiter, (b) a delimiter to separate vertices from neighbor list and (c) and a delimiter to separate the neighbors. > For example, "1 2,3,4\n2 1,3" would give vertex 1 with neighbors 2, 3 and 4 and vertex 2 with neighbors 1 and 3. > If we have vertex values and/or edge values, we also need to have a way to separate IDs from values. For example, we could have "1 0.1 2 0.5, 3 0.2" to define a vertex 1 with value 0.1, edge (1, 2) with weight 0.5 and edge (1, 3) with weight 0.2. -- This message was sent by Atlassian JIRA (v6.3.4#6332)