comp.lang.ada
 help / color / mirror / Atom feed
From: "Randy Brukardt" <randy@rrsoftware.com>
Subject: Re: Ada & Ontology ( OWL,RDF, JSON, dot)
Date: Mon, 15 Jul 2013 19:35:16 -0500
Date: 2013-07-15T19:35:16-05:00	[thread overview]
Message-ID: <ks24g4$bd8$1@loke.gir.dk> (raw)
In-Reply-To: pgggo3irufxz$.mbvohwd9o6qd.dlg@40tude.net

"Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de> wrote in message 
news:pgggo3irufxz$.mbvohwd9o6qd.dlg@40tude.net...
> On Sun, 14 Jul 2013 23:36:22 -0700 (PDT), Peter Brooks wrote:
>
>> Alternatively, is there a good Ada package for handling directed graphs?
>
> Well, it is difficult to provide a universal implementation of graphs.
> Usually, you would needs a custom implementation.

Right. If your graph doesn't have any cycles (that is, it's a tree), then 
Ada.Containers.Multiway_Trees is the way to go (because it's part of the Ada 
Standard). Most of the data structures that I've needed can be described as 
a tree (possibility with a bit of rethinking), which is why we put that 
container into the Ada Standard.

                                 Randy.






  parent reply	other threads:[~2013-07-16  0:35 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-15  6:36 Ada & Ontology ( OWL,RDF, JSON, dot) Peter Brooks
2013-07-15  7:14 ` Dmitry A. Kazakov
2013-07-15  9:17   ` Peter Brooks
2013-07-16  0:35   ` Randy Brukardt [this message]
2013-07-19 21:17     ` Yannick Duchêne (Hibou57)
2013-07-20  5:56       ` Randy Brukardt
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox