UNPKG

binomial-heap

Version:

No dependency binomial heap, compatible with typescript, can have custom compare function

5 lines (4 loc) 285 B
import { Tree, Heap } from "../types"; export declare const readMin: <T>(merged: Tree<T>[], compare: (a: T, b: T) => number, getMin: (params: number) => void) => void; export declare const treeClimb: <T>(start: Tree<T>) => void; export declare const debug: <T>(heap: Heap<T>) => void;