Octra libraries - v2.0.0
    Preparing search index...

    Class DecisionTreeCombination<T, U>

    Type Parameters

    • T extends object
    • U extends object

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    _blueprint: JSONSetBlueprint<T, U>
    _errors: JSONSetValidationError<T>[] = []
    _id: number
    _possibleSelections: PossibleSolution<T, U>[][]
    children: DecisionTreeNode<T, U>[] = []
    combination: "and" | "or"

    Accessors

    Methods

    • Protected

      calculates all possible permutations from a given set

      Type Parameters

      • T

      Parameters

      • array: T[]

        the set of elements to generate the permutations with

      • start: number

        first permutation will have start + 1 elements

      • end: number

        last permutation will have end + 1 elements

      Returns T[][]