Open Access. Powered by Scholars. Published by Universities.®

Physical Sciences and Mathematics Commons

Open Access. Powered by Scholars. Published by Universities.®

1996

Retrospective Theses and Dissertations

Articles 1 - 1 of 1

Full-Text Articles in Physical Sciences and Mathematics

Finding Paths In The Rotation Graph Of Binary Trees, Rodney O. Rogers Jan 1996

Finding Paths In The Rotation Graph Of Binary Trees, Rodney O. Rogers

Retrospective Theses and Dissertations

A binary tree coding scheme is a bijection mapping a set of binary trees to a set of integer tuples called codewords. One problem considered in the literature is that of listing the codewords for n-node binary trees, such that successive codewords represent trees differing by a single rotation, a standard operation for rebalancing binary search trees. Then, the codeword sequence corresponds to an Hamiltonian path in the rotation graph Rn of binary trees, where each node is labelled with an n-node binary tree, and an edge connects two nodes when their trees differ by a …