Level Order Tree Traversal of J48 Tree

[email protected]
Newsgroups gmane.comp.ai.weka
Message-ID <162435051003.69378.2934397950062715415@sys-mailman-prd.its.waikato.ac.nz>
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,

Spyros Halkidis
_______________________________________________
Wekalist mailing list -- [email protected]
Send posts to [email protected]
To unsubscribe send an email to [email protected]
To subscribe, unsubscribe, etc., visit https://list.waikato.ac.nz/postorius/lists/wekalist.list.waikato.ac.nz
List etiquette: http://www.cs.waikato.ac.nz/~ml/weka/mailinglist_etiquette.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.