提问于:
浏览数:
1814
```tex
\documentclass[11pt]{article}
\usepackage{CJK}
\usepackage[top=2cm, bottom=2cm, left=2cm, right=2cm]{geometry}
\usepackage{algorithm}
\usepackage{algorithmicx}
\usepackage{algpseudocode}
\usepackage{amsmath}
\floatname{algorithm}{Algorithm}
\begin{document}
\begin{CJK*}{UTF8}{gkai}
\begin{algorithm}
\caption{}
\begin{algorithmic}[1]%每行显示行号
%for loop
% \begin{minipage}[t]{0.9\linewidth}
\For {every time step {$T_C$}}
\State Intelligent clustering and association step (performed in the network orchestrator module):
\State perform clustering with constrained k-means on cell sites to identify N clusters $(C=
\{C_1, C_2,C_3, \cdots \cdots C_N \}) $ based on the predicted value of traffic load T and user access times UAT of each cell sites;
\EndFor
% \end{minipage}
\end{algorithmic}
\end{algorithm}
\end{CJK*}
\end{document}
```
![](https://pics.latexstudio.net/data/images/201912/f17795a1ac90cd3.png)