Ignore:
Timestamp:
Feb 11, 2015, 3:26:07 PM (4 years ago)
Author:
nmedfort
Message:

Temporary check in. Still getting table formatting right.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • docs/Working/icGrep/evaluation.tex

    r4494 r4498  
    9090of more complex expressions as shown in Table \ref{table:complexexpr}.
    9191
    92 \begin{table}
    93 \begin{center}
    94 \begin{tabular}{|c|r|r|r|}  \hline
    95 Regular & \multicolumn{3}{|c|}{CPU cycles per byte} \\ \cline{2-4}
    96 Expression & icGrep{} & pcre2grep & ugrep \\ \hline
    97 blah    & 1 & 1000 & 100 \\ \hline
    98 \end{tabular}
     92% \begin{table}
     93% \begin{center}
     94% \begin{tabular}{|c|r|r|r|}  \hline
     95% Regular & \multicolumn{3}{|c|}{CPU cycles per byte} \\ \cline{2-4}
     96% Expression & icGrep{} & pcre2grep & ugrep \\ \hline
     97% blah  & 1 & 1000 & 100 \\ \hline
     98% \end{tabular}
     99% \caption{Matching Times for Complex Expressions}\label{table:complexexpr}
     100% \end{center}
     101% \end{table}
     102
     103\begin{table}[ht]\centering % requires booktabs
     104\small
     105\begin{tabular}{@{}p{2.7cm}p{10.8cm}@{}}
     106\textbf{Name}&\textbf{Regular Expression}\\
     107\toprule
     108alphanumeric \#1&\verb`^[\p{L}\p{N}]*((\p{L}\p{N})|(\p{N}\p{L}))[\p{L}\p{N}]*$`\\
     109\midrule
     110alphanumeric \#2&\verb`[\p{L}\p{N}]*((\p{L}\p{N})|(\p{N}\p{L}))[\p{L}\p{N}]*`\\
     111\midrule
     112arabic&\verb`^[\p{Arabic}\p{Common}]*\p{Arabic}[\p{Arabic}\p{Common}]*$`\\
     113\midrule
     114currency&\verb`(\p{Sc}\s*(\d*|(\d{1,3}([,.]\d{3})*))([,.]\d{2}?)?)|`\newline\verb`((\d*|(\d{1,3}([,.]\d{3})*))([,.]\d{2}?)?\s*\p{Sc})`\\
     115\midrule
     116email &\verb`([^\p{Z}<]+@[\p{L}\p{M}\p{N}.-]+\.(\p{L}\p{M}*){2,6})(>|\p{Z}|$)`\\
     117\bottomrule
     118\end{tabular}
     119\caption{Regular Expressions}\label{table:regularexpr}
     120\end{table}
     121
     122\begin{table}[h]\centering % requires booktabs
     123\small
     124\begin{tabular}{@{}p{2.7cm}r@{~--~}rr@{~--~}rr@{~--~}rr@{~--~}rr@{~--~}r@{}}
     125Expression&\multicolumn{2}{>{\centering}p{2.2cm}}{icgrep}&\multicolumn{2}{>{\centering}p{2.2cm}}{icgrep-mt2}&\multicolumn{2}{>{\centering}p{2.2cm}}{icgrep-mt3}&\multicolumn{2}{>{\centering}p{2.2cm}}{pcre2grep}&\multicolumn{2}{>{\centering}p{2.2cm}}{ugrep541}\\
     126\toprule
     127alphanumeric \#1&2.4&5.0&2.0&4.1&2.0&4.1&8.2&11.3&8.8&11.3\\
     128alphanumeric \#2&2.3&4.9&1.9&4.0&2.0&4.0&209.9&563.5&182.3&457.9\\
     129arabic&1.5&3.4&1.1&2.4&1.1&2.5&7.5&270.8&8.9&327.8\\
     130currency&0.7&2.1&0.6&1.5&0.4&1.3&188.4&352.3&52.8&152.8\\
     131email&3.0&6.9&0.6&2.1&0.4&1.9&67.2&1442.0&108.8&1022.3\\
     132\bottomrule
     133\end{tabular}
    99134\caption{Matching Times for Complex Expressions}\label{table:complexexpr}
    100 \end{center}
    101135\end{table}
     136
     137
     138
     139
     140
     141
     142
     143
     144
     145
     146
     147
     148
    102149
    103150\subsection{Optimizations of Bitwise Methods}
Note: See TracChangeset for help on using the changeset viewer.