I've been searching for a while for a min-heap implementation variation that instead of offering amortised O(1) for decreasing a key, offers O(1) for increasing it. (With the trade off of having the decrease key operation with cost o(log(n)), since as here it's observed, both things are impossible at the same time).
I actually have a fixed size set of elements and I want to perform increments over the keys, or replacing the minimum element with a bigger one. So another approach that satisfies this would also be great!
Does anybody know a heap variation with constant amortised time increase-key operation?
Thanks!