]> mj.ucw.cz Git - saga.git/commitdiff
Fixed a tiny error in decision tree lemma
authorMartin Mares <mj@ucw.cz>
Mon, 25 Apr 2022 17:53:33 +0000 (19:53 +0200)
committerMartin Mares <mj@ucw.cz>
Mon, 25 Apr 2022 17:54:06 +0000 (19:54 +0200)
opt.tex

diff --git a/opt.tex b/opt.tex
index 202e52b72bdb449277d0d851efa4faff8adce8b1..d71f98310d02b216ca39e47a023b79b273ab83e8 100644 (file)
--- a/opt.tex
+++ b/opt.tex
@@ -882,12 +882,12 @@ than $n^4$ possible comparisons and less than $2^{n^2}$ spanning trees of~$G$,
 so the number of candidate decision trees is bounded by
 $(n^4+2^{n^2})^{2^{2n^2+1}} \le 2^{(n^2+1)\cdot 2^{2n^2+1}} \le 2^{2^{2n^2+2}} \le 2^{2^{3n^2}}$.
 
-We will enumerate the trees in an~arbitrary order, test each of them for correctness and
+We enumerate the trees in an~arbitrary order, test each tree for correctness and
 find the shallowest tree among those correct. Testing can be accomplished by running
 through all possible permutations of edges, each time calculating the MSF using any
 of the known algorithms and comparing it with the result given by the decision tree.
 The number of permutations does not exceed $(n^2)! \le (n^2)^{n^2} \le n^{2n^2} \le 2^{n^3}$
-and each one can be checked in time $\O(\poly(n))$.
+for sufficiently large~$n$ and each one can be checked in time $\O(\poly(n))$.
 
 On the Pointer Machine, trees and permutations can be certainly enumerated in time
 $\O(\poly(n))$ per object. The time complexity of the whole algorithm is therefore