* Move the topK window. Only works with TopKArray implementation.
(options: { offset?: number; limit?: number })
| 56 | * Move the topK window. Only works with TopKArray implementation. |
| 57 | */ |
| 58 | move(options: { offset?: number; limit?: number }): TopKMoveChanges<[K, T]> { |
| 59 | if (!(this.#topK instanceof TopKArray)) { |
| 60 | throw new Error( |
| 61 | `Cannot move B+-tree implementation of TopK with fractional index`, |
| 62 | ) |
| 63 | } |
| 64 | return this.#topK.move(options) |
| 65 | } |
| 66 | |
| 67 | #updateMultiplicity( |
| 68 | key: K, |
nothing calls this directly
no outgoing calls
no test coverage detected