Reverse-delete Algorithm - Running Time

Running Time

The algorithm can be shown to run in O(E log V (log log V)3) time, where E is the number of edges and V is the number of vertices. This bound is achieved as follows:

  • sorting the edges by weight using a comparison sort in O(E log E) time
  • E iterations of loop
  • deleting in O(1) time
  • connectivity checked in O(logV (log log V)3) time (Thorup 2000).

Equally, the running time can be considered O(E log E (log log E)3) because the largest E can be is V2. Remember that logV2 = 2 * logV, so 2 is a multiplicative constant that will be ignored in big-O notation.

Read more about this topic:  Reverse-delete Algorithm

Famous quotes containing the words running and/or time:

    I abide by a rule concerning reviews: I will never ask, neither in writing nor in person, that a word be put in about my book.... One feels cleaner this way. When someone asks that his book be reviewed he risks running up against a vulgarity offensive to authorial sensibilities.
    Anton Pavlovich Chekhov (1860–1904)

    We New Yorkers see more death and violence than most soldiers do, grow a thick chitin on our backs, grimace like a rat and learn to do a disappearing act. Long ago we outgrew the need to be blowhards about our masculinity; we leave that to the Alaskans and Texans, who have more time for it.
    Edward Hoagland (b. 1932)