BinaryHeap<TElement>.Merge 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.3.0 (1.3.18.0209)
Syntaxpublic void Merge(
BinaryHeap<TElement> toMerge
)
Public Sub Merge (
toMerge As BinaryHeap(Of TElement)
)
Parameters
- toMerge
- Type: SD.Tools.Algorithmia.Heaps.BinaryHeap<TElement>
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