Return-Path: X-Original-To: apmail-singa-dev-archive@minotaur.apache.org Delivered-To: apmail-singa-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 3CFF219939 for ; Sat, 26 Mar 2016 17:20:28 +0000 (UTC) Received: (qmail 34058 invoked by uid 500); 26 Mar 2016 17:20:28 -0000 Delivered-To: apmail-singa-dev-archive@singa.apache.org Received: (qmail 34034 invoked by uid 500); 26 Mar 2016 17:20:28 -0000 Mailing-List: contact dev-help@singa.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@singa.incubator.apache.org Delivered-To: mailing list dev@singa.incubator.apache.org Received: (qmail 34024 invoked by uid 99); 26 Mar 2016 17:20:28 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 26 Mar 2016 17:20:28 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id BCC72C006C for ; Sat, 26 Mar 2016 17:20:27 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -5.016 X-Spam-Level: X-Spam-Status: No, score=-5.016 tagged_above=-999 required=6.31 tests=[KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.996] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id 7THPj4nN8yZY for ; Sat, 26 Mar 2016 17:20:27 +0000 (UTC) Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with SMTP id 780485F3F0 for ; Sat, 26 Mar 2016 17:20:26 +0000 (UTC) Received: (qmail 33868 invoked by uid 99); 26 Mar 2016 17:20:25 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 26 Mar 2016 17:20:25 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 925092C1F5A for ; Sat, 26 Mar 2016 17:20:25 +0000 (UTC) Date: Sat, 26 Mar 2016 17:20:25 +0000 (UTC) From: "Raunaq Abhyankar (JIRA)" To: dev@singa.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Issue Comment Deleted] (SINGA-63) Graph sort not terminate MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/SINGA-63?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Raunaq Abhyankar updated SINGA-63: ---------------------------------- Comment: was deleted (was: Hi! Im interested in solving this bug.. Any advice on how to proceed? Thanks! :)) > Graph sort not terminate > ------------------------ > > Key: SINGA-63 > URL: https://issues.apache.org/jira/browse/SINGA-63 > Project: Singa > Issue Type: Bug > Reporter: Sheng Wang > Assignee: Sheng Wang > > There is a bug in Graph.sort that may lead to no termination of the program. > It only occurs when the graph contains bi-connected nodes. > An example is as follows: > TEST(GraphTest, Test1) { > Graph g; > g.AddNode("a"); > g.AddNode("b"); > g.AddNode("c"); > g.AddNode("d1"); > g.AddNode("d2"); > g.AddNode("e"); > g.AddNode("f"); > g.AddEdge("d1", "d2"); > g.AddEdge("d2", "d1"); > g.AddEdge("a", "b"); > g.AddEdge("b", "c"); > g.AddEdge("c", "d1"); > g.AddEdge("e", "d2"); > g.AddEdge("d1", "f"); > g.AddEdge("d2", "f"); > g.Sort(); > } -- This message was sent by Atlassian JIRA (v6.3.4#6332)