File Explorer

/var/runtime/node_modules/@aws-sdk/node_modules/mnemonist

This explorer reads the filesystem of the server it runs on, so /workspace/user isn't present here. Browsing and the terminal still work against this server's own disk from /.

2 dirs
86 files
bk-tree.d.ts541 B · 24 lines
/** * Mnemonist BKTree Typings * ========================= */type DistanceFunction<T> = (a: T, b: T) => number; export default class BKTree<T> {    // Members  distance: DistanceFunction<T>;  size: number;   // Constructor  constructor(distance: DistanceFunction<T>);   // Methods  add(item: T): this;  search(n: number, query: T): Array<{item: T, distance: number}>;  toJSON(): object;  inspect(): any;   // Statics  static from<I>(iterable: Iterable<I> | {[key: string] : I}, distance: DistanceFunction<I>): BKTree<I>;}