Title :
An efficient algorithm of compressing decimal notations for tree structures
Author_Institution :
Dept. of Inf. Sci. & Syst. Eng., Tokushima Univ., Japan
Abstract :
A decimal notation satisfies many simple mathematical properties and it is a useful tool in the analysis of trees. A practical method is presented that compresses the decimal codes while maintaining the fast determination of relations (e.g. ancestor, descendant, brother, etc.). A special node, called a kernel node, including many common subcodes of the other codes, is defined and a compact data structure is presented using the kernel nodes. For the case where n(m) is the number of the total (kernel) nodes, it is proved that encoding a decimal code is a constant time, that the worst-case time complexity of compressing the decimal codes is O(n+m2), and that the size of the data structure is proportional to m. From the experimental results for some hierarchical semantic primitives for natural language processing, it is shown that the ratio m/ n is extremely small, ranging from 0.047 to 0.13
Keywords :
computational complexity; data compression; data structures; natural languages; trees (mathematics); ancestor; brother; common subcodes; compact data structure; data compression; decimal codes; decimal notations; descendant; encoding; experimental results; fast determination; hierarchical semantic primitives; kernel node; natural language processing; simple mathematical properties; tree structures; worst-case time complexity; Data structures; Encoding; Information science; Kernel; Knowledge representation; Maintenance engineering; Natural language processing; Natural languages; Systems engineering and theory; Tree data structures;
Conference_Titel :
Computer Software and Applications Conference, 1989. COMPSAC 89., Proceedings of the 13th Annual International
Conference_Location :
Orlando, FL
Print_ISBN :
0-8186-1964-3
DOI :
10.1109/CMPSAC.1989.65101