Context Navigation


Changeset 170 for docs/trunk


Ignore:
Timestamp:
Jan 22, 2008, 4:10:33 PM (18 years ago)
Author:
neil.c.c.brown
Message:

Added a blank divider slide at the start of the code->problems section,
and moved the replication slide to later on

File:
1 edited

Legend:

Unmodified
Added
Removed
  • docs/trunk/omega-test-slides/omega-test.tex

    r169 r170
    734734\section{Formulating Problems}
    735735
    736\begin{frame}[fragile]
    737\frametitle{Replication}
    738\begin{lstlisting}
    739PAR i = 0 FOR 10
    740 a[i] := a[i+1]
    741\end{lstlisting}
    742\begin{itemize}
    743\item For parallel replication (e.g. 0 FOR 10), we introduce a ghost variable $i'$: 0ドル \leq i < i' \leq 9$
    744\item Effectively checking for any two arbitrary (non-equal) indices
    745\item Must check both ways!
    746 \begin{itemize}
    747 \item \lstinline|a[i] := a[i+1]| is `safe' for $i = i' + 1,ドル but not $i + 1 = i'$
    748 \end{itemize}
    749\end{itemize}
    736\begin{frame}
    737\frametitle{Turning Code into Equations}
    750738\end{frame}
    751739
    770758\item They may cancel out anyway:
    771759\begin{lstlisting}
    772PAR i = 0 FOR 10
    773 scr[width*y + i] := 255
    760scr[width*y + 3], scr[width*y + 4] := 255,255
    774761\end{lstlisting}
    775\item Set $\sigma = $ \lstinline|width*y|: $\sigma + (削除) i = \sigma + i' \implies i = i' (削除ここまで)$
    762\item Set $\sigma = $ \lstinline|width*y|: $\sigma + (追記) 3 = \sigma + 4 \implies 3 = 4 (追記ここまで)$
    776763\end{itemize}
    777764\end{frame}
    878865%TODO try Adam's problem from the last presentation
    879866
    880%TODO we could probably cover all four x,y +- combinations:
    881%For negative y, use -y
    882%For negative x, change the sign of a (I think?)
    883%Even though four problems are generated, three are likely to be falsifiable quickly
    867\begin{frame}[fragile]
    868\frametitle{Replication}
    869\begin{lstlisting}
    870PAR i = 0 FOR 10
    871 a[i] := a[i+1]
    872\end{lstlisting}
    873\begin{itemize}
    874\item For parallel replication (e.g. 0 FOR 10), we introduce a ghost variable $i'$: 0ドル \leq i < i' \leq 9$
    875\item Effectively checking for any two arbitrary (non-equal) indices
    876\item Must check both ways!
    877 \begin{itemize}
    878 \item \lstinline|a[i] := a[i+1]| is `safe' for $i = i' + 1,ドル but not $i + 1 = i'$
    879 \end{itemize}
    880\end{itemize}
    881\end{frame}
    884882
    885883%replicated 0 FOR n. i + 1 REM n and j + 1 REM n, 0 <= i <= j - 1 <= n - 2
Note: See TracChangeset for help on using the changeset viewer.

AltStyle によって変換されたページ (->オリジナル) /