import * as rimbu from "https://deno.land/x/rimbu@1.1.0/proximity/common/index.ts";
Variables
Sensible default distance function, based on |
Functions
Given an Iterable of [key, value] entries, applies the distance function to
each key, finding the one closest to the input key, also returning its
associated value as well as the related distance; returns |
Type Aliases
The distance between two values; a non-negative real number between: | |
Measures the distance between two values. | |
Match between a reference key and the closest key in a [key, value] collection: |