Skip to main content
Module

x/ssds/mod.ts>ArrayHeapPQ#_swim

Some Specialized Data Structures for Deno.
Latest
method ArrayHeapPQ.prototype._swim
import { ArrayHeapPQ } from "https://deno.land/x/ssds@0.2.0/mod.ts";

Attempts to swim a node to its correct position.

Parameters

index: number

The index of the node to swim.