Increases the key value of a heap element by a specified amount. After increase, element may need to sink down to maintain heap property.
The type of min-heap array.
The min-heap instance.
The element to modify.
Amount to increase the key by.
true if element was found and modified, false otherwise.
true
false
Increases the key value of a heap element by a specified amount. After increase, element may need to sink down to maintain heap property.