fsprojects/FSharpx.Collections


HeapPriorityQueue

Namespace: FSharpx.Collections.Experimental

Functions and values

Function or valueDescription
empty maxQueue
Signature: maxQueue:bool -> IPriorityQueue<'T>
Type parameters: 'T
insert element pq
Signature: element:'T -> pq:IPriorityQueue<'T> -> IPriorityQueue<'T>
Type parameters: 'T
isEmpty pq
Signature: pq:IPriorityQueue<'T> -> bool
Type parameters: 'T
peek pq
Signature: pq:IPriorityQueue<'T> -> 'T
Type parameters: 'T
pop pq
Signature: pq:IPriorityQueue<'T> -> 'T * IPriorityQueue<'T>
Type parameters: 'T
tryPeek pq
Signature: pq:IPriorityQueue<'T> -> 'T option
Type parameters: 'T
tryPop pq
Signature: pq:IPriorityQueue<'T> -> ('T * IPriorityQueue<'T>) option
Type parameters: 'T
Fork me on GitHub