Skip to main content
Module

x/structurae/binary-heap.ts>BinaryHeap#update

Data structures for high-performance JavaScript applications.
Latest
method BinaryHeap.prototype.update
import { BinaryHeap } from "https://deno.land/x/structurae@4.0.1/binary-heap.ts";

Updates the position of an element inside the heap.

Parameters

index: number

the index of the element to update