Fibonacci Heap - Summary of Running Times

Summary of Running Times

Common Operations Effect Unsorted Linked List Self-balancing binary search tree Binary heap Binomial heap Fibonacci heap Brodal queue Pairing heap
insert(data,key) Adds data to the queue, tagged with key O(1) O(log n) O(log n) O(log n) O(1) O(1) O(1)
findMin -> key,data Returns key,data corresponding to min-value key O(n) O(log n) or O(1) (**) O(1) O(log n) O(1) O(1) O(1)
deleteMin Deletes data corresponding to min-value key O(n) O(log n) O(log n) O(log n) O(log n)* O(log n) O(log n)*
delete(node) Deletes data corresponding to given key, given a pointer to the node being deleted O(1) O(log n) O(log n) O(log n) O(log n)* O(log n) O(log n)*
decreaseKey(node) Decreases the key of a node, given a pointer to the node being modified O(1) O(log n) O(log n) O(log n) O(1)* O(1) Unknown but bounded: *
merge(heap1,heap2) -> heap3 Merges two heaps into a third O(1) O(m log(n+m)) O(m + n) O(log n)*** O(1) O(1) O(1)

(*)Amortized time
(**)With trivial modification to store an additional pointer to the minimum element
(***)Where n is the size of the larger heap

Read more about this topic:  Fibonacci Heap

Famous quotes containing the words summary, running and/or times:

    I have simplified my politics into an utter detestation of all existing governments; and, as it is the shortest and most agreeable and summary feeling imaginable, the first moment of an universal republic would convert me into an advocate for single and uncontradicted despotism. The fact is, riches are power, and poverty is slavery all over the earth, and one sort of establishment is no better, nor worse, for a people than another.
    George Gordon Noel Byron (1788–1824)

    Swan/Mary Rutledge: Oh no, no. I’m not running away. I came here to get something, and I’m going to get it.
    Col. Cobb: Yes, but San Francisco is no place for a woman.
    Swan: Why not? I’m not afraid. I like the fog. I like this new world. I like the noise of something happening.... I’m tired of dreaming, Colonel Cobb. I’m staying. I’m staying and holding out my hands for gold—bright, yellow gold.
    Ben Hecht (1893–1964)

    The real pleasure of being Mick Jagger was in having everything but being tempted by nothing ... a smouldering ill will which silk clothes, fine food, wine, women, and every conceivable physical pampering somehow aggravated ... a drained and languorous, exquisitely photogenic ennui.
    —Anonymous “Chronicler.” Quoted in Philip Norman, The Life and Good Times of the Rolling Stones (1989)