MCPcopy Create free account
hub / github.com/bighuang624/Algorithms-notes / increaseKey

Method increaseKey

code/algs4/IndexMinPQ.java:229–236  ·  view source on GitHub ↗

Increase the key associated with index i to the specified value. @param i the index of the key to increase @param key increase the key associated with index i to this key @throws IndexOutOfBoundsException unless 0 <= i < maxN @throws IllegalArgumentException if {@code key

(int i, Key key)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 3

containsMethod · 0.95
sinkMethod · 0.95
compareToMethod · 0.45

Tested by

no test coverage detected