¿Cómo puedo agregar comentarios con el paquete `algorithm2e`?

¿Cómo puedo agregar comentarios con el paquete `algorithm2e`?

Estoy usando algorithm2eel paquete para escribir un algoritmo y estoy intentando agregar las líneas 3 y 4 en el código en la captura de pantalla como comentario con \tcc{}pero sin seccuss. ¿Cómo puedo agregar comentarios con el algorithm2epaquete?

ingrese la descripción de la imagen aquí

Código:

\documentclass{article}
\usepackage[linesnumbered,ruled,vlined]{algorithm2e} 
\renewcommand{\baselinestretch}{1.5}
\usepackage{amsmath}

\begin{document}
\begin{algorithm}[H]
\SetAlgoLined
\KwData{2 graphs  $T$ and $\acute{T}$ with nodes V and $\acute{V}$.}
\KwResult{Find whether $T$ and $\acute{T}$ are isomorph.}

function($T$, $\acute{T}$) \\
 \Indp covert $T$ to $P_v$ and $\acute{T}$ to $\acute{P_v}$ ;\\
 $d=deg(P_T) \leq h(T)$ and $S=\{1,2,3,\dots,2h(T)\}$; \\
  $\acute{d} =deg(\acute{P_T}) \leq h(\acute{T})$ and $\acute{S}=\{1,2,3,\dots,2h(\acute{T})\}$; \\

 \eIf{$Pr[P_v = \acute{P_v}] = \frac{d}{S}=\frac{h(T)}{2h(T)} ==\frac{1}{2}$}{
    return true;
    }{
    return false;}

\end{algorithm}
\end{document}

Respuesta1

simplemente lo intenté

\tcc{$d=deg(P_T) \leq h(T)$ and $S=\{1,2,3,\dots,2h(T)\}$}
\tcc{$\acute{d} =deg(\acute{P_T}) \leq h(\acute{T})$ and $\acute{S}=\{1,2,3,\dots,2h(\acute{T})\}$}

y funcionó sin problemas. Simplemente tenga cuidado de retirarlo ; \\del final de la línea.

información relacionada