© 1980 by British Computer Society
| ||||||||||||||||||||||||||||||||||||||||||||||||||||
A transformation on ordered trees
¶1 Department of Mathematics, Computer Science and Statistics, University of South Carolina, Columbia, USA, 2 GTE Automatic Electric Laboratories, 11226 N. 23rd Avenue, Phoenix, Arizona, USA
The paper introduces a new transformation on ordered trees which is used to compute a few average properties of ordered trees. The properties that are studied are: (a) the average path length of an ordered tree with n nodes, (b) the average number of terminal nodes of an ordered tree with n nodes and (c) its average height. An algorithm is also presented to effect this transformation on any ordered tree T. The algorithm is linear in the number of nodes in T.
Received October 1978.
* Department of Mathematics, Computer Science and Statistics, University of South Carolina, Columbia, SC 29208, USA
GTE Automatic Electric Laboratories, 11226 N. 23rd Avenue, Phoenix, Arizona, 85029, USA
¶ The research reported here was conducted when the second author was a graduate student at the University of South Carolina