MCPcopy Create free account
hub / github.com/codemix/graph /

Class

packages/graph/src/Steps.ts:4974–4974  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4972 * Used in Dijkstra's algorithm to achieve O((V + E) log V) complexity.
4973 */
4974class MinHeap<T> {
4975 private heap: T[] = [];
4976 private compareFn: (a: T, b: T) => number;
4977

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected