Increases the key value of a heap element by a specified amount. After increase, element may need to bubble up to maintain heap property.
The type of max-heap array.
The max-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 bubble up to maintain heap property.