Skip to content

Commit

Permalink
fixed typos
Browse files Browse the repository at this point in the history
  • Loading branch information
RickGelhausen committed Dec 8, 2023
1 parent 6935eee commit 176839c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions exercise-sheet-5.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -109,15 +109,15 @@ $$
::: {.answer data-latex=""}

\[
\gamma(i,j)= & \;-\hspace{-6pt}\sum_{1\leq\ell<\ell'\leq K}
\gamma(i,j)= & \;-\hspace{-6pt}\sum_{1\leq l < l' \leq K}
\begin{cases}
h(a_{\ell i},a_{\ell' i}) + h(a_{\ell j},a_{\ell' j}) & \text{$a_{\ell i} - a_{\ell j}$, $a_{\ell' i} - a_{\ell' j}$ compl.}\\
h(a_{l i},a_{l' i}) + h(a_{l j},a_{l' j}) & \text{$a_{l i} - a_{l j}$, $a_{l' i} - a_{l' j}$ compl.}\\
0 & \text{otherwise},
\end{cases}
\\&+\delta\sum_{1\leq\ell\leq K}
\\&+\delta\sum_{1\leq l \leq K}
\begin{cases}
0 & \text{$a_{\ell i} - a_{\ell j}$ complementary}\\
0.25 & \text{$a_{\ell i}, a_{\ell j}$ are both gaps}\\ \\
0 & \text{$a_{l i} - a_{l j}$ complementary}\\
0.25 & \text{$a_{l i}, a_{l j}$ are both gaps}\\ \\
1 & \text{otherwise},
\end{cases}
\]
Expand Down

0 comments on commit 176839c

Please sign in to comment.