A Simple Graph Package Providing an Iterator

Autor: Jonathan Rosenberg, Peter Hibbard, Mark Sherman, Andy Hisgen, Mary Shaw
Rok vydání: 1981
Předmět:
Zdroj: Studies in Ada Style ISBN: 9780387906287
Studies in Ada® Style ISBN: 9780387908168
DOI: 10.1007/978-1-4684-0139-4_5
Popis: Graphs, of one form or another, are an important data structure throughout most of computer science. This example displays an implementation of a simple package providing an abstraction of directed graphs. The specification includes some type definitions, culminating in the Ob j record type, that serves to define the structure of directed graphs. The user is responsible for allocation, initialization and manipulation of the nodes that form a graph.
Databáze: OpenAIRE