1

I´trying to write this pseudocode in Overleaf - cant do the fraction (line 15) enter image description here

\begin{algorithm} \caption{Učící mechanismus obcí}
\begin{algorithmic}[1]
\While {Obce ještě nedokonvergovaly}
  \State $t=t+1$
  \ForEach {$\ivar{KNIES}_p \in \tvar{Population}$}
    \For{$X_i\in\tvar{\textit{Přiřazené body}}$}
      \State $\ivar{KNIES}_p$.\quad
             \textbf{Learn}($X_i$, $\beta_t = \frac{t\beta_T}{T}$)
    \EndFor
  \EndForEach
  \If{$\ivar{KNIES_p} > \ivar{KNIES}$}
    \State $\ivar{KNIES}(t) = \ivar{KNIES}_p$
  \EndIf
  \If{$\ivar{KNIES_p} < \ivar{KNIES}$}
  \State $\ivar{KNIES}(t) = \ivar{KNIES}_p$
  \EndIf
  \State $\ivar{KNIES}(t) = \ivar{KNIES}(t)$
  \EndFor

\EndWhile
\end{algorithmic}
\end{algorithm}

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.