A NEW BFS PARENT ARRAY ENCODING OF t-ARY TREES
Selim G. Akl ; Stephan Olariu ; Ivan Stojmenovic
Computing and Informatics, Tome 28 (2012) no. 1, / Harvested from Computing and Informatics
We introduce a new breadth first search (BFS) parent array encoding of trees as integer sequences. The new representation enables the inclusion of parent-children relations in a straightforward way, which is not the case with the existing representations. We also introduce a children array representation for binary trees and a simple algorithm for generating binary trees (including parent-children relations) using the notation. The algorithm can be applied to generate well-formed parenthesis strings in a simple way. Two generalizations to the case of children array representation for  t-ary trees are also given.
Publié le : 2012-01-26
Classification: 
@article{cai571,
     author = {Selim G. Akl and Stephan Olariu and Ivan Stojmenovic},
     title = {A NEW BFS PARENT ARRAY ENCODING OF t-ARY TREES},
     journal = {Computing and Informatics},
     volume = {28},
     number = {1},
     year = {2012},
     language = {en},
     url = {http://dml.mathdoc.fr/item/cai571}
}
Selim G. Akl; Stephan Olariu; Ivan Stojmenovic. A NEW BFS PARENT ARRAY ENCODING OF t-ARY TREES. Computing and Informatics, Tome 28 (2012) no. 1, . http://gdmltest.u-ga.fr/item/cai571/