caption
like "Algorithm 1 continued" to each of the consecutive part.Code: Select all
\begin{algorithm}
\caption{Construct relational tables}
\label{alg3}
\begin{algorithmic}[1]
\Input a set of data item clusters $C$
\Output a relational table with all data items aligned
\State some algorithm code
\State ...
\algstore{myalg}
\end{algorithmic}
\end{algorithm}
\begin{algorithm}
\caption{Algorithm \ref{alg3} continued}
\begin{algorithmic} [1] % enter the algorithmic environment
\algrestore{myalg}
\State some other algorithm code
\State ...
\end{algorithmic}
\end{algorithm}
thanks