Data structures that generalize rectangular arrays

S. A. Hoffman
{"title":"Data structures that generalize rectangular arrays","authors":"S. A. Hoffman","doi":"10.1145/1460833.1460870","DOIUrl":null,"url":null,"abstract":"Three problems associated with structured data sets -- <u>description, allocation</u>, and <u>retrieval</u> -- are briefly considered. The first is a problem in describing data to a compiler in a formal manner that will allow the compiler program to allocate storage and retrieve data when the data is referenced. The second is the problem of providing contiguous storage for the data set in such a way that when suitably described pieces of the data are required at run time, the positions of these pieces of data relative to some base will be determinable. The third problem is that of referencing or describing subsets of the data set. A class of data structures is defined. This class is shown to be a generalization of the class of structures which are representable as n-dimensional rectangular arrays. These structures are termed generalized structures; a formal method of describing these structures (by descriptors) is defined. The formal entities, called reference expressions, that describe the data to be retrieved from storage, are also defined for this class of structures. Finally, the appropriate form of the storage mapping function is derived. The storage mapping function is the mathematical expression which relates the description of an item of data to its position in memory. The manner in which this function is derived from the descriptor is shown. In every case, the work performed for generalized structures is shown to be a direct generalization of the corresponding considerations for rectangular arrays. Finally, an ALGOL program for the Burroughs 220 computer is briefly described. The program simulates the actions that a compiler would take upon receiving a descriptor in forming the storage mapping function, and the actions that would be carried out at run time when a reference expression is presented.","PeriodicalId":307707,"journal":{"name":"AIEE-IRE '62 (Spring)","volume":"21 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"1899-12-30","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"11","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"AIEE-IRE '62 (Spring)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/1460833.1460870","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 11

Abstract

Three problems associated with structured data sets -- description, allocation, and retrieval -- are briefly considered. The first is a problem in describing data to a compiler in a formal manner that will allow the compiler program to allocate storage and retrieve data when the data is referenced. The second is the problem of providing contiguous storage for the data set in such a way that when suitably described pieces of the data are required at run time, the positions of these pieces of data relative to some base will be determinable. The third problem is that of referencing or describing subsets of the data set. A class of data structures is defined. This class is shown to be a generalization of the class of structures which are representable as n-dimensional rectangular arrays. These structures are termed generalized structures; a formal method of describing these structures (by descriptors) is defined. The formal entities, called reference expressions, that describe the data to be retrieved from storage, are also defined for this class of structures. Finally, the appropriate form of the storage mapping function is derived. The storage mapping function is the mathematical expression which relates the description of an item of data to its position in memory. The manner in which this function is derived from the descriptor is shown. In every case, the work performed for generalized structures is shown to be a direct generalization of the corresponding considerations for rectangular arrays. Finally, an ALGOL program for the Burroughs 220 computer is briefly described. The program simulates the actions that a compiler would take upon receiving a descriptor in forming the storage mapping function, and the actions that would be carried out at run time when a reference expression is presented.
一般化矩形数组的数据结构
简要地考虑了与结构化数据集相关的三个问题——描述、分配和检索。第一个问题是以一种正式的方式向编译器描述数据,这将允许编译器程序在引用数据时分配存储和检索数据。第二个问题是为数据集提供连续存储的问题,当在运行时需要适当描述的数据块时,这些数据块相对于某个基的位置将是可确定的。第三个问题是引用或描述数据集的子集。定义了一类数据结构。这类结构被证明是一类可表示为n维矩形数组的结构的推广。这些结构被称为广义结构;定义了描述这些结构的形式化方法(通过描述符)。还为这类结构定义了描述要从存储中检索的数据的称为引用表达式的形式实体。最后,推导出相应的存储映射函数形式。存储映射函数是将一项数据的描述与其在内存中的位置联系起来的数学表达式。显示了从描述符派生此函数的方式。在每一种情况下,对广义结构所做的工作被证明是对矩形阵列的相应考虑的直接概括。最后,简要介绍了一个用于Burroughs 220计算机的ALGOL程序。该程序模拟编译器在接收到形成存储映射函数的描述符时所采取的操作,以及在运行时出现引用表达式时所执行的操作。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信