]> mj.ucw.cz Git - saga.git/commitdiff
A picture of a Q-heap.
authorMartin Mares <mj@ucw.cz>
Wed, 23 Apr 2008 17:20:34 +0000 (19:20 +0200)
committerMartin Mares <mj@ucw.cz>
Wed, 23 Apr 2008 17:20:34 +0000 (19:20 +0200)
PLAN
ram.tex

diff --git a/PLAN b/PLAN
index dfd8d689aaadf32d8fc8f3b7cbee69ea8351d3c4..8494170d3c2be484a940265efd8861b5dc81e20b 100644 (file)
--- a/PLAN
+++ b/PLAN
 
 TODO:
 
-Preface:
-
-- mention notation
-- cite GA booklet
-- mention bugs in Valeria's verification paper
-
-- G has to be connected, so m=O(n)
-
-Spanning trees:
-
-- cite Eisner's tutorial \cite{eisner:tutorial}
-
 Applications:
 
 - K best trees
@@ -93,7 +81,3 @@ Global:
 
 - each chapter should make clear in which model we work
 - clean up bibliography
-
-Pictures:
-
-- structure of a Q-heap
diff --git a/ram.tex b/ram.tex
index 9cd82445adc6d6a1b3a03e1da4bf0dc61290f516..2517b2bf001f06f58115133fe5d161962b137a38 100644 (file)
--- a/ram.tex
+++ b/ram.tex
@@ -955,6 +955,19 @@ lengths of the strings in~$S$.
 For our set~$X$, we define~$T$ as a~compressed trie for the set of binary
 encodings of the numbers~$x_i$, padded to exactly $W$~bits, i.e., for $S = \{ \(x)_W \mid x\in X \}$.
 
+\float{\valign{\vfil#\vfil\cr
+\hbox{\epsfbox{pic/qheap.eps}}\cr
+\noalign{\qquad\quad}
+  \halign{#\hfil&\quad#\hfil\cr
+    $x_1 = \0\0\0\0\1\1$ & $g_1=3$ \cr
+    $x_2 = \0\0\1\0\1\0$ & $g_2=4$ \cr
+    $x_3 = \0\1\0\0\0\1$ & $g_3=2$ \cr
+    $x_4 = \0\1\0\1\0\1$ & $g_4=5$ \cr
+    $x_5 = \1\0\0\0\0\0$ & $g_5=0$ \cr
+    $x_6 = \1\0\0\0\0\1$ \cr
+  }\cr
+}}{Six numbers stored in a~compressed trie}
+
 \obs
 The trie~$T$ has several interesting properties. Since all words in~$S$ have the same
 length, the leaves of the trie correspond to these exact words, that is to the numbers~$x_i$.