Sage Modeling and Simulation Library

Heap<(Of <(<'T>)>)> Constructor (HEAP_RULE, Int32, Int32, IComparer<(Of <(<'T>)>)>)

Initializes a new instance of the Heap<(Of <(<'T>)>)> class.

Namespace:  Highpoint.Sage.Utility
Assembly:  Sage4 (in Sage4.dll)

Syntax


public Heap(
	Heap<(Of <(<'T>)>)>..::..HEAP_RULE direction,
	int initialCapacity,
	int growthFactor,
	IComparer<T> comparer
)

Parameters

direction
Type: Highpoint.Sage.Utility..::..Heap<(Of <(<'T>)>)>..::..HEAP_RULE
The heap rule to be used for heap maintenance.
initialCapacity
Type: Int32
The initial capacity.
growthFactor
Type: Int32
The growth factor.
comparer
Type: IComparer<(Of <(<'T>)>)>
The comparer.