Binary Tree Gray Codes. Proskurowski, A. & Ruskey, F. Journal of Algorithms, 6(2):225--238, June, 1985.
Paper doi abstract bibtex In this paper the problem of generating all binary trees, as represented by well-formed parentheses strings, in such a way that the changes in successively generated trees are constant is discussed. In particular, an algorithm is developed that generates the strings by simply interchanging a left and a right parenthesis. It is also proven that it is impossible to generate all trees by interchanging an adjacent left and right (or right and left) parenthesis pair. The Appendix contains a Pascal program that implements the generation algorithm. Also, ranking and unranking algorithms are given.
@article{ Proskurowski1985,
abstract = {In this paper the problem of generating all binary trees, as represented by well-formed parentheses strings, in such a way that the changes in successively generated trees are constant is discussed. In particular, an algorithm is developed that generates the strings by simply interchanging a left and a right parenthesis. It is also proven that it is impossible to generate all trees by interchanging an adjacent left and right (or right and left) parenthesis pair. The Appendix contains a Pascal program that implements the generation algorithm. Also, ranking and unranking algorithms are given.},
author = {Proskurowski, Andrzej and Ruskey, Frank},
doi = {10.1016/0196-6774(85)90040-9},
file = {:Users/KunihiroWASA/Dropbox/paper/1985/Proskurowski, Ruskey, Binary Tree Gray Codes, 1985.pdf:pdf},
issn = {01966774},
journal = {Journal of Algorithms},
month = {June},
number = {2},
pages = {225--238},
title = {{Binary Tree Gray Codes}},
url = {http://www.sciencedirect.com/science/article/pii/0196677485900409 http://linkinghub.elsevier.com/retrieve/pii/0196677485900409},
volume = {6},
year = {1985}
}
Downloads: 0
{"_id":"JYEqGRbqRtkckwYpW","authorIDs":[],"author_short":["Proskurowski, A.","Ruskey, F."],"bibbaseid":"proskurowski-ruskey-binarytreegraycodes-1985","bibdata":{"abstract":"In this paper the problem of generating all binary trees, as represented by well-formed parentheses strings, in such a way that the changes in successively generated trees are constant is discussed. In particular, an algorithm is developed that generates the strings by simply interchanging a left and a right parenthesis. It is also proven that it is impossible to generate all trees by interchanging an adjacent left and right (or right and left) parenthesis pair. The Appendix contains a Pascal program that implements the generation algorithm. Also, ranking and unranking algorithms are given.","author":["Proskurowski, Andrzej","Ruskey, Frank"],"author_short":["Proskurowski, A.","Ruskey, F."],"bibtex":"@article{ Proskurowski1985,\n abstract = {In this paper the problem of generating all binary trees, as represented by well-formed parentheses strings, in such a way that the changes in successively generated trees are constant is discussed. In particular, an algorithm is developed that generates the strings by simply interchanging a left and a right parenthesis. It is also proven that it is impossible to generate all trees by interchanging an adjacent left and right (or right and left) parenthesis pair. The Appendix contains a Pascal program that implements the generation algorithm. Also, ranking and unranking algorithms are given.},\n author = {Proskurowski, Andrzej and Ruskey, Frank},\n doi = {10.1016/0196-6774(85)90040-9},\n file = {:Users/KunihiroWASA/Dropbox/paper/1985/Proskurowski, Ruskey, Binary Tree Gray Codes, 1985.pdf:pdf},\n issn = {01966774},\n journal = {Journal of Algorithms},\n month = {June},\n number = {2},\n pages = {225--238},\n title = {{Binary Tree Gray Codes}},\n url = {http://www.sciencedirect.com/science/article/pii/0196677485900409 http://linkinghub.elsevier.com/retrieve/pii/0196677485900409},\n volume = {6},\n year = {1985}\n}","bibtype":"article","doi":"10.1016/0196-6774(85)90040-9","file":":Users/KunihiroWASA/Dropbox/paper/1985/Proskurowski, Ruskey, Binary Tree Gray Codes, 1985.pdf:pdf","id":"Proskurowski1985","issn":"01966774","journal":"Journal of Algorithms","key":"Proskurowski1985","month":"June","number":"2","pages":"225--238","title":"Binary Tree Gray Codes","type":"article","url":"http://www.sciencedirect.com/science/article/pii/0196677485900409 http://linkinghub.elsevier.com/retrieve/pii/0196677485900409","volume":"6","year":"1985","bibbaseid":"proskurowski-ruskey-binarytreegraycodes-1985","role":"author","urls":{"Paper":"http://www.sciencedirect.com/science/article/pii/0196677485900409 http://linkinghub.elsevier.com/retrieve/pii/0196677485900409"},"downloads":0,"html":""},"bibtype":"article","biburl":"http://www-ikn.ist.hokudai.ac.jp/~wasa/enum.bib","creationDate":"2015-04-23T04:51:45.063Z","downloads":0,"keywords":[],"search_terms":["binary","tree","gray","codes","proskurowski","ruskey"],"title":"Binary Tree Gray Codes","year":1985,"dataSources":["YRMeqhMHoNu9HzJoC"]}