CreateRegularTree: Create a tree for demo and testing

View source: R/util.R

CreateRegularTreeR Documentation

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)


gluc/data.tree documentation built on Oct. 10, 2024, 10:48 p.m.