Fixed OnePass example to use the correct variable names as in the figure.
parent
d24000557e
commit
e2ff978944
|
@ -39,7 +39,7 @@ Please note that it is \textit{assumed} that the original call to \onepass consi
|
||||||
|
|
||||||
\subsection{$\onepass$ Example}
|
\subsection{$\onepass$ Example}
|
||||||
\begin{Example}\label{example:one-pass}
|
\begin{Example}\label{example:one-pass}
|
||||||
Let $\etree$ encode the expression $(X_1 + X_2)(X_1 - X_2) + X_2^2$. After one pass, \Cref{alg:one-pass-iter} would have computed the following weight distribution. For the two inputs of the sink gate $\circuit$, $\circuit.\lwght = \frac{4}{5}$ and $\circuit.\rwght = \frac{1}{5}$. Similarly, for $\stree$ denoting the left input of $\circuit_{\lchild}$, $\stree.\lwght = \stree.\rwght = \frac{1}{2}$. This is depicted in \Cref{fig:expr-tree-T-wght}.
|
Let $\etree$ encode the expression $(X + Y)(X - Y) + Y^2$. After one pass, \Cref{alg:one-pass-iter} would have computed the following weight distribution. For the two inputs of the sink gate $\circuit$, $\circuit.\lwght = \frac{4}{5}$ and $\circuit.\rwght = \frac{1}{5}$. Similarly, for $\stree$ denoting the left input of $\circuit_{\lchild}$, $\stree.\lwght = \stree.\rwght = \frac{1}{2}$. This is depicted in \Cref{fig:expr-tree-T-wght}.
|
||||||
\end{Example}
|
\end{Example}
|
||||||
|
|
||||||
\begin{figure}[h!]
|
\begin{figure}[h!]
|
||||||
|
|
2
main.tex
2
main.tex
|
@ -29,7 +29,7 @@
|
||||||
\usepackage[normalem]{ulem}
|
\usepackage[normalem]{ulem}
|
||||||
\usepackage{subcaption}
|
\usepackage{subcaption}
|
||||||
\usepackage{booktabs}
|
\usepackage{booktabs}
|
||||||
\usepackage{todonotes}
|
\usepackage[disable]{todonotes}
|
||||||
\usepackage{graphicx}
|
\usepackage{graphicx}
|
||||||
\usepackage{listings}
|
\usepackage{listings}
|
||||||
%%%%%%%%%% SQL + proveannce listing settings
|
%%%%%%%%%% SQL + proveannce listing settings
|
||||||
|
|
Loading…
Reference in New Issue