|
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241 |
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
- <meta http-equiv="X-UA-Compatible" content="IE=9"/>
- <meta name="generator" content="Doxygen 1.8.14"/>
- <meta name="viewport" content="width=device-width, initial-scale=1"/>
- <title>uTL: testing::internal::edit_distance Namespace Reference</title>
- <link href="tabs.css" rel="stylesheet" type="text/css"/>
- <script type="text/javascript" src="jquery.js"></script>
- <script type="text/javascript" src="dynsections.js"></script>
- <link href="navtree.css" rel="stylesheet" type="text/css"/>
- <script type="text/javascript" src="resize.js"></script>
- <script type="text/javascript" src="navtreedata.js"></script>
- <script type="text/javascript" src="navtree.js"></script>
- <script type="text/javascript">
- /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
- $(document).ready(initResizable);
- /* @license-end */</script>
- <link href="search/search.css" rel="stylesheet" type="text/css"/>
- <script type="text/javascript" src="search/searchdata.js"></script>
- <script type="text/javascript" src="search/search.js"></script>
- <link href="doxygen.css" rel="stylesheet" type="text/css" />
- </head>
- <body>
- <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
- <div id="titlearea">
- <table cellspacing="0" cellpadding="0">
- <tbody>
- <tr style="height: 56px;">
- <td id="projectalign" style="padding-left: 0.5em;">
- <div id="projectname">uTL
- </div>
- <div id="projectbrief">micro Template library</div>
- </td>
- </tr>
- </tbody>
- </table>
- </div>
- <!-- end header part -->
- <!-- Generated by Doxygen 1.8.14 -->
- <script type="text/javascript">
- /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
- var searchBox = new SearchBox("searchBox", "search",false,'Search');
- /* @license-end */
- </script>
- <script type="text/javascript" src="menudata.js"></script>
- <script type="text/javascript" src="menu.js"></script>
- <script type="text/javascript">
- /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
- $(function() {
- initMenu('',true,false,'search.php','Search');
- $(document).ready(function() { init_search(); });
- });
- /* @license-end */</script>
- <div id="main-nav"></div>
- </div><!-- top -->
- <div id="side-nav" class="ui-resizable side-nav-resizable">
- <div id="nav-tree">
- <div id="nav-tree-contents">
- <div id="nav-sync" class="sync"></div>
- </div>
- </div>
- <div id="splitbar" style="-moz-user-select:none;"
- class="ui-resizable-handle">
- </div>
- </div>
- <script type="text/javascript">
- /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
- $(document).ready(function(){initNavTree('namespacetesting_1_1internal_1_1edit__distance.html','');});
- /* @license-end */
- </script>
- <div id="doc-content">
- <!-- window showing the filter options -->
- <div id="MSearchSelectWindow"
- onmouseover="return searchBox.OnSearchSelectShow()"
- onmouseout="return searchBox.OnSearchSelectHide()"
- onkeydown="return searchBox.OnSearchSelectKey(event)">
- </div>
-
- <!-- iframe showing the search results (closed by default) -->
- <div id="MSearchResultsWindow">
- <iframe src="javascript:void(0)" frameborder="0"
- name="MSearchResults" id="MSearchResults">
- </iframe>
- </div>
-
- <div class="header">
- <div class="summary">
- <a href="#enum-members">Enumerations</a> |
- <a href="#func-members">Functions</a> </div>
- <div class="headertitle">
- <div class="title">testing::internal::edit_distance Namespace Reference</div> </div>
- </div><!--header-->
- <div class="contents">
- <table class="memberdecls">
- <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="enum-members"></a>
- Enumerations</h2></td></tr>
- <tr class="memitem:ad46aa6da12aec1a3f166310478b53a08"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacetesting_1_1internal_1_1edit__distance.html#ad46aa6da12aec1a3f166310478b53a08">EditType</a> { <a class="el" href="namespacetesting_1_1internal_1_1edit__distance.html#ad46aa6da12aec1a3f166310478b53a08a7bdb9c74613a94f21b7489e0b5640a63">kMatch</a>,
- <a class="el" href="namespacetesting_1_1internal_1_1edit__distance.html#ad46aa6da12aec1a3f166310478b53a08a63400b073f5b311a87d568b5ae27ffe8">kAdd</a>,
- <a class="el" href="namespacetesting_1_1internal_1_1edit__distance.html#ad46aa6da12aec1a3f166310478b53a08a814768ef6cd0264a0a10b1e701a63e78">kRemove</a>,
- <a class="el" href="namespacetesting_1_1internal_1_1edit__distance.html#ad46aa6da12aec1a3f166310478b53a08afdbf30ecf9f32f60c646a34a358615f2">kReplace</a>
- }</td></tr>
- <tr class="separator:ad46aa6da12aec1a3f166310478b53a08"><td class="memSeparator" colspan="2"> </td></tr>
- </table><table class="memberdecls">
- <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
- Functions</h2></td></tr>
- <tr class="memitem:ad28f23b77f716200bc6644bfc7413a63"><td class="memItemLeft" align="right" valign="top"><a class="el" href="gtest_8h.html#aa73be6f0ba4a7456180a94904ce17790">GTEST_API_</a> std::vector< <a class="el" href="namespacetesting_1_1internal_1_1edit__distance.html#ad46aa6da12aec1a3f166310478b53a08">EditType</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacetesting_1_1internal_1_1edit__distance.html#ad28f23b77f716200bc6644bfc7413a63">CalculateOptimalEdits</a> (const std::vector< size_t > &left, const std::vector< size_t > &right)</td></tr>
- <tr class="separator:ad28f23b77f716200bc6644bfc7413a63"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:ad2258c5c811f8f262335f58641b33544"><td class="memItemLeft" align="right" valign="top"><a class="el" href="gtest_8h.html#aa73be6f0ba4a7456180a94904ce17790">GTEST_API_</a> std::vector< <a class="el" href="namespacetesting_1_1internal_1_1edit__distance.html#ad46aa6da12aec1a3f166310478b53a08">EditType</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacetesting_1_1internal_1_1edit__distance.html#ad2258c5c811f8f262335f58641b33544">CalculateOptimalEdits</a> (const std::vector< std::string > &left, const std::vector< std::string > &right)</td></tr>
- <tr class="separator:ad2258c5c811f8f262335f58641b33544"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a48cffebc6d3169ad1df7849b5f7fb5ff"><td class="memItemLeft" align="right" valign="top"><a class="el" href="gtest_8h.html#aa73be6f0ba4a7456180a94904ce17790">GTEST_API_</a> std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacetesting_1_1internal_1_1edit__distance.html#a48cffebc6d3169ad1df7849b5f7fb5ff">CreateUnifiedDiff</a> (const std::vector< std::string > &left, const std::vector< std::string > &right, size_t context=2)</td></tr>
- <tr class="separator:a48cffebc6d3169ad1df7849b5f7fb5ff"><td class="memSeparator" colspan="2"> </td></tr>
- </table>
- <h2 class="groupheader">Enumeration Type Documentation</h2>
- <a id="ad46aa6da12aec1a3f166310478b53a08"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#ad46aa6da12aec1a3f166310478b53a08">◆ </a></span>EditType</h2>
-
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">enum <a class="el" href="namespacetesting_1_1internal_1_1edit__distance.html#ad46aa6da12aec1a3f166310478b53a08">testing::internal::edit_distance::EditType</a></td>
- </tr>
- </table>
- </div><div class="memdoc">
- <table class="fieldtable">
- <tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="ad46aa6da12aec1a3f166310478b53a08a7bdb9c74613a94f21b7489e0b5640a63"></a>kMatch </td><td class="fielddoc"></td></tr>
- <tr><td class="fieldname"><a id="ad46aa6da12aec1a3f166310478b53a08a63400b073f5b311a87d568b5ae27ffe8"></a>kAdd </td><td class="fielddoc"></td></tr>
- <tr><td class="fieldname"><a id="ad46aa6da12aec1a3f166310478b53a08a814768ef6cd0264a0a10b1e701a63e78"></a>kRemove </td><td class="fielddoc"></td></tr>
- <tr><td class="fieldname"><a id="ad46aa6da12aec1a3f166310478b53a08afdbf30ecf9f32f60c646a34a358615f2"></a>kReplace </td><td class="fielddoc"></td></tr>
- </table>
-
- <p class="definition">Definition at line <a class="el" href="gtest_8h_source.html#l06605">6605</a> of file <a class="el" href="gtest_8h_source.html">gtest.h</a>.</p>
-
- </div>
- </div>
- <h2 class="groupheader">Function Documentation</h2>
- <a id="ad28f23b77f716200bc6644bfc7413a63"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#ad28f23b77f716200bc6644bfc7413a63">◆ </a></span>CalculateOptimalEdits() <span class="overload">[1/2]</span></h2>
-
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname"><a class="el" href="gtest_8h.html#aa73be6f0ba4a7456180a94904ce17790">GTEST_API_</a> std::vector<<a class="el" href="namespacetesting_1_1internal_1_1edit__distance.html#ad46aa6da12aec1a3f166310478b53a08">EditType</a>> testing::internal::edit_distance::CalculateOptimalEdits </td>
- <td>(</td>
- <td class="paramtype">const std::vector< size_t > & </td>
- <td class="paramname"><em>left</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">const std::vector< size_t > & </td>
- <td class="paramname"><em>right</em> </td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td></td>
- </tr>
- </table>
- </div><div class="memdoc">
-
- </div>
- </div>
- <a id="ad2258c5c811f8f262335f58641b33544"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#ad2258c5c811f8f262335f58641b33544">◆ </a></span>CalculateOptimalEdits() <span class="overload">[2/2]</span></h2>
-
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname"><a class="el" href="gtest_8h.html#aa73be6f0ba4a7456180a94904ce17790">GTEST_API_</a> std::vector<<a class="el" href="namespacetesting_1_1internal_1_1edit__distance.html#ad46aa6da12aec1a3f166310478b53a08">EditType</a>> testing::internal::edit_distance::CalculateOptimalEdits </td>
- <td>(</td>
- <td class="paramtype">const std::vector< std::string > & </td>
- <td class="paramname"><em>left</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">const std::vector< std::string > & </td>
- <td class="paramname"><em>right</em> </td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td></td>
- </tr>
- </table>
- </div><div class="memdoc">
-
- </div>
- </div>
- <a id="a48cffebc6d3169ad1df7849b5f7fb5ff"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#a48cffebc6d3169ad1df7849b5f7fb5ff">◆ </a></span>CreateUnifiedDiff()</h2>
-
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname"><a class="el" href="gtest_8h.html#aa73be6f0ba4a7456180a94904ce17790">GTEST_API_</a> std::string testing::internal::edit_distance::CreateUnifiedDiff </td>
- <td>(</td>
- <td class="paramtype">const std::vector< std::string > & </td>
- <td class="paramname"><em>left</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">const std::vector< std::string > & </td>
- <td class="paramname"><em>right</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">size_t </td>
- <td class="paramname"><em>context</em> = <code>2</code> </td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td></td>
- </tr>
- </table>
- </div><div class="memdoc">
-
- </div>
- </div>
- </div><!-- contents -->
- </div><!-- doc-content -->
- <!-- start footer part -->
- <div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
- <ul>
- <li class="navelem"><a class="el" href="namespacetesting.html">testing</a></li><li class="navelem"><a class="el" href="namespacetesting_1_1internal.html">internal</a></li><li class="navelem"><a class="el" href="namespacetesting_1_1internal_1_1edit__distance.html">edit_distance</a></li>
- <li class="footer">Generated by
- <a href="http://www.doxygen.org/index.html">
- <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.14 </li>
- </ul>
- </div>
- </body>
- </html>
|