Mazdak Farrokhzad edited Version2.tex  over 10 years ago

Commit id: e38f28512eac93e48df47b75d3a7916fb8ae0872

deletions | additions      

       

Estimating constants:  \begin{enumerate}  \item method scope + etc.: $a = initSums + outerLoopInit + \\ outerLoopCondExtra + return\\  = \\  1 + 1 + 2 + 1 = 5$ \item outer loop: $b = forLoopTurn + assignThisSum + \\  innerLoopInit + innerLoopCondExtra = \\  3 + 1 + 1 + 2 = 7$ \item inner loop: $c = forLoopTurn + addThisSum + branch = 3 + 2 + 8 = 13$  \end{enumerate}