summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--chapters/beyond-dsp.tex38
-rw-r--r--presentation/.~lock.comp-presentation.odp#1
-rw-r--r--presentation/comp-presentation.odpbin0 -> 3450571 bytes
-rw-r--r--presentation/img/dsp.pngbin0 -> 62662 bytes
-rw-r--r--presentation/img/edsp.pngbin0 -> 90630 bytes
-rw-r--r--presentation/img/idsp-alg.pngbin0 -> 102555 bytes
-rw-r--r--presentation/img/idsp-cost.pngbin0 -> 9317 bytes
-rw-r--r--presentation/img/idsp.pngbin0 -> 40332 bytes
-rw-r--r--presentation/img/irs.pngbin0 -> 63005 bytes
-rw-r--r--presentation/img/knn.pngbin0 -> 66889 bytes
-rw-r--r--presentation/img/koe.pngbin0 -> 256330 bytes
-rw-r--r--presentation/img/policy-costs.pngbin0 -> 77309 bytes
12 files changed, 35 insertions, 4 deletions
diff --git a/chapters/beyond-dsp.tex b/chapters/beyond-dsp.tex
index a2e7abf..26f733c 100644
--- a/chapters/beyond-dsp.tex
+++ b/chapters/beyond-dsp.tex
@@ -351,6 +351,33 @@ interface, with the same performance as their specialized implementations.
\subsection{Iterative Deletion Decomposability}
\label{ssec:dyn-idsp}
+
+
+\begin{algorithm}[t]
+ \caption{Answering an Iterative Deletion Decomposable Search Problem}
+ \label{alg:dyn-query}
+ \KwIn{$q$: query parameters, $\mathscr{I}_1 \ldots \mathscr{I}_m$: blocks}
+ \KwOut{$R$: query results}
+
+ $\mathscr{M} \gets \{\}$ \;
+ \For{$i \gets 1 \ldots m$}{$\mathscr{M} \gets \mathscr{M}\ \cup \texttt{local\_preproc}(\mathscr{I}_i, q)$ \;}
+ $(q_1, \ldots q_m) \gets \texttt{distribute\_query}(\mathscr{M}, q)$ \;
+ $R \gets \{\}; \ \ \texttt{rpt} \gets \bot$ \;
+ \Do{\texttt{rpt}}{
+ $r \gets \{\}$ \;
+ % the subscript in this one is wonky. Maybe do an array of Qs?
+ \For{$i \gets 1\ldots m$}{$r \gets r \cup \texttt{local\_query}(\mathscr{I}_i, q_i)$ \;}
+ %\Comment{For \red{name}, use \texttt{tombstone\_lookup} to remove all deleted records. }
+ %\If{\textbf{not} \texttt{SKIP\_DELETE\_FILTER}}{$locR \gets \texttt{filter\_deletes}(locR, S)$}
+ $R \gets R \cup \texttt{combine}(r)$ \;
+ $(\texttt{rpt}, q_1, \ldots,
+ q_m) \gets \texttt{repeat}(q, R, q_1,\ldots, q_m)$ \;
+ }
+ \Return{$R$}
+
+\end{algorithm}
+
+
We next turn out attention to support for deletes. Efficient delete
support in Bentley-Saxe dynamization is provably impossible~\cite{saxe79},
but, as discussed in Section~\ref{ssec:dyn-deletes} it is possible
@@ -396,9 +423,8 @@ class of search problem: \emph{iterative deletion decomposable} (IDSP). The
IDSP definition expands eDSP with a fifth operation,
\begin{itemize}
- \item $\mathbftt{repeat}(\mathcal{Q}, \mathcal{R}, \mathcal{Q}_1, \ldots,
- \mathcal{Q}_m) \to (\mathbb{B}, \mathcal{Q}_1, \ldots,
- \mathcal{Q}_m)$ \\
+ \item $\mathbftt{repeat}(q, R, q_1, \ldots, q_m) \to
+ (\mathbb{B}, q_1, \ldots, q_m)$ \\
Evaluate the combined query result in light of the query. If
a repetition is necessary to satisfy constraints in the query
(e.g., result set size), optionally update the local queries as
@@ -428,7 +454,11 @@ records. This can be done, for example, using the full-reconstruction
techniques in the literature~\cite{saxe79, merge-dsp, overmars83}
or through proactively performing reconstructions, such as with the
mechanism discussed in Section~\ref{sssec:sampling-rejection-bound},
-depending on the particulars of how deletes are implemented.
+depending on the particulars of how deletes are implemented. The
+full IDSP query algorithm is shown in Figure~\ref{alg:dyn-idsp-query}
+
+
+
As an example of how IDSP can facilitate delete support for search
problems, let's consider $k$-NN. This problem can be $C(n)$-deletion
diff --git a/presentation/.~lock.comp-presentation.odp# b/presentation/.~lock.comp-presentation.odp#
new file mode 100644
index 0000000..4f90081
--- /dev/null
+++ b/presentation/.~lock.comp-presentation.odp#
@@ -0,0 +1 @@
+,dbr4,e5-cse-343arch1,10.06.2025 16:29,file:///export/home/dbr4/.config/libreoffice/4; \ No newline at end of file
diff --git a/presentation/comp-presentation.odp b/presentation/comp-presentation.odp
new file mode 100644
index 0000000..057e662
--- /dev/null
+++ b/presentation/comp-presentation.odp
Binary files differ
diff --git a/presentation/img/dsp.png b/presentation/img/dsp.png
new file mode 100644
index 0000000..ce1ebcb
--- /dev/null
+++ b/presentation/img/dsp.png
Binary files differ
diff --git a/presentation/img/edsp.png b/presentation/img/edsp.png
new file mode 100644
index 0000000..1da2c82
--- /dev/null
+++ b/presentation/img/edsp.png
Binary files differ
diff --git a/presentation/img/idsp-alg.png b/presentation/img/idsp-alg.png
new file mode 100644
index 0000000..c9671bc
--- /dev/null
+++ b/presentation/img/idsp-alg.png
Binary files differ
diff --git a/presentation/img/idsp-cost.png b/presentation/img/idsp-cost.png
new file mode 100644
index 0000000..e1d2923
--- /dev/null
+++ b/presentation/img/idsp-cost.png
Binary files differ
diff --git a/presentation/img/idsp.png b/presentation/img/idsp.png
new file mode 100644
index 0000000..b1635a0
--- /dev/null
+++ b/presentation/img/idsp.png
Binary files differ
diff --git a/presentation/img/irs.png b/presentation/img/irs.png
new file mode 100644
index 0000000..7b51d90
--- /dev/null
+++ b/presentation/img/irs.png
Binary files differ
diff --git a/presentation/img/knn.png b/presentation/img/knn.png
new file mode 100644
index 0000000..fd4910b
--- /dev/null
+++ b/presentation/img/knn.png
Binary files differ
diff --git a/presentation/img/koe.png b/presentation/img/koe.png
new file mode 100644
index 0000000..ac22cef
--- /dev/null
+++ b/presentation/img/koe.png
Binary files differ
diff --git a/presentation/img/policy-costs.png b/presentation/img/policy-costs.png
new file mode 100644
index 0000000..3233272
--- /dev/null
+++ b/presentation/img/policy-costs.png
Binary files differ