I am trying to copy a table from an existing tex file. How would I
produce this in lyx? Can I import just that bit of latex code somehow?
\begin{table}[ht]
\caption{Post-construction average time complexities for 5 different
problems
using standard and distributed suffix trees with $k$ computing nodes.
$r$ is
the number of strings for the All Pairs Suffix-Prefix problem and the number
of patterns for Exact Set Matching.}
\centering
\begin{tabular}{||c|c|c||}\hline
Problem&\multicolumn{2}{c||}{Expected Running Time}\\ \cline{2-3}
&Standard ST (Serial)&Distributed ST (Parallel)\\\hline
LCS and ELM &$O(n)$&$O(n/k)$\\
Maximal Repeat Finding & $O(n)$&$O(n/k)$\\
All Pairs Suffix-Prefix&$O(n+r^2)$&$O((n+r^2)/k)$\\
Exact Set Matching&$O(r\log n)$&$O((r\!\log n)/k)$\\
\hline
\end{tabular}
\end{table}
Raphael