ENCODING DATA-STRUCTURES IN TREES

被引:20
作者
ROSENBERG, AL
机构
[1] Mathematical Science Department, IBM Thomas J Watson Research Center, Yorktown Heights
关键词
complexity of data representaUon; data encoding; data representation; data structure; graph embedding; storage representations for (extendible) arrays; storage representations for data structures; storage structure;
D O I
10.1145/322154.322160
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
The notion of a data encoding is meant to be a formal counterpart of the informal notion of the translauon of a logical data structure into a physical storage structure Both kinds of structures are represented here by graphs, and an encoding is a type of embedding of the guest (logical structure) graph in the host (physical structure) graph The cost of an encoding is the average amount that the edges of the guest graph are stretched as they are replaced by paths m the host graph via the encoding, the average is weighted by a probability distribution (called a “usage pattern”) on the edges of the guest graph, that is intended to represent the anticipated pattern of traversing that graph This paper studms encodmgs of data structures in trees, with an eye toward developing techniques for analyzing such encodlngs. Two guest structures are studied here, namely, lines and arrays Upper and lower bounds on the costs of encodmgs of these structures in trees are derived, in several cases these bounds are asymptotically coincident, or at least very close The main results concerning line-guests exhibit certain (best possible) sufficient conditions for the costs of encodmgs of lines in trees to be independent of the lengths of the lines The mare results concerning array-guests are exemplified by the foUowmg The costs of encodlngs of d-dimensional arrays m 2a-ary trees are shown to have colnodent upper and lower bounds of 4 + o(1), and the costs of encodlngs of such arrays in binary trees are shown to have upper and lower bounds of 3d + 1 + o(I) and 2 885d + I + 0 116/d + o(1), respectively, for the case d = 2, the derived bounds are even closer than this general result would suggest the upper and lower bounds for encodmgs of 2-dimensional arrays in binary trees are 7 + o(i) and 6 98 + o(I), respectively. © 1979, ACM. All rights reserved.
引用
收藏
页码:668 / 689
页数:22
相关论文
共 26 条
[1]  
[Anonymous], 1967, INEQUALITIES
[2]  
DEMILLE RA, 1978, P J HOPKINS C INFORM, P408
[3]   PRESERVING AVERAGE PROXIMITY IN ARRAYS [J].
DEMILLO, RA ;
EISENSTAT, SC ;
LIPTON, RJ .
COMMUNICATIONS OF THE ACM, 1978, 21 (03) :228-231
[4]  
FISCHER PC, 1972, J ACM, V19, P580
[5]   COMPLEXITY RESULTS FOR BANDWIDTH MINIMIZATION [J].
GAREY, MR ;
GRAHAM, RL ;
JOHNSON, DS ;
KNUTH, DE .
SIAM JOURNAL ON APPLIED MATHEMATICS, 1978, 34 (03) :477-495
[6]  
Gotlieb C. C., 1974, Acta Informatica, V3, P297, DOI 10.1007/BF00263586
[7]   OPTIMAL ASSIGNMENTS OF NUMBERS TO VERTICES [J].
HARPER, LH .
JOURNAL OF THE SOCIETY FOR INDUSTRIAL AND APPLIED MATHEMATICS, 1964, 12 (01) :131-135
[8]  
Harper LH, 1966, J COMBINATORIAL THEO, V1, P385, DOI [DOI 10.1016/S0021-9800(66)80059-5, 10.1016/S0021-9800(66)80059-5]
[9]  
IORDANSKII MA, 1976, PROBLEMY KIBERNET, V31, P109
[10]  
Knuth Donald E, 1968, ART COMPUTER PROGRAM, V1