]> mj.ucw.cz Git - saga.git/commitdiff
Unified yardsticks.
authorMartin Mares <mj@ucw.cz>
Sat, 19 Apr 2008 15:41:38 +0000 (17:41 +0200)
committerMartin Mares <mj@ucw.cz>
Sat, 19 Apr 2008 15:41:38 +0000 (17:41 +0200)
PLAN
opt.tex

diff --git a/PLAN b/PLAN
index 723d98b276bba253dd9cc47b9eb16c3f5b0ca500..e333a50b7a908bcf5726d16c8f02e9f4ed7d4d0b 100644 (file)
--- a/PLAN
+++ b/PLAN
@@ -73,7 +73,6 @@ Related:
 Models:
 
 - add references to the C language
-- PM: unify yardsticks
 - all data structures should mention space complexity
 
 Ranking:
diff --git a/opt.tex b/opt.tex
index 98464e9f299fbabba19cb447794598828e4c21a6..632fd4ee12631e10272c2f331c0371928716381b 100644 (file)
--- a/opt.tex
+++ b/opt.tex
@@ -482,7 +482,8 @@ Every manipulation with ranks performed by the soft heap operations can be
 implemented on the Pointer Machine in constant amortized time.
 
 \proof
-We create a~``yardstick'' --- a~double linked list whose elements represent the possible
+We will recycle the idea of ``yardsticks'' from Section \ref{bucketsort}.
+We create a~yardstick --- a~doubly linked list whose elements represent the possible
 values of a~rank. Every vertex of a~queue will store its rank as a~pointer to
 the corresponding ``tick'' of the yardstick. We will extend the list as necessary.
 
@@ -1057,7 +1058,7 @@ algorithm runs on it in linear time.
 
 The combined graph~$G_B$ has~$n$ vertices, but less than~$n$ edges from the
 individual spanning trees and at most~$m/4$ additional edges which were
-corrupted. The iterations of the Bor\o{u}vka's algorithm on~$G_B$ take $\O(m)$
+corrupted. The Bor\o{u}vka steps on~$G_B$ take $\O(m)$
 time by Lemma \ref{boruvkaiter} and they produce a~graph~$G_C$ with at most~$n/4$
 vertices and at most $n/4 + m/4 \le m/2$ edges. (The $n$~tree edges in~$G_B$ are guaranteed
 to be reduced by the Bor\o{u}vka's algorithm.) It is easy to verify that this