Left distance binary tree representations
暂无分享,去创建一个
We present a new scheme for representing binary trees. The scheme is based on rotations as a previous scheme of Zerling. In our method the items of a representation have a natural geometric interpretation, and the algorithms related to the method are simple. We give an algorithm for enumerating all the representations for trees onn nodes, and an algorithm for building the tree corresponding to a given representation.
[1] David Zerling,et al. Generating binary trees using rotations , 1985, JACM.
[2] Jean Marcel Pallo,et al. Enumerating, Ranking and Unranking Binary Trees , 1986, Comput. J..
[3] Frank Ruskey,et al. Binary Tree Gray Codes , 1985, J. Algorithms.
[4] Frank Ruskey,et al. Generating Binary Trees Lexicographically , 1977, SIAM J. Comput..