I am new to this community, my question relates with algorithm formatting using Latex. I could not find a specific title that deals with issues regarding algorithms. Hence, I post my question here.
Code: Select all
\begin{algorithm}
\caption{Adjust interface $I_x$ to meet resource demand $W_{P_{x}}(t)$}
\textbf{Input:} $I_x$, $W_{P_{x}}(t)$ \\
\textbf{Output:} $I^{'}_{x}$.
\label{alg:adjInt}
\begin{algorithmic}
// some statements
\RETURN $I^{'}_{x}$
\end{algorithmic}
\end{algorithm}
I get retrun I'x = 0 instead of just return I'x.
thanks,