TOC Toolkit API - v0.1.0
    Preparing search index...

    Interface ExtractOptions<Op>

    Positive operator costs and the largest permitted additive tree cost.

    interface ExtractOptions<Op> {
        cost?: (operator: Op, children: number) => number;
        maxCost: number;
    }

    Type Parameters

    • Op
    Index
    cost?: (operator: Op, children: number) => number
    maxCost: number