Versions in this module Expand all Collapse all v1 v1.2.2 Mar 4, 2025 v1.2.1 Feb 25, 2025 Changes in this version + func CalculateTreeDepth(qtyStreams, branchingFactor int) int + type NewTreeInput struct + BranchingFactor int + QtyStreams int + type Tree struct + BranchingFactor int + MaxDepth int + Nodes []TreeNode + QtyStreams int + func NewTree(input NewTreeInput) Tree + func (t *Tree) ToDisplay(index int) string + type TreeNode struct + Children []int + Index int + IsLeaf bool + Parent int