next up previous
Next: Up: Previous:

Analysis

n(H) = n
length(rootlist) $\leq$ D(n) + t(H) - 1
T(while loop) $\leq$ D(n) + t(H)
ci = O(D(n) + t(H))



\(\Phi(H)\) = t(H) + 2m(H)
\(\Phi(H')\)$\leq$ D(n) + 1 + 2m(H)
\(\hat{c_i}\) = ci + (D(n) + 1 + 2m(H)) - (t(H) + 2m(H))
= O(D(n) + t(H)) + D(n) + 1 - t(H)
= O(D(n))

Assuming adjustment of potential coefficients to dominate coefficients hidden in O(t(H)).


next up previous
Next: Up: Previous: