From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, MAILING_LIST_MULTI autolearn=unavailable autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,ecfc0548c2df0d76 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-11-11 13:29:23 PST Path: archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!oleane.net!oleane!frmug.org!freenix!enst.fr!melchior!cuivre.fr.eu.org!melchior.frmug.org!not-for-mail From: Marius Amado Alves Newsgroups: comp.lang.ada Subject: Re: MI ammunition : linked lists Date: Tue, 11 Nov 2003 21:27:29 +0000 Organization: Cuivre, Argent, Or Message-ID: References: NNTP-Posting-Host: lovelace.ada-france.org Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Trace: melchior.cuivre.fr.eu.org 1068586072 71137 80.67.180.195 (11 Nov 2003 21:27:52 GMT) X-Complaints-To: usenet@melchior.cuivre.fr.eu.org NNTP-Posting-Date: Tue, 11 Nov 2003 21:27:52 +0000 (UTC) To: comp.lang.ada@ada-france.org Return-Path: In-Reply-To: X-Mailer: Ximian Evolution 1.4.5 X-OriginalArrivalTime: 11 Nov 2003 21:27:13.0617 (UTC) FILETIME=[92B37410:01C3A89A] X-Virus-Scanned: by amavisd-new-20030616-p5 (Debian) at ada-france.org X-BeenThere: comp.lang.ada@ada-france.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Gateway to the comp.lang.ada Usenet newsgroup List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Xref: archiver1.google.com comp.lang.ada:2376 Date: 2003-11-11T21:27:29+00:00 On Tue, 2003-11-11 at 18:38, Georg Bauhaus wrote: > amado.alves wrote: > : < : node at the same time?...>> > : > : I do saying a Node_Pointing_Both_Ways is a Node_Pointing_Forward and a Node_Pointing_Backward. > : > : But I agree with the general advice. Thanks. > > Maybe there is another clear picture, if you think of slightly > more complex structure than a list. You can "ask" a node, "do > you have a predecessor/successor?", but what question are you > going to ask a graph node? > For example, if a star is a node with indegree >= 5, does it > make sense to employ any kind of ihneritance to reflect an > indegree of 5? The main question to be a asked a graph node is "what nodes are attached to you?" The reply is a iterator over the corresponding nodes. (Note another reply in this thread made the same claim for MI for linked lists regarding names with different names than mine but with the same exact meaning.)