Binary Tree Code Words as Context-Free Languages

Given a binary tree coding system, the set of valid code words of all binary trees can be considered as a context-free language over the alphabet used in the coding system. The complexity of the language obtained varies from one coding system to another. Xiang, Tang and Ushijima have recently proved some properties of such languages. We show that their results can be more easily proved by noticing the form of the generating grammar in question. Namely, in the simplest cases the language obtained is a left Szilard language, a very simple deterministic language. Moreover, we prove some new results concerning the 'binary tree languages'.

[1]  Shmuel Zaks,et al.  Lexicographic Generation of Ordered Trees , 1980, Theor. Comput. Sci..

[2]  Changjie Tang,et al.  Grammar-Oriented Enumeration of Binary Trees , 1997, Comput. J..

[3]  E. Makinen Efficient generation of rotational-admissible codewords for binary trees , 1991 .

[4]  James F. Korsh Counting and Randomly Generating Binary Trees , 1993, Inf. Process. Lett..

[5]  C. Q. Lee,et al.  The Computer Journal , 1958, Nature.

[6]  Donald E. Knuth,et al.  The art of computer programming: V.1.: Fundamental algorithms , 1997 .

[7]  Frank Ruskey,et al.  On Rotations and the Generation of Binary Trees , 1993, J. Algorithms.

[8]  Erkki Mäkinen,et al.  On context-free derivations , 1985 .

[9]  Erkki Mäkinen A note on Graftings, Rotations, and Distances in Binary Trees , 1992, Bull. EATCS.

[10]  Erkki Mäkinen,et al.  A hierarchy of context-free derivations , 1991, Fundamenta Informaticae.

[11]  Michael A. Arbib,et al.  An Introduction to Formal Language Theory , 1988, Texts and Monographs in Computer Science.

[12]  Alessandra Cherubini,et al.  Breath and Depth Grammars and Deque Automata , 1990, Int. J. Found. Comput. Sci..

[13]  Erkki Mäkinen,et al.  Left distance binary tree representations , 1987, BIT.

[14]  Erkki Mäkinen,et al.  A Survey on Binary Tree Codings , 1991, Comput. J..

[15]  Bapiraju Vinnakota,et al.  Enumeration of Binary Trees , 1994, Inf. Process. Lett..

[16]  Andrzej Proskurowski On the Generation of Binary Trees , 1980, JACM.