Why if I write :
\State \textbf{upon event $< Init >$ do}
\For{\textbf{all $n$} $\in N$}
\State $value[r]=0$;
\EndFor
I have this output:
but I want:
How can I do it?Thankyou very much
algorithms
Why if I write :
\State \textbf{upon event $< Init >$ do}
\For{\textbf{all $n$} $\in N$}
\State $value[r]=0$;
\EndFor
I have this output:
but I want:
How can I do it?Thankyou very much
Best Answer
You can define a new block structure
\Event
...\EndEvent
to suit your needs: