Addressable Binary Heaps - v1.0.2
    Preparing search index...

    Type Alias IHeapArray<N>

    IHeapArray: N[] & { indices: WeakMap<N, number> }

    A specialized array type that maintains heap properties and node indices. Extends the standard Array with a WeakMap to track node positions.

    Type Parameters

    Type declaration

    • indices: WeakMap<N, number>

      Maps heap nodes to their current indices in the array.