ACM Home Page
Please provide us with feedback. Feedback
Programming with abstract data types, some examples
Full text PdfPdf (600 KB)
Source ACM Annual Conference/Annual Meeting archive
Proceedings of the 1978 annual conference - Volume 2 table of contents
Pages: 646 - 654  
Year of Publication: 1978
ISBN:0-89791-000-1
Author
Sponsor
ACM: Association for Computing Machinery
Publisher
ACM  New York, NY, USA
Bibliometrics
Downloads (6 Weeks): 3,   Downloads (12 Months): 27,   Citation Count: 0
Additional Information:

abstract   references   index terms   collaborative colleagues  

Tools and Actions: Request Permissions Request Permissions    Review this Article  
DOI Bookmark: Use this link to bookmark this Article: http://doi.acm.org/10.1145/800178.810103
What is a DOI?

ABSTRACT

The data structuring facilities of contemporary languages like Algol-68, Pascal and Simula supports only one type of graphs, the general graph. It is only possible to define the structure of a node in a graph, not to define how the nodes are interrelated. Nothing in the languages prevents the programmer from using for instance a node in a binary tree as an element in a double list. This means that the programmer has to prove a lot of invariants on graphs which would not be necessary if the language supported declarations of different graphs. This paper contains some examples of algorithms on different graphs. We use a presentation language which is based on Pascal. We have replaced the pointers in Pascal with a set of type constructors. These type constructors give us a possibility to manipulate different graphs in a safe way.


REFERENCES

Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.

 
1
Dijkstra EW: A note on two problems in connexion with graphs. Numerische Matematik 1,269-271 (1959).
 
2
Nordström Bengt: Some concepts for very high level languages without explicit pointers, Ph D thesis. University of Umeá, Sweden.
 
3
Scott D: Data types as lattices, Siam Journal on computing, 5 (1976), pp 522-587
 
4
Scott D: Lattice theory, data types and semantics, NYU Symposium on formal semantics (ed R. Rustin), Prentice Hall, NY (1972)
 
5