Click or drag to resize

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.4.0.0 (1.4.19.0711)
Syntax
public void Merge(
	BinaryHeap<TElement> toMerge
)

Parameters

toMerge
Type: SD.Tools.Algorithmia.HeapsBinaryHeapTElement
The heap to merge into this heap. This heap will be empty after the merge
Remarks
Merging is expensive with this heap implementation. Consider another heap class if you are doing a lot of merging
See Also