\hypertarget{namespacetesting_1_1internal_1_1edit__distance}{}\section{testing\+:\+:internal\+:\+:edit\+\_\+distance Namespace Reference} \label{namespacetesting_1_1internal_1_1edit__distance}\index{testing\+::internal\+::edit\+\_\+distance@{testing\+::internal\+::edit\+\_\+distance}} \subsection*{Enumerations} \begin{DoxyCompactItemize} \item enum \mbox{\hyperlink{namespacetesting_1_1internal_1_1edit__distance_ad46aa6da12aec1a3f166310478b53a08}{Edit\+Type}} \{ \mbox{\hyperlink{namespacetesting_1_1internal_1_1edit__distance_ad46aa6da12aec1a3f166310478b53a08a7bdb9c74613a94f21b7489e0b5640a63}{k\+Match}}, \mbox{\hyperlink{namespacetesting_1_1internal_1_1edit__distance_ad46aa6da12aec1a3f166310478b53a08a63400b073f5b311a87d568b5ae27ffe8}{k\+Add}}, \mbox{\hyperlink{namespacetesting_1_1internal_1_1edit__distance_ad46aa6da12aec1a3f166310478b53a08a814768ef6cd0264a0a10b1e701a63e78}{k\+Remove}}, \mbox{\hyperlink{namespacetesting_1_1internal_1_1edit__distance_ad46aa6da12aec1a3f166310478b53a08afdbf30ecf9f32f60c646a34a358615f2}{k\+Replace}} \} \end{DoxyCompactItemize} \subsection*{Functions} \begin{DoxyCompactItemize} \item \mbox{\hyperlink{gtest_8h_aa73be6f0ba4a7456180a94904ce17790}{G\+T\+E\+S\+T\+\_\+\+A\+P\+I\+\_\+}} std\+::vector$<$ \mbox{\hyperlink{namespacetesting_1_1internal_1_1edit__distance_ad46aa6da12aec1a3f166310478b53a08}{Edit\+Type}} $>$ \mbox{\hyperlink{namespacetesting_1_1internal_1_1edit__distance_ad28f23b77f716200bc6644bfc7413a63}{Calculate\+Optimal\+Edits}} (const std\+::vector$<$ size\+\_\+t $>$ \&left, const std\+::vector$<$ size\+\_\+t $>$ \&right) \item \mbox{\hyperlink{gtest_8h_aa73be6f0ba4a7456180a94904ce17790}{G\+T\+E\+S\+T\+\_\+\+A\+P\+I\+\_\+}} std\+::vector$<$ \mbox{\hyperlink{namespacetesting_1_1internal_1_1edit__distance_ad46aa6da12aec1a3f166310478b53a08}{Edit\+Type}} $>$ \mbox{\hyperlink{namespacetesting_1_1internal_1_1edit__distance_ad2258c5c811f8f262335f58641b33544}{Calculate\+Optimal\+Edits}} (const std\+::vector$<$ std\+::string $>$ \&left, const std\+::vector$<$ std\+::string $>$ \&right) \item \mbox{\hyperlink{gtest_8h_aa73be6f0ba4a7456180a94904ce17790}{G\+T\+E\+S\+T\+\_\+\+A\+P\+I\+\_\+}} std\+::string \mbox{\hyperlink{namespacetesting_1_1internal_1_1edit__distance_a48cffebc6d3169ad1df7849b5f7fb5ff}{Create\+Unified\+Diff}} (const std\+::vector$<$ std\+::string $>$ \&left, const std\+::vector$<$ std\+::string $>$ \&right, size\+\_\+t context=2) \end{DoxyCompactItemize} \subsection{Enumeration Type Documentation} \mbox{\Hypertarget{namespacetesting_1_1internal_1_1edit__distance_ad46aa6da12aec1a3f166310478b53a08}\label{namespacetesting_1_1internal_1_1edit__distance_ad46aa6da12aec1a3f166310478b53a08}} \index{testing\+::internal\+::edit\+\_\+distance@{testing\+::internal\+::edit\+\_\+distance}!Edit\+Type@{Edit\+Type}} \index{Edit\+Type@{Edit\+Type}!testing\+::internal\+::edit\+\_\+distance@{testing\+::internal\+::edit\+\_\+distance}} \subsubsection{\texorpdfstring{Edit\+Type}{EditType}} {\footnotesize\ttfamily enum \mbox{\hyperlink{namespacetesting_1_1internal_1_1edit__distance_ad46aa6da12aec1a3f166310478b53a08}{testing\+::internal\+::edit\+\_\+distance\+::\+Edit\+Type}}} \begin{DoxyEnumFields}{Enumerator} \raisebox{\heightof{T}}[0pt][0pt]{\index{k\+Match@{k\+Match}!testing\+::internal\+::edit\+\_\+distance@{testing\+::internal\+::edit\+\_\+distance}}\index{testing\+::internal\+::edit\+\_\+distance@{testing\+::internal\+::edit\+\_\+distance}!k\+Match@{k\+Match}}}\mbox{\Hypertarget{namespacetesting_1_1internal_1_1edit__distance_ad46aa6da12aec1a3f166310478b53a08a7bdb9c74613a94f21b7489e0b5640a63}\label{namespacetesting_1_1internal_1_1edit__distance_ad46aa6da12aec1a3f166310478b53a08a7bdb9c74613a94f21b7489e0b5640a63}} k\+Match&\\ \hline \raisebox{\heightof{T}}[0pt][0pt]{\index{k\+Add@{k\+Add}!testing\+::internal\+::edit\+\_\+distance@{testing\+::internal\+::edit\+\_\+distance}}\index{testing\+::internal\+::edit\+\_\+distance@{testing\+::internal\+::edit\+\_\+distance}!k\+Add@{k\+Add}}}\mbox{\Hypertarget{namespacetesting_1_1internal_1_1edit__distance_ad46aa6da12aec1a3f166310478b53a08a63400b073f5b311a87d568b5ae27ffe8}\label{namespacetesting_1_1internal_1_1edit__distance_ad46aa6da12aec1a3f166310478b53a08a63400b073f5b311a87d568b5ae27ffe8}} k\+Add&\\ \hline \raisebox{\heightof{T}}[0pt][0pt]{\index{k\+Remove@{k\+Remove}!testing\+::internal\+::edit\+\_\+distance@{testing\+::internal\+::edit\+\_\+distance}}\index{testing\+::internal\+::edit\+\_\+distance@{testing\+::internal\+::edit\+\_\+distance}!k\+Remove@{k\+Remove}}}\mbox{\Hypertarget{namespacetesting_1_1internal_1_1edit__distance_ad46aa6da12aec1a3f166310478b53a08a814768ef6cd0264a0a10b1e701a63e78}\label{namespacetesting_1_1internal_1_1edit__distance_ad46aa6da12aec1a3f166310478b53a08a814768ef6cd0264a0a10b1e701a63e78}} k\+Remove&\\ \hline \raisebox{\heightof{T}}[0pt][0pt]{\index{k\+Replace@{k\+Replace}!testing\+::internal\+::edit\+\_\+distance@{testing\+::internal\+::edit\+\_\+distance}}\index{testing\+::internal\+::edit\+\_\+distance@{testing\+::internal\+::edit\+\_\+distance}!k\+Replace@{k\+Replace}}}\mbox{\Hypertarget{namespacetesting_1_1internal_1_1edit__distance_ad46aa6da12aec1a3f166310478b53a08afdbf30ecf9f32f60c646a34a358615f2}\label{namespacetesting_1_1internal_1_1edit__distance_ad46aa6da12aec1a3f166310478b53a08afdbf30ecf9f32f60c646a34a358615f2}} k\+Replace&\\ \hline \end{DoxyEnumFields} Definition at line 6605 of file gtest.\+h. \subsection{Function Documentation} \mbox{\Hypertarget{namespacetesting_1_1internal_1_1edit__distance_ad28f23b77f716200bc6644bfc7413a63}\label{namespacetesting_1_1internal_1_1edit__distance_ad28f23b77f716200bc6644bfc7413a63}} \index{testing\+::internal\+::edit\+\_\+distance@{testing\+::internal\+::edit\+\_\+distance}!Calculate\+Optimal\+Edits@{Calculate\+Optimal\+Edits}} \index{Calculate\+Optimal\+Edits@{Calculate\+Optimal\+Edits}!testing\+::internal\+::edit\+\_\+distance@{testing\+::internal\+::edit\+\_\+distance}} \subsubsection{\texorpdfstring{Calculate\+Optimal\+Edits()}{CalculateOptimalEdits()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}} {\footnotesize\ttfamily \mbox{\hyperlink{gtest_8h_aa73be6f0ba4a7456180a94904ce17790}{G\+T\+E\+S\+T\+\_\+\+A\+P\+I\+\_\+}} std\+::vector$<$\mbox{\hyperlink{namespacetesting_1_1internal_1_1edit__distance_ad46aa6da12aec1a3f166310478b53a08}{Edit\+Type}}$>$ testing\+::internal\+::edit\+\_\+distance\+::\+Calculate\+Optimal\+Edits (\begin{DoxyParamCaption}\item[{const std\+::vector$<$ size\+\_\+t $>$ \&}]{left, }\item[{const std\+::vector$<$ size\+\_\+t $>$ \&}]{right }\end{DoxyParamCaption})} \mbox{\Hypertarget{namespacetesting_1_1internal_1_1edit__distance_ad2258c5c811f8f262335f58641b33544}\label{namespacetesting_1_1internal_1_1edit__distance_ad2258c5c811f8f262335f58641b33544}} \index{testing\+::internal\+::edit\+\_\+distance@{testing\+::internal\+::edit\+\_\+distance}!Calculate\+Optimal\+Edits@{Calculate\+Optimal\+Edits}} \index{Calculate\+Optimal\+Edits@{Calculate\+Optimal\+Edits}!testing\+::internal\+::edit\+\_\+distance@{testing\+::internal\+::edit\+\_\+distance}} \subsubsection{\texorpdfstring{Calculate\+Optimal\+Edits()}{CalculateOptimalEdits()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}} {\footnotesize\ttfamily \mbox{\hyperlink{gtest_8h_aa73be6f0ba4a7456180a94904ce17790}{G\+T\+E\+S\+T\+\_\+\+A\+P\+I\+\_\+}} std\+::vector$<$\mbox{\hyperlink{namespacetesting_1_1internal_1_1edit__distance_ad46aa6da12aec1a3f166310478b53a08}{Edit\+Type}}$>$ testing\+::internal\+::edit\+\_\+distance\+::\+Calculate\+Optimal\+Edits (\begin{DoxyParamCaption}\item[{const std\+::vector$<$ std\+::string $>$ \&}]{left, }\item[{const std\+::vector$<$ std\+::string $>$ \&}]{right }\end{DoxyParamCaption})} \mbox{\Hypertarget{namespacetesting_1_1internal_1_1edit__distance_a48cffebc6d3169ad1df7849b5f7fb5ff}\label{namespacetesting_1_1internal_1_1edit__distance_a48cffebc6d3169ad1df7849b5f7fb5ff}} \index{testing\+::internal\+::edit\+\_\+distance@{testing\+::internal\+::edit\+\_\+distance}!Create\+Unified\+Diff@{Create\+Unified\+Diff}} \index{Create\+Unified\+Diff@{Create\+Unified\+Diff}!testing\+::internal\+::edit\+\_\+distance@{testing\+::internal\+::edit\+\_\+distance}} \subsubsection{\texorpdfstring{Create\+Unified\+Diff()}{CreateUnifiedDiff()}} {\footnotesize\ttfamily \mbox{\hyperlink{gtest_8h_aa73be6f0ba4a7456180a94904ce17790}{G\+T\+E\+S\+T\+\_\+\+A\+P\+I\+\_\+}} std\+::string testing\+::internal\+::edit\+\_\+distance\+::\+Create\+Unified\+Diff (\begin{DoxyParamCaption}\item[{const std\+::vector$<$ std\+::string $>$ \&}]{left, }\item[{const std\+::vector$<$ std\+::string $>$ \&}]{right, }\item[{size\+\_\+t}]{context = {\ttfamily 2} }\end{DoxyParamCaption})}