CreateRegularTree: Create a tree for demo and testing

Description Usage Arguments

View source: R/util.R

Description

Create a tree for demo and testing

Usage

1
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)


data.tree documentation built on Aug. 3, 2020, 5:12 p.m.