data.tree (version 0.7.3)

CreateRegularTree: Create a tree for demo and testing

Description

Create a tree for demo and testing

Usage

CreateRegularTree(height = 5, branchingFactor = 3, parent = Node$new("1"))

Arguments

height

the number of levels

branchingFactor

the number of children per node

parent

the parent node (for recursion)