FSharpx.Collections


HeapPriorityQueue Module

Functions and values

Function or value Description

HeapPriorityQueue.empty maxQueue

Full Usage: HeapPriorityQueue.empty maxQueue

Parameters:
    maxQueue : bool

Returns: IPriorityQueue<'T>
maxQueue : bool
Returns: IPriorityQueue<'T>

HeapPriorityQueue.insert element pq

Full Usage: HeapPriorityQueue.insert element pq

Parameters:
Returns: IPriorityQueue<'T>
element : 'T
pq : IPriorityQueue<'T>
Returns: IPriorityQueue<'T>

HeapPriorityQueue.isEmpty pq

Full Usage: HeapPriorityQueue.isEmpty pq

Parameters:
Returns: bool
pq : IPriorityQueue<'T>
Returns: bool

HeapPriorityQueue.peek pq

Full Usage: HeapPriorityQueue.peek pq

Parameters:
Returns: 'T
pq : IPriorityQueue<'T>
Returns: 'T

HeapPriorityQueue.pop pq

Full Usage: HeapPriorityQueue.pop pq

Parameters:
Returns: 'T * IPriorityQueue<'T>
pq : IPriorityQueue<'T>
Returns: 'T * IPriorityQueue<'T>

HeapPriorityQueue.tryPeek pq

Full Usage: HeapPriorityQueue.tryPeek pq

Parameters:
Returns: 'T option
pq : IPriorityQueue<'T>
Returns: 'T option

HeapPriorityQueue.tryPop pq

Full Usage: HeapPriorityQueue.tryPop pq

Parameters:
Returns: ('T * IPriorityQueue<'T>) option
pq : IPriorityQueue<'T>
Returns: ('T * IPriorityQueue<'T>) option