Closed niemasd closed 6 months ago
I should probably also move the num_nodes()
function to Node
and just have Tree
call it on self.root
Added Tree.find_node()
and Node.num_nodes()
in https://github.com/niemasd/TreeSwift/commit/e033e043c27055017853ec8b21eafbb5c63421e2
Right now, there's no way to get the
Node
object labeled by a given string. I should add aget_node()
function to theTree
class that returns theNode
object(s) labeled by the given string