Algs4Net Class Library Documentation
Algs4Net Class Library Documentation
Algs4Net
IndexMaxPQ(Key) Class
IndexMaxPQ(Key) Methods
ChangeKey Method
Contains Method
DecreaseKey Method
Delete Method
DelMax Method
GetEnumerator Method
IncreaseKey Method
Insert Method
KeyOf Method
MainTest Method
IndexMaxPQ
<
Key
>
.
DelMax Method
Removes a maximum key and returns its associated index.
Namespace:
Algs4Net
Assembly:
Algs4Net (in Algs4Net.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
Copy
public
int
DelMax
()
Return Value
Type:
Int32
an index associated with a maximum key
Exceptions
Exception
Condition
InvalidOperationException
if this priority queue is empty
See Also
Reference
IndexMaxPQ
<
Key
>
Class
Algs4Net Namespace