KPriorityQueueFactory = <
K,V>(k,keyOrder,entries?) =>KPriorityQueue<K,V>
Defined in: packages/heap/src/priority-queue.ts:249
Create a KPriorityQueue of arity k. Separate from
BinaryPriorityQueueFactory because the arity is a construction
parameter rather than part of the kind.
Type Parameters
Section titled “Type Parameters”K
V
Parameters
Section titled “Parameters”number
keyOrder
Section titled “keyOrder”Order<K>
entries?
Section titled “entries?”Iterable<readonly [K, V]>
Returns
Section titled “Returns”KPriorityQueue<K, V>
Throws
Section titled “Throws”With code INVALID_ARITY when k is not an
integer of at least 2.