Untitled

tobiasc.dk

Untitled

e O(log(e))

G

v · (v − 1)/2


v · (v − 1)

log

= log(v · (v − 1)) − log(2) = log(v) + log(v − 1) − log(2)

2

O(log(v)) v

O(v · log(v))

K

G n



G


K G T

K

S V \S K S

V \S G

S

(u, v) S V \S

(u, v) K

(u, v) T

(u, v) /∈ T (u, v)

T (u, v) T (u, v)

S V \S S V \S e

T e (u, v) T ′ (u, v) e

(T ) = (e) +

(T ′ ) = ((u, v)) +

(u, v) S V \S

((u, v)) ≤ (e) (T ′ ) ≤ (T )

T T ′

Similar magazines