I have this LaTeX code
\documentclass{article}
\usepackage{diagbox}
\usepackage{amsmath,array,graphicx}
\begin{document}
\begin{table}[htb]
\centering
\caption{Classifiaction}
\label{table:cc}
\resizebox{\columnwidth}{!}{%
\begin{tabular}{|c||*{1}{c|}|p{0.4\textwidth}|*{2}{c|}}\hline
\backslashbox{Classification}{Model}
& Model 1 & Model 2 & Model 3 & Model 4\\\hline\hline
Class & Class 1 & \begin{itemize}
\item Class 1 if $A=B$
\item Class 2 otherwise
\end{itemize} & Class 2 & Class 2\\\hline
Method & Method 1 & Method 2 & Method 1 & Method 2\\\hline
Time & Constant & Linear & Polylogarithmic & Exponential \\\hline
\end{tabular}
}
\end{table}
\end{document}
which produces a table that contains a cell with itemized bullets. The table looks ugly as the text is not centred inside the cell, there are some useless space for example in the cell with items, the lines are not equally spaced, etc.
How can I improve this table?
I have tried to use this method of adding itemized bullets How to use itemize in Table environment but I did not succeed, i.e., when I use \tabitem ....\\ \tabitem ...
the new item is not in the same cell but in a new line.