\caption{Algorithms parameters}
        \resizebox{8.25cm}{!} {%ajusta el tamaño del cuadro
                 \textbf{Algorithm} &\textbf{Parameters}&\textbf{Values}\\\hline
GA  &Number of iterations&200\\
&&Population size&200\\
&&N &11\\\hline
BPSO    &Number of iterations&200\\
&&Swarm size&200\\
&&N &11\\\hline
WDO&    Number of iterations&200\\
&&Population  size&200\\
&&a &0.4\\\hline
BFO&    Number of iterations&200\\
&&\(\theta  \)&0.1\\\hline
HGPDO&Same parameters as &Same values as of \\
&&of GA, PSO and WDO&GA, PSO and WDO \\\hline

  • 2
    Your \tabular line definition has only three columns, but most lines have four (separated by three &s). Add another column to the specification, or remove the "extra" & at the beginning of lines where it isn't needed. – barbara beeton Apr 30 at 2:20

In addition to adopting the recommendation of Don Hosek to change all instances of && to &, you also need to make sure that math mode is applied appropriately to the cells in column 2. Aligning the numbers in the third column on their explicit or implicit decimal markers would also seem desirable. Eliminating all vertical lines and using the macros of the booktabs package in order to give the table a more open look is to be encouraged.

The following minimum working example employs the IEEEtran document class as I don't seem to have access to the ieeeaccess document class (pun intended).

enter image description here

\caption{Algorithms parameters}
\begin{tabular}{@{} l >{$}l<{$} S[table-format=3.2] @{}}
Algorithm & \textup{Parameters} & {Values} \\
GA    &$Number of iterations$&200\\
      &$Population size$&200\\
      &N &11\\ 
BPSO  &$Number of iterations$&200\\
      &$Swarm size$&200\\
      &N &11\\ 
WDO   &$Number of iterations$&200\\
      &$Population size$&200\\
      &a &0.4\\ 
BFO   &$Number of iterations$&200\\
      &\theta &0.1\\ 
HGPDO & $Same as for GA,$ & {Same as for GA,} \\
      & $PSO and WDO$     & {PSO and WDO} \\


You've got too many &s on most of your lines. There should be one & between columns which, since you have three columns, means there should be no more than two &s on each line. My gut reaction glancing at the code is that every line beginning with && should begin with & instead.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.