Dear Weka Developers,
I need to perform Level Order (a.k.a. Breadth First) Tree Traversal of the J48 Tree.
I have found two techniques for Level Order Tree Traversal, one recursive and one
with use of a queue, however, they can be applied only to binary trees. I do not
know how to handle the m_sons array, which can hold any number of descendants!
If anyone is aware of a technique for non-binary trees I would be grateful if he/she
could inform me about it!
Thank you in advance,
Show replies by date