Return-Path: X-Original-To: apmail-commons-dev-archive@www.apache.org Delivered-To: apmail-commons-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 96F379CE3 for ; Fri, 2 Mar 2012 07:47:37 +0000 (UTC) Received: (qmail 57682 invoked by uid 500); 2 Mar 2012 07:47:36 -0000 Delivered-To: apmail-commons-dev-archive@commons.apache.org Received: (qmail 57539 invoked by uid 500); 2 Mar 2012 07:47:36 -0000 Mailing-List: contact dev-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Commons Developers List" Delivered-To: mailing list dev@commons.apache.org Received: (qmail 57531 invoked by uid 99); 2 Mar 2012 07:47:36 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Mar 2012 07:47:36 +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 simone.tripodi@gmail.com designates 209.85.216.179 as permitted sender) Received: from [209.85.216.179] (HELO mail-qy0-f179.google.com) (209.85.216.179) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Mar 2012 07:47:29 +0000 Received: by qcha6 with SMTP id a6so543220qch.38 for ; Thu, 01 Mar 2012 23:47:09 -0800 (PST) Received-SPF: pass (google.com: domain of simone.tripodi@gmail.com designates 10.229.111.228 as permitted sender) client-ip=10.229.111.228; Authentication-Results: mr.google.com; spf=pass (google.com: domain of simone.tripodi@gmail.com designates 10.229.111.228 as permitted sender) smtp.mail=simone.tripodi@gmail.com; dkim=pass header.i=simone.tripodi@gmail.com Received: from mr.google.com ([10.229.111.228]) by 10.229.111.228 with SMTP id t36mr1404657qcp.73.1330674429293 (num_hops = 1); Thu, 01 Mar 2012 23:47:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type :content-transfer-encoding; bh=Kkggu7otRaLiPwUiDQbExI8yKEXItupilVSQwJvnoq0=; b=Ac1XJjOFAsts+gllEwTL/BvX8PGkpYM7t4ZPiZD2K04zv5gwoU0/abacJBE8qo8ARs iE01OsTn1nOyxzujJqpOHaSwlfsx411c3g2eR7t0NhBvTCg4HJE80iDL66RFpXselPZH 4UyoqejOHWJ6ge07tyl14V0GSDl4aclNXM8+VFMmMiF5tXpcLMGojZyptCf1J/2De8b9 cRqvxqjOws2WPfAnrfLNyNjCPNZg7HCwBkdvscn6OFsJHwgIeydQ8B8zZ+6QIW4M9aXo nIMKPptOYBmLSJSQScGUOH39UIVNqImsZ46o4WL9zmqiB5518O/zenffRhdDx1Wshzo5 DhKw== MIME-Version: 1.0 Received: by 10.229.111.228 with SMTP id t36mr1184497qcp.73.1330674429129; Thu, 01 Mar 2012 23:47:09 -0800 (PST) Sender: simone.tripodi@gmail.com Received: by 10.224.195.73 with HTTP; Thu, 1 Mar 2012 23:47:09 -0800 (PST) In-Reply-To: References: Date: Fri, 2 Mar 2012 08:47:09 +0100 X-Google-Sender-Auth: 2s4WrRQ_GlNaAe6p7jsVIlpl8ts Message-ID: Subject: Re: [graph] Why the Vertex and Edge interfaces? From: Simone Tripodi To: Commons Developers List Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Hi James! the email was posted twice because looks like you posted to old jakarta address :P The main reason because these interfaces are there, is that when I started resurrecting it I just opened my Graph book, I started defining element according to definitions :P Some already implemented algorithms require specific informations about edges - specifically WeightedEdges - so while for Vertex a complete generalization can still be applied, Edge requires some assumptions at a certain point. Claudio is aware also about algorithms where weights are associated to Vertex - he's preparing his PhD research on graphes - maybe he can show us a more long-vision roadmap and evaluate benefits on simplifying the design. Do you have already a proposal how to modify the actual design? TIA, all the best, -Simo http://people.apache.org/~simonetripodi/ http://simonetripodi.livejournal.com/ http://twitter.com/simonetripodi http://www.99soft.org/ On Fri, Mar 2, 2012 at 2:45 AM, James Carman w= rote: > Sorry if this was double-posted. =C2=A0I think I accidentally sent it fro= m > my "personal" email account too (which isn't subscribed). > > Anyway, shouldn't we just let anything (perhaps restrict it to > Serializables) be a vertex or an edge? > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org > For additional commands, e-mail: dev-help@commons.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org For additional commands, e-mail: dev-help@commons.apache.org