\documentclass[conference]{IEEEtran}
\IEEEoverridecommandlockouts
\usepackage{cite}
\usepackage{amsmath,amssymb,amsfonts}
\usepackage{graphicx}
\usepackage{textcomp}
\usepackage{xcolor}
\usepackage{colortbl}
\usepackage{lipsum}
\usepackage{tabularx}
\usepackage[noend]{algpseudocode}
\usepackage[linesnumbered,ruled]{algorithm2e}
\def\BibTeX{{\rm B\kern-.05em{\sc i\kern-.025em b}\kern-.08em
T\kern-.1667em\lower.7ex\hbox{E}\kern-.125emX}}
\title{AlgorithmTemplate}
\usepackage{fullpage}
\usepackage{times}
\usepackage{fancyhdr}
\include{pythonlisting}
\begin{document}
\title{Title}
\author{
}
\maketitle
\begin{abstract}
\end{abstract}
\begin{IEEEkeywords}
Keys
\end{IEEEkeywords}
\section{Introduction}
Ref~\cite{case2016analysis}.
\begin{algorithm}
\SetKwInOut{Input}{Input}
\SetKwInOut{Output}{Output}
\textbf{Data}: \\
\For{$\omega = 1,2, \cdots, N$}{
Vectors $Z_n=(z_{1},\cdots , z_{n})$:
$x = y + z$
\If{$\tau \in \{\chi\}$ in $\sigma$}{
}
}
\Output{Score}
\caption{Algo}
\end{algorithm}
\bibliographystyle{IEEEtran}
\bibliography{Ref}
\end{document}
我在算法中遇到以下问题,因为我想将语句分组到向量下,而我不想对“if”语句进行编号,因为它是下面向量下组的一部分,
这就是我要的,