Click or drag to resize
MaxPQKey Constructor (ComparerKey)
Initializes an empty priority queue using the given comparator.

Namespace: Algs4Net
Assembly: Algs4Net (in Algs4Net.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public MaxPQ(
	Comparer<Key> comparator
)

Parameters

comparator
Type: System.Collections.GenericComparerKey
comparator the order to use when comparing keys
See Also