FibonacciHeapTElementMerge Method |
Merges the specified heap into this heap.
Namespace:
SD.Tools.Algorithmia.Heaps
Assembly:
SD.Tools.Algorithmia (in SD.Tools.Algorithmia.dll) Version: 1.3.0.0 (1.3.17.0314)
Syntax Remarks Merge of two fibonacci heaps is considered O(1). This heap implementation keeps some datastructures for quickly finding elements back.
Although these datastructures have an O(1) insert performance characteristic, it can be that the merge performance of this implementation is
actually slightly less efficient than O(1) with large heaps
This routine merges objects inside toMerge into this object. This means that this object will have references to objects inside toMerge.
It's therefore not recommended to alter toMerge after this operation.
See Also