forked from rc2sql/rc2sql
-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.tex
84 lines (75 loc) · 3.62 KB
/
main.tex
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
\documentclass[11pt,a4paper]{article}
\usepackage[left=1.5cm,right=1.5cm,top=2.5cm,bottom=2.5cm]{geometry}
\usepackage[utf8]{inputenc}
\usepackage[english]{babel}
\usepackage{amsmath}
\usepackage{float}
\pagenumbering{gobble}
%%% Parameters
\newcommand{\eparam}{n}
\newcommand{\togolf}{200s}
\newcommand{\tosusp}{400s}
%%% Query names
\newcommand{\qry}{Q}
\newcommand{\qsusp}{Q^{\mathit{susp}}}
\newcommand{\qsuspusr}{Q^{\mathit{susp}}_{\mathit{user}}}
\newcommand{\qsuspa}{{Q^{\mathit{susp}}_{\mathit{text}}}}
%%% Experiment names
\newcommand{\smallexp}{\textsc{Small}}
\newcommand{\mediumexp}{\textsc{Medium}}
\newcommand{\largeexp}{\textsc{Large}}
\newcommand{\infexp}{\textsc{Infinite}}
%%% Tool names
\newcommand{\tool}{\ensuremath{\mathsf{RC2SQL}}}
\newcommand{\toolnonopt}{\ensuremath{\mathsf{RC2SQL}^{-}}}
\newcommand{\vgtool}{\ensuremath{\mathsf{VGT}}}
\newcommand{\vgtoolnonopt}{\ensuremath{\mathsf{VGT}^{-}}}
\newcommand{\ail}{\ensuremath{\mathsf{Ail. et al.}}}
\newcommand{\ddd}{\ensuremath{\mathsf{DDD}}}
\newcommand{\ldd}{\ensuremath{\mathsf{LDD}}}
\newcommand{\mpreg}{\ensuremath{\mathsf{MonPoly}^\mathsf{REG}}}
%%% Misc
\newcommand{\trtime}{Translation time}
\newcommand{\cspace}{\;\;}
\newcommand{\expspace}{8pt}
\newcommand{\vgtna}{\ensuremath{-}}
\newcommand{\cntsub}[1]{\left|\mathsf{sub}(#1)\right|}
\newcommand{\dgstrat}{\gamma}
\newcommand{\strategya}{\text{Infinite results ($\dgstrat=0$)}}
\newcommand{\strategyb}{\text{Finite results ($\dgstrat=1$)}}
\begin{document}
\begin{figure}[H]
\begin{tabular}{@{}l@{\cspace}|@{\cspace}r@{\cspace}r@{\cspace}r@{\cspace}r@{\cspace}r@{\cspace}r@{\cspace}r@{\cspace}r@{\cspace}r@{\cspace}r@{}}
\noalign{Experiment \smallexp{}, Evaluable pseudorandom queries $\qry$, $\cntsub{\qry}=14$, $\eparam=500$:}
\csname @@input\endcsname ./exps_small.tex
\noalign{\vspace{\expspace}}
\noalign{Experiment \mediumexp{}, Evaluable pseudorandom queries $\qry$, $\cntsub{\qry}=14$, $\eparam=20000$:}
\csname @@input\endcsname ./exps_medium.tex
\noalign{\vspace{\expspace}}
\noalign{Experiment \largeexp{}, Evaluable pseudorandom queries $\qry$, $\cntsub{\qry}=14$, tool = \tool{}:}
\csname @@input\endcsname ./exps_large.tex
\noalign{\vspace{\expspace}}
\noalign{Experiment \infexp{}, Non-evaluable pseudorandom queries $\qry$, $\cntsub{\qry}=7$, $\eparam=4000$:}
&\multicolumn{5}{c@{\cspace}|@{\cspace}}{$\strategya$}&\multicolumn{5}{c}{$\strategyb$}\\
\csname @@input\endcsname ./exps_inf.tex
\end{tabular}
\caption{Experiments \smallexp{}, \mediumexp{}, \largeexp{}, and \infexp{}.
We use the following abbreviations: TO = Timeout of \togolf{}, RE = Runtime Error.}
\end{figure}
\begin{figure}[H]
\begin{tabular}{@{}l@{\cspace}|@{\cspace}r@{\cspace}r@{\cspace}|@{\cspace}r@{\cspace}r@{\cspace}|@{\cspace}r@{\cspace}r@{}}
\multicolumn{1}{r@{\cspace}|@{\cspace}}{Query}&\multicolumn{2}{c@{\cspace}|@{\cspace}}{$\qsusp$}&\multicolumn{2}{c@{\cspace}|@{\cspace}}{$\qsuspusr$}&\multicolumn{2}{c}{$\qsuspa$}\\
\multicolumn{1}{r@{\cspace}|@{\cspace}}{Param. $\eparam$}&$10^3$&$10^4$&$10^3$&$10^4$&$10^3$&$10^4$\\
\hline
\csname @@input\endcsname ./exps_suspa.tex
\noalign{\vspace{\expspace}}
\multicolumn{1}{r@{\cspace}|@{\cspace}}{Query}&\multicolumn{2}{c@{\cspace}|@{\cspace}}{$\qsusp$}&\multicolumn{2}{c@{\cspace}|@{\cspace}}{$\qsuspusr$}&\multicolumn{2}{c}{$\qsuspa$}\\
\multicolumn{1}{r@{\cspace}|@{\cspace}}{Dataset}&GC&MI&GC&MI&GC&MI\\
\hline
\csname @@input\endcsname ./exps_suspb.tex
\end{tabular}
\caption{Experiment with the queries $\qsusp$, $\qsuspusr$, and $\qsuspa$.
We use the following abbreviations: GC = Gift Cards dataset, MI = Musical Instruments dataset, TO = Timeout of \tosusp{}.}
\label{fig:suspexps}
\end{figure}
\end{document}