Algs4Net Class Library Documentation
Algs4Net Class Library Documentation
Algs4Net
MaxPQ(Key) Class
MaxPQ(Key) Constructor
MaxPQ(Key) Constructor
MaxPQ(Key) Constructor (Comparer(Key))
MaxPQ(Key) Constructor (Int32)
MaxPQ(Key) Constructor (Key[])
MaxPQ(Key) Constructor (Int32, Comparer(Key))
MaxPQ
Key
Constructor (Comparer
Key
)
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#
Copy
public
MaxPQ
(
Comparer
<Key>
comparator
)
Parameters
comparator
Type:
System.Collections.Generic
Comparer
Key
comparator the order to use when comparing keys
See Also
Reference
MaxPQ
Key
Class
MaxPQ
Key
Overload
Algs4Net Namespace