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}
|
||||
\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}
|
||||
|
||||
\begin{figure}[h!]
|
||||
|
|
Loading…
Reference in New Issue