effect-tree - v1.0.36
    Preparing search index...

    Interface NumberedArbitraryOptions

    Numbered arbitrary tree generation options. A numbered arbitrary tree has unique node values, one per each number in the inclusive range initializeinitialize + nodeCount - 1 where the root node value is initialize.

    interface NumberedArbitraryOptions {
        branchBias: number;
        initialize: number;
        maxChildren: number;
        maxDepth: number;
        onlyBranches: boolean;
    }

    Hierarchy (View Summary)

    Index

    Properties

    branchBias: number

    Ratio of trees generated that will be branches and not leaves. Expects a ratio in the inclusive range of 0…1. Default is ¼.

    initialize: number

    Start numbering of nodes at this number. Default is 1.

    maxChildren: number

    Max child count per branch. Default is 5.

    maxDepth: number

    Maximum depth of trees generated.

    onlyBranches: boolean

    If true no leaves will be generated so that all trees will always have at least a height of 1. Default is false.