PairingHeap performs extremely well in practice, however (according to Okasaki) it should be avoided for applications taking advantage of persistence. Also according to Okasaki the time complexity of the heap functions in the PairingHeap implementation have "resisted" time complexity analysis. ofSeq: superior performance; insert: superior performance; tail: superior performance
Union case | Description |
Full Usage:
E bool
Parameters:
bool
|
|
Full Usage:
T(bool, 'T, PairingHeap<'T> list)
Parameters:
bool
Item2 : 'T
Item3 : PairingHeap<'T> list
|
|
Instance member | Description |
Full Usage:
this.Head()
Returns: 'T
|
|
|
|
Full Usage:
this.IsDescending
Returns: bool
|
|
Full Usage:
this.IsEmpty
Returns: bool
|
|
Full Usage:
this.Length()
Returns: int
|
|
|
|
|
|
Full Usage:
this.TryGetHead()
Returns: 'T option
|
|
|
|
|
|
|
|
|
|