BinaryHeapTElementMerge 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)
Syntaxpublic void Merge(
BinaryHeap<TElement> toMerge
)
Public Sub Merge (
toMerge As BinaryHeap(Of TElement)
)
Parameters
- toMerge
- Type: SD.Tools.Algorithmia.HeapsBinaryHeapTElement
The heap to merge into this heap. This heap will be empty after the merge
RemarksMerging is expensive with this heap implementation. Consider another heap class if you are doing a lot of merging
See Also