\usepackage[ruled,linesnumbered]{algorithm2e}
\begin{algorithm}
\small
\caption{\small ABCD Algorithm}
\LinesNumbered
\SetKwInOut{KwIn}{\textbf{Initialize}}
\KwIn{$\{ \mathbf{W}, \mathcal{S} \}$.}
%\KwOut{$\{ \bm{\Theta} \}$.}
\Repeat{The value converges}{
Given $\{ A }$, for all $j$ and $k$, obtain $A$ according to\;
Solve the problem to update \;
\eIf{ A<B }{
Choose\;
}
{
Choose point\;
}
Given\;
Given\;
Given\;
\Repeat{The function converges}{
Given method\;
Given\;
Given\;
}
}
\end{algorithm}
Latex漂亮的代码框
猜你喜欢
转载自blog.csdn.net/qq_23947237/article/details/107615346
今日推荐
周排行