Documentation for 0953376d31

This commit is contained in:
github-actions
2023-06-16 21:18:14 +00:00
parent 26f1eee566
commit 14deeecd50
7241 changed files with 234176 additions and 54779 deletions

View File

@@ -3,7 +3,7 @@
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.6"/>
<meta name="generator" content="Doxygen 1.9.7"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Algorithms_in_C++: others::postfix_expression::Stack Class Reference</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
@@ -41,7 +41,7 @@ MathJax.Hub.Config({
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.6 -->
<!-- Generated by Doxygen 1.9.7 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
@@ -109,8 +109,7 @@ $(document).ready(function(){initNavTree('d5/d8a/classothers_1_1postfix__express
<div class="dynheader">
Collaboration diagram for others::postfix_expression::Stack:</div>
<div class="dyncontent">
<div class="center"><iframe scrolling="no" frameborder="0" src="../../de/d8e/classothers_1_1postfix__expression_1_1_stack__coll__graph.svg" width="186" height="140"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe>
</div>
<div class="center"><iframe scrolling="no" frameborder="0" src="../../de/d8e/classothers_1_1postfix__expression_1_1_stack__coll__graph.svg" width="186" height="140"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div>
<center><span class="legend">[<a target="top" href="../../graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-attribs" name="pub-attribs"></a>
@@ -135,7 +134,7 @@ int&#160;</td><td class="memItemRight" valign="bottom"><b>stackTop</b> = -1</td>
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="../../d0/d6f/namespaceothers.html">others</a></li><li class="navelem"><b>postfix_expression</b></li><li class="navelem"><a class="el" href="../../d5/d8a/classothers_1_1postfix__expression_1_1_stack.html">Stack</a></li>
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.6 </li>
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.7 </li>
</ul>
</div>
</body>

View File

@@ -3,7 +3,7 @@
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.6"/>
<meta name="generator" content="Doxygen 1.9.7"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Algorithms_in_C++: data_structures/trie_using_hashmap.cpp File Reference</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
@@ -41,7 +41,7 @@ MathJax.Hub.Config({
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.6 -->
<!-- Generated by Doxygen 1.9.7 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
@@ -116,8 +116,7 @@ $(document).ready(function(){initNavTree('d5/d8a/trie__using__hashmap_8cpp.html'
</div><div class="textblock"><div class="dynheader">
Include dependency graph for trie_using_hashmap.cpp:</div>
<div class="dyncontent">
<div class="center"><iframe scrolling="no" frameborder="0" src="../../d3/dfd/trie__using__hashmap_8cpp__incl.svg" width="556" height="126"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe>
</div>
<div class="center"><iframe scrolling="no" frameborder="0" src="../../d3/dfd/trie__using__hashmap_8cpp__incl.svg" width="556" height="126"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div>
</div>
</div><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="nested-classes" name="nested-classes"></a>
@@ -174,12 +173,11 @@ Functions</h2></td></tr>
<div class="line"><span class="lineno"> 343</span> <a class="code hl_function" href="../../d5/d8a/trie__using__hashmap_8cpp.html#aa8dca7b867074164d5f45b0f3851269d">test</a>(); <span class="comment">// run self-test implementaions</span></div>
<div class="line"><span class="lineno"> 344</span> <span class="keywordflow">return</span> 0;</div>
<div class="line"><span class="lineno"> 345</span>}</div>
<div class="ttc" id="atrie__using__hashmap_8cpp_html_aa8dca7b867074164d5f45b0f3851269d"><div class="ttname"><a href="../../d5/d8a/trie__using__hashmap_8cpp.html#aa8dca7b867074164d5f45b0f3851269d">test</a></div><div class="ttdeci">static void test()</div><div class="ttdoc">Self-test implementations.</div><div class="ttdef"><b>Definition:</b> trie_using_hashmap.cpp:221</div></div>
<div class="ttc" id="atrie__using__hashmap_8cpp_html_aa8dca7b867074164d5f45b0f3851269d"><div class="ttname"><a href="../../d5/d8a/trie__using__hashmap_8cpp.html#aa8dca7b867074164d5f45b0f3851269d">test</a></div><div class="ttdeci">static void test()</div><div class="ttdoc">Self-test implementations.</div><div class="ttdef"><b>Definition</b> trie_using_hashmap.cpp:221</div></div>
</div><!-- fragment --><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><div class="zoom"><iframe scrolling="no" frameborder="0" src="../../d5/d8a/trie__using__hashmap_8cpp_ae66f6b31b5ad750f1fe042a706a4e3d4_cgraph.svg" width="100%" height="600"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div>
</div>
<div class="center"><div class="zoom"><iframe scrolling="no" frameborder="0" src="../../d5/d8a/trie__using__hashmap_8cpp_ae66f6b31b5ad750f1fe042a706a4e3d4_cgraph.svg" width="100%" height="600"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div></div>
</div>
</div>
@@ -271,7 +269,7 @@ Here is the call graph for this function:</div>
<div class="line"><span class="lineno"> 280</span> </div>
<div class="line"><span class="lineno"> 281</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector&lt;std::string&gt;</a> pred_words = obj.<a class="code hl_function" href="../../d3/d26/classdata__structures_1_1trie__using__hashmap_1_1_trie.html#ae15fdc7f2b5023992d87a711d78566c4">predict_words</a>(<span class="stringliteral">&quot;a&quot;</span>);</div>
<div class="line"><span class="lineno"> 282</span> </div>
<div class="line"><span class="lineno"> 283</span> <span class="keywordflow">for</span> (<span class="keyword">const</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a>&amp; str : obj.<a class="code hl_function" href="../../d3/d26/classdata__structures_1_1trie__using__hashmap_1_1_trie.html#ae15fdc7f2b5023992d87a711d78566c4">predict_words</a>(<span class="stringliteral">&quot;a&quot;</span>)) {</div>
<div class="line"><span class="lineno"> 283</span> <span class="keywordflow">for</span> (<span class="keyword">const</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a>&amp; str : obj.predict_words(<span class="stringliteral">&quot;a&quot;</span>)) {</div>
<div class="line"><span class="lineno"> 284</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> &lt;&lt; str &lt;&lt; <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/manip/endl.html">std::endl</a>;</div>
<div class="line"><span class="lineno"> 285</span> }</div>
<div class="line"><span class="lineno"> 286</span> assert(pred_words.<a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/container/vector/size.html">size</a>() == 8);</div>
@@ -282,7 +280,7 @@ Here is the call graph for this function:</div>
<div class="line"><span class="lineno"> 291</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> &lt;&lt; str &lt;&lt; <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/manip/endl.html">std::endl</a>;</div>
<div class="line"><span class="lineno"> 292</span> }</div>
<div class="line"><span class="lineno"> 293</span> </div>
<div class="line"><span class="lineno"> 294</span> assert(pred_words.size() == 5);</div>
<div class="line"><span class="lineno"> 294</span> assert(pred_words.<a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/container/vector/size.html">size</a>() == 5);</div>
<div class="line"><span class="lineno"> 295</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> &lt;&lt; <span class="stringliteral">&quot;Returned all words that start with prefix app &quot;</span> &lt;&lt; <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/manip/endl.html">std::endl</a>;</div>
<div class="line"><span class="lineno"> 296</span> pred_words = obj.<a class="code hl_function" href="../../d3/d26/classdata__structures_1_1trie__using__hashmap_1_1_trie.html#ae15fdc7f2b5023992d87a711d78566c4">predict_words</a>(<span class="stringliteral">&quot;A&quot;</span>);</div>
<div class="line"><span class="lineno"> 297</span> </div>
@@ -290,7 +288,7 @@ Here is the call graph for this function:</div>
<div class="line"><span class="lineno"> 299</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> &lt;&lt; str &lt;&lt; <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/manip/endl.html">std::endl</a>;</div>
<div class="line"><span class="lineno"> 300</span> }</div>
<div class="line"><span class="lineno"> 301</span> </div>
<div class="line"><span class="lineno"> 302</span> assert(pred_words.size() == 1);</div>
<div class="line"><span class="lineno"> 302</span> assert(pred_words.<a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/container/vector/size.html">size</a>() == 1);</div>
<div class="line"><span class="lineno"> 303</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> &lt;&lt; <span class="stringliteral">&quot;Returned all words that start with prefix A &quot;</span> &lt;&lt; <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/manip/endl.html">std::endl</a>;</div>
<div class="line"><span class="lineno"> 304</span> pred_words = obj.<a class="code hl_function" href="../../d3/d26/classdata__structures_1_1trie__using__hashmap_1_1_trie.html#ae15fdc7f2b5023992d87a711d78566c4">predict_words</a>(<span class="stringliteral">&quot;bu&quot;</span>);</div>
<div class="line"><span class="lineno"> 305</span> </div>
@@ -298,7 +296,7 @@ Here is the call graph for this function:</div>
<div class="line"><span class="lineno"> 307</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> &lt;&lt; str &lt;&lt; <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/manip/endl.html">std::endl</a>;</div>
<div class="line"><span class="lineno"> 308</span> }</div>
<div class="line"><span class="lineno"> 309</span> </div>
<div class="line"><span class="lineno"> 310</span> assert(pred_words.size() == 2);</div>
<div class="line"><span class="lineno"> 310</span> assert(pred_words.<a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/container/vector/size.html">size</a>() == 2);</div>
<div class="line"><span class="lineno"> 311</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> &lt;&lt; <span class="stringliteral">&quot;Returned all words that start with prefix bu &quot;</span> &lt;&lt; <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/manip/endl.html">std::endl</a>;</div>
<div class="line"><span class="lineno"> 312</span> </div>
<div class="line"><span class="lineno"> 313</span> <span class="comment">// tests for delete method</span></div>
@@ -311,7 +309,7 @@ Here is the call graph for this function:</div>
<div class="line"><span class="lineno"> 320</span> <span class="keywordflow">for</span> (<span class="keyword">const</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a>&amp; str : pred_words) {</div>
<div class="line"><span class="lineno"> 321</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> &lt;&lt; str &lt;&lt; <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/manip/endl.html">std::endl</a>;</div>
<div class="line"><span class="lineno"> 322</span> }</div>
<div class="line"><span class="lineno"> 323</span> assert(pred_words.size() == 4);</div>
<div class="line"><span class="lineno"> 323</span> assert(pred_words.<a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/container/vector/size.html">size</a>() == 4);</div>
<div class="line"><span class="lineno"> 324</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> &lt;&lt; <span class="stringliteral">&quot;app is deleted sucessful&quot;</span> &lt;&lt; <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/manip/endl.html">std::endl</a>;</div>
<div class="line"><span class="lineno"> 325</span> </div>
<div class="line"><span class="lineno"> 326</span> <span class="comment">// test case for Chinese language</span></div>
@@ -320,27 +318,26 @@ Here is the call graph for this function:</div>
<div class="line"><span class="lineno"> 329</span> assert(obj.<a class="code hl_function" href="../../d3/d26/classdata__structures_1_1trie__using__hashmap_1_1_trie.html#af3aee573fbabd2c1510c0f74f842dd17">startwith</a>(<span class="stringliteral">&quot;&quot;</span>));</div>
<div class="line"><span class="lineno"> 330</span> pred_words = obj.<a class="code hl_function" href="../../d3/d26/classdata__structures_1_1trie__using__hashmap_1_1_trie.html#ae15fdc7f2b5023992d87a711d78566c4">predict_words</a>(<span class="stringliteral">&quot;h&quot;</span>);</div>
<div class="line"><span class="lineno"> 331</span> </div>
<div class="line"><span class="lineno"> 332</span> assert(pred_words.size() == 0);</div>
<div class="line"><span class="lineno"> 332</span> assert(pred_words.<a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/container/vector/size.html">size</a>() == 0);</div>
<div class="line"><span class="lineno"> 333</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> &lt;&lt; <span class="stringliteral">&quot;No word starts with prefix h in trie&quot;</span> &lt;&lt; <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/manip/endl.html">std::endl</a>;</div>
<div class="line"><span class="lineno"> 334</span> </div>
<div class="line"><span class="lineno"> 335</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> &lt;&lt; <span class="stringliteral">&quot;All tests passed&quot;</span> &lt;&lt; <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/manip/endl.html">std::endl</a>;</div>
<div class="line"><span class="lineno"> 336</span>}</div>
<div class="ttc" id="abasic_ostream_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a></div></div>
<div class="ttc" id="abasic_string_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a></div></div>
<div class="ttc" id="aclassdata__structures_1_1trie__using__hashmap_1_1_trie_html"><div class="ttname"><a href="../../d3/d26/classdata__structures_1_1trie__using__hashmap_1_1_trie.html">data_structures::trie_using_hashmap::Trie</a></div><div class="ttdoc">Trie class, implementation of trie using hashmap in each trie node for all the characters of char16_t...</div><div class="ttdef"><b>Definition:</b> trie_using_hashmap.cpp:39</div></div>
<div class="ttc" id="aclassdata__structures_1_1trie__using__hashmap_1_1_trie_html_abcae0a4456e7f583ce716e3ef466dfd2"><div class="ttname"><a href="../../d3/d26/classdata__structures_1_1trie__using__hashmap_1_1_trie.html#abcae0a4456e7f583ce716e3ef466dfd2">data_structures::trie_using_hashmap::Trie::insert</a></div><div class="ttdeci">void insert(const std::string &amp;word)</div><div class="ttdoc">insert the string into the trie</div><div class="ttdef"><b>Definition:</b> trie_using_hashmap.cpp:62</div></div>
<div class="ttc" id="aclassdata__structures_1_1trie__using__hashmap_1_1_trie_html_ac0bf3d6791cba144b3f539835d835e75"><div class="ttname"><a href="../../d3/d26/classdata__structures_1_1trie__using__hashmap_1_1_trie.html#ac0bf3d6791cba144b3f539835d835e75">data_structures::trie_using_hashmap::Trie::delete_word</a></div><div class="ttdeci">void delete_word(std::string word)</div><div class="ttdoc">delete a word/string from a trie</div><div class="ttdef"><b>Definition:</b> trie_using_hashmap.cpp:122</div></div>
<div class="ttc" id="aclassdata__structures_1_1trie__using__hashmap_1_1_trie_html_ad71eb24207c28b546631802dba97310f"><div class="ttname"><a href="../../d3/d26/classdata__structures_1_1trie__using__hashmap_1_1_trie.html#ad71eb24207c28b546631802dba97310f">data_structures::trie_using_hashmap::Trie::search</a></div><div class="ttdeci">bool search(const std::string &amp;word)</div><div class="ttdoc">search a word/string inside the trie</div><div class="ttdef"><b>Definition:</b> trie_using_hashmap.cpp:82</div></div>
<div class="ttc" id="aclassdata__structures_1_1trie__using__hashmap_1_1_trie_html_ae15fdc7f2b5023992d87a711d78566c4"><div class="ttname"><a href="../../d3/d26/classdata__structures_1_1trie__using__hashmap_1_1_trie.html#ae15fdc7f2b5023992d87a711d78566c4">data_structures::trie_using_hashmap::Trie::predict_words</a></div><div class="ttdeci">std::vector&lt; std::string &gt; predict_words(const std::string &amp;prefix)</div><div class="ttdoc">predict/recommend a word that starts with a given prefix</div><div class="ttdef"><b>Definition:</b> trie_using_hashmap.cpp:188</div></div>
<div class="ttc" id="aclassdata__structures_1_1trie__using__hashmap_1_1_trie_html_af3aee573fbabd2c1510c0f74f842dd17"><div class="ttname"><a href="../../d3/d26/classdata__structures_1_1trie__using__hashmap_1_1_trie.html#af3aee573fbabd2c1510c0f74f842dd17">data_structures::trie_using_hashmap::Trie::startwith</a></div><div class="ttdeci">bool startwith(const std::string &amp;prefix)</div><div class="ttdoc">search a word/string that starts with a given prefix</div><div class="ttdef"><b>Definition:</b> trie_using_hashmap.cpp:107</div></div>
<div class="ttc" id="aclassdata__structures_1_1trie__using__hashmap_1_1_trie_html"><div class="ttname"><a href="../../d3/d26/classdata__structures_1_1trie__using__hashmap_1_1_trie.html">data_structures::trie_using_hashmap::Trie</a></div><div class="ttdoc">Trie class, implementation of trie using hashmap in each trie node for all the characters of char16_t...</div><div class="ttdef"><b>Definition</b> trie_using_hashmap.cpp:39</div></div>
<div class="ttc" id="aclassdata__structures_1_1trie__using__hashmap_1_1_trie_html_abcae0a4456e7f583ce716e3ef466dfd2"><div class="ttname"><a href="../../d3/d26/classdata__structures_1_1trie__using__hashmap_1_1_trie.html#abcae0a4456e7f583ce716e3ef466dfd2">data_structures::trie_using_hashmap::Trie::insert</a></div><div class="ttdeci">void insert(const std::string &amp;word)</div><div class="ttdoc">insert the string into the trie</div><div class="ttdef"><b>Definition</b> trie_using_hashmap.cpp:62</div></div>
<div class="ttc" id="aclassdata__structures_1_1trie__using__hashmap_1_1_trie_html_ac0bf3d6791cba144b3f539835d835e75"><div class="ttname"><a href="../../d3/d26/classdata__structures_1_1trie__using__hashmap_1_1_trie.html#ac0bf3d6791cba144b3f539835d835e75">data_structures::trie_using_hashmap::Trie::delete_word</a></div><div class="ttdeci">void delete_word(std::string word)</div><div class="ttdoc">delete a word/string from a trie</div><div class="ttdef"><b>Definition</b> trie_using_hashmap.cpp:122</div></div>
<div class="ttc" id="aclassdata__structures_1_1trie__using__hashmap_1_1_trie_html_ad71eb24207c28b546631802dba97310f"><div class="ttname"><a href="../../d3/d26/classdata__structures_1_1trie__using__hashmap_1_1_trie.html#ad71eb24207c28b546631802dba97310f">data_structures::trie_using_hashmap::Trie::search</a></div><div class="ttdeci">bool search(const std::string &amp;word)</div><div class="ttdoc">search a word/string inside the trie</div><div class="ttdef"><b>Definition</b> trie_using_hashmap.cpp:82</div></div>
<div class="ttc" id="aclassdata__structures_1_1trie__using__hashmap_1_1_trie_html_ae15fdc7f2b5023992d87a711d78566c4"><div class="ttname"><a href="../../d3/d26/classdata__structures_1_1trie__using__hashmap_1_1_trie.html#ae15fdc7f2b5023992d87a711d78566c4">data_structures::trie_using_hashmap::Trie::predict_words</a></div><div class="ttdeci">std::vector&lt; std::string &gt; predict_words(const std::string &amp;prefix)</div><div class="ttdoc">predict/recommend a word that starts with a given prefix</div><div class="ttdef"><b>Definition</b> trie_using_hashmap.cpp:188</div></div>
<div class="ttc" id="aclassdata__structures_1_1trie__using__hashmap_1_1_trie_html_af3aee573fbabd2c1510c0f74f842dd17"><div class="ttname"><a href="../../d3/d26/classdata__structures_1_1trie__using__hashmap_1_1_trie.html#af3aee573fbabd2c1510c0f74f842dd17">data_structures::trie_using_hashmap::Trie::startwith</a></div><div class="ttdeci">bool startwith(const std::string &amp;prefix)</div><div class="ttdoc">search a word/string that starts with a given prefix</div><div class="ttdef"><b>Definition</b> trie_using_hashmap.cpp:107</div></div>
<div class="ttc" id="aendl_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/io/manip/endl.html">std::endl</a></div><div class="ttdeci">T endl(T... args)</div></div>
<div class="ttc" id="asize_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/container/vector/size.html">std::vector::size</a></div><div class="ttdeci">T size(T... args)</div></div>
<div class="ttc" id="avector_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector</a></div></div>
</div><!-- fragment --><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><iframe scrolling="no" frameborder="0" src="../../d5/d8a/trie__using__hashmap_8cpp_aa8dca7b867074164d5f45b0f3851269d_cgraph.svg" width="651" height="568"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe>
</div>
<div class="center"><iframe scrolling="no" frameborder="0" src="../../d5/d8a/trie__using__hashmap_8cpp_aa8dca7b867074164d5f45b0f3851269d_cgraph.svg" width="651" height="568"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div>
</div>
</div>
@@ -351,7 +348,7 @@ Here is the call graph for this function:</div>
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="../../dir_2e746e9d06bf2d8ff842208bcc6ebcfc.html">data_structures</a></li><li class="navelem"><a class="el" href="../../d5/d8a/trie__using__hashmap_8cpp.html">trie_using_hashmap.cpp</a></li>
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.6 </li>
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.7 </li>
</ul>
</div>
</body>

View File

@@ -1,17 +1,33 @@
<map id="test" name="test">
<area shape="rect" id="node1" title="Self&#45;test implementations." alt="" coords="5,311,49,336"/>
<area shape="rect" id="node2" href="$d3/d26/classdata__structures_1_1trie__using__hashmap_1_1_trie.html#ac0bf3d6791cba144b3f539835d835e75" title="delete a word/string from a trie" alt="" coords="97,85,246,141"/>
<area shape="rect" id="node8" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/io/manip/endl.html#" title=" " alt="" coords="136,165,207,191"/>
<area shape="rect" id="node9" href="$d3/d26/classdata__structures_1_1trie__using__hashmap_1_1_trie.html#abcae0a4456e7f583ce716e3ef466dfd2" title="insert the string into the trie" alt="" coords="97,216,246,271"/>
<area shape="rect" id="node10" href="$d3/d26/classdata__structures_1_1trie__using__hashmap_1_1_trie.html#ae15fdc7f2b5023992d87a711d78566c4" title="predict/recommend a word that starts with a given prefix" alt="" coords="97,296,246,351"/>
<area shape="rect" id="node13" href="$d3/d26/classdata__structures_1_1trie__using__hashmap_1_1_trie.html#ad71eb24207c28b546631802dba97310f" title="search a word/string inside the trie" alt="" coords="97,376,246,431"/>
<area shape="rect" id="node14" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/vector/size.html#" title=" " alt="" coords="114,456,229,482"/>
<area shape="rect" id="node15" href="$d3/d26/classdata__structures_1_1trie__using__hashmap_1_1_trie.html#af3aee573fbabd2c1510c0f74f842dd17" title="search a word/string that starts with a given prefix" alt="" coords="97,506,246,562"/>
<area shape="rect" id="node3" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/string/basic_string/back.html#" title=" " alt="" coords="311,5,426,31"/>
<area shape="rect" id="node4" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/stack/pop.html#" title=" " alt="" coords="315,55,423,80"/>
<area shape="rect" id="node5" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/string/basic_string/pop_back.html#" title=" " alt="" coords="497,181,640,207"/>
<area shape="rect" id="node6" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/stack/push.html#" title=" " alt="" coords="311,156,426,182"/>
<area shape="rect" id="node7" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/stack/top.html#" title=" " alt="" coords="316,205,421,231"/>
<area shape="rect" id="node11" href="$d3/d26/classdata__structures_1_1trie__using__hashmap_1_1_trie.html#a7bbe538c8015e8ce158e7ed43f605ebd" title="helper function to predict/recommend words that starts with a given prefix from the end of prefix&#39;s n..." alt="" coords="294,285,443,341"/>
<area shape="rect" id="node12" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/vector/push_back.html#" title=" " alt="" coords="491,300,646,326"/>
<area shape="rect" id="Node000001" title="Self&#45;test implementations." alt="" coords="5,311,49,336"/>
<area shape="rect" id="Node000002" href="$d3/d26/classdata__structures_1_1trie__using__hashmap_1_1_trie.html#ac0bf3d6791cba144b3f539835d835e75" title="delete a word/string from a trie" alt="" coords="97,85,246,141"/>
<area shape="poly" id="edge1_Node000001_Node000002" title=" " alt="" coords="28,310,47,237,67,192,95,151,97,149,100,153,99,154,71,195,52,239,33,311"/>
<area shape="rect" id="Node000008" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/io/manip/endl.html#" title=" " alt="" coords="136,165,207,191"/>
<area shape="poly" id="edge7_Node000001_Node000008" title=" " alt="" coords="30,309,52,257,71,228,95,201,120,187,123,192,98,206,75,231,57,260,35,311"/>
<area shape="rect" id="Node000009" href="$d3/d26/classdata__structures_1_1trie__using__hashmap_1_1_trie.html#abcae0a4456e7f583ce716e3ef466dfd2" title="insert the string into the trie" alt="" coords="97,216,246,271"/>
<area shape="poly" id="edge8_Node000001_Node000009" title=" " alt="" coords="48,309,95,281,104,277,106,281,98,286,51,313"/>
<area shape="rect" id="Node000010" href="$d3/d26/classdata__structures_1_1trie__using__hashmap_1_1_trie.html#ae15fdc7f2b5023992d87a711d78566c4" title="predict/recommend a word that starts with a given prefix" alt="" coords="97,296,246,351"/>
<area shape="poly" id="edge9_Node000001_Node000010" title=" " alt="" coords="49,321,82,321,82,326,49,326"/>
<area shape="rect" id="Node000013" href="$d3/d26/classdata__structures_1_1trie__using__hashmap_1_1_trie.html#ad71eb24207c28b546631802dba97310f" title="search a word/string inside the trie" alt="" coords="97,376,246,431"/>
<area shape="poly" id="edge14_Node000001_Node000013" title=" " alt="" coords="51,334,98,361,106,366,104,370,95,366,48,338"/>
<area shape="rect" id="Node000014" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/vector/size.html#" title=" " alt="" coords="114,456,229,482"/>
<area shape="poly" id="edge15_Node000001_Node000014" title=" " alt="" coords="35,336,57,387,75,416,98,442,105,446,102,451,95,445,71,419,52,390,30,338"/>
<area shape="rect" id="Node000015" href="$d3/d26/classdata__structures_1_1trie__using__hashmap_1_1_trie.html#af3aee573fbabd2c1510c0f74f842dd17" title="search a word/string that starts with a given prefix" alt="" coords="97,506,246,562"/>
<area shape="poly" id="edge16_Node000001_Node000015" title=" " alt="" coords="33,336,52,408,71,452,99,493,100,494,97,498,95,496,67,455,47,410,28,337"/>
<area shape="rect" id="Node000003" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/string/basic_string/back.html#" title=" " alt="" coords="311,5,426,31"/>
<area shape="poly" id="edge2_Node000002_Node000003" title=" " alt="" coords="215,82,293,40,307,34,309,39,295,45,217,87"/>
<area shape="rect" id="Node000004" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/stack/pop.html#" title=" " alt="" coords="315,55,423,80"/>
<area shape="poly" id="edge3_Node000002_Node000004" title=" " alt="" coords="246,93,299,81,301,86,247,98"/>
<area shape="rect" id="Node000005" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/string/basic_string/pop_back.html#" title=" " alt="" coords="497,181,640,207"/>
<area shape="poly" id="edge4_Node000002_Node000005" title=" " alt="" coords="247,113,341,122,444,141,488,155,528,172,526,177,486,160,443,146,341,127,246,118"/>
<area shape="rect" id="Node000006" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/stack/push.html#" title=" " alt="" coords="311,156,426,182"/>
<area shape="poly" id="edge5_Node000002_Node000006" title=" " alt="" coords="247,131,308,149,306,154,246,137"/>
<area shape="rect" id="Node000007" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/stack/top.html#" title=" " alt="" coords="316,205,421,231"/>
<area shape="poly" id="edge6_Node000002_Node000007" title=" " alt="" coords="229,139,248,151,271,172,295,192,305,197,303,202,293,196,268,176,244,155,226,144"/>
<area shape="rect" id="Node000011" href="$d3/d26/classdata__structures_1_1trie__using__hashmap_1_1_trie.html#a7bbe538c8015e8ce158e7ed43f605ebd" title="helper function to predict/recommend words that starts with a given prefix from the end of prefix&#39;s n..." alt="" coords="294,285,443,341"/>
<area shape="poly" id="edge10_Node000010_Node000011" title=" " alt="" coords="246,317,279,315,279,320,246,322"/>
<area shape="poly" id="edge12_Node000011_Node000005" title=" " alt="" coords="416,282,532,212,534,217,419,287"/>
<area shape="poly" id="edge11_Node000011_Node000011" title=" " alt="" coords="330,284,330,275,337,266,350,260,369,258,390,261,403,268,400,273,388,266,369,264,351,265,340,270,335,277,335,285"/>
<area shape="rect" id="Node000012" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/vector/push_back.html#" title=" " alt="" coords="491,300,646,326"/>
<area shape="poly" id="edge13_Node000011_Node000012" title=" " alt="" coords="444,310,476,310,476,316,444,316"/>
</map>

View File

@@ -1 +1 @@
3ec185973c11d73319a766c32ca4c967
0479621ec0c8eebe000d4e0ac4108dc6

View File

@@ -6,21 +6,31 @@
<!-- Title: test Pages: 1 -->
<svg width="488pt" height="426pt"
viewBox="0.00 0.00 488.25 425.50" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<svg id="main" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" onload="init(evt)">
<style type="text/css"><![CDATA[
.node, .edge {opacity: 0.7;}
.node.selected, .edge.selected {opacity: 1;}
.edge:hover path { stroke: red; }
.edge:hover polygon { stroke: red; fill: red; }
]]></style>
<script type="application/ecmascript" xlink:href="../../svg.min.js"/>
<svg id="graph" class="graph">
<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 421.5)">
<title>test</title>
<!-- Node1 -->
<g id="node1" class="node">
<g id="Node000001" class="node">
<title>Node1</title>
<g id="a_node1"><a xlink:title="Self&#45;test implementations.">
<g id="a_Node000001"><a xlink:title="Self&#45;test implementations.">
<polygon fill="#999999" stroke="#666666" points="32.5,-188.5 0,-188.5 0,-169.25 32.5,-169.25 32.5,-188.5"/>
<text text-anchor="middle" x="16.25" y="-175" font-family="Helvetica,sans-Serif" font-size="10.00">test</text>
</a>
</g>
</g>
<!-- Node2 -->
<g id="node2" class="node">
<g id="Node000002" class="node">
<title>Node2</title>
<g id="a_node2"><a xlink:href="../../d3/d26/classdata__structures_1_1trie__using__hashmap_1_1_trie.html#ac0bf3d6791cba144b3f539835d835e75" target="_top" xlink:title="delete a word/string from a trie">
<g id="a_Node000002"><a xlink:href="../../d3/d26/classdata__structures_1_1trie__using__hashmap_1_1_trie.html#ac0bf3d6791cba144b3f539835d835e75" target="_top" xlink:title="delete a word/string from a trie">
<polygon fill="white" stroke="#666666" points="180.5,-357.75 68.5,-357.75 68.5,-316 180.5,-316 180.5,-357.75"/>
<text text-anchor="start" x="76.5" y="-344.25" font-family="Helvetica,sans-Serif" font-size="10.00">data_structures::trie</text>
<text text-anchor="start" x="76.5" y="-333" font-family="Helvetica,sans-Serif" font-size="10.00">_using_hashmap::Trie</text>
@@ -29,30 +39,36 @@
</g>
</g>
<!-- Node1&#45;&gt;Node2 -->
<g id="edge1" class="edge">
<g id="edge1_Node000001_Node000002" class="edge">
<title>Node1&#45;&gt;Node2</title>
<g id="a_edge1_Node000001_Node000002"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M18.84,-188.73C23.05,-211.93 36.39,-270.72 68.5,-306.88 68.94,-307.37 69.39,-307.86 69.85,-308.34"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="67.21,-310.57 77.01,-314.59 71.86,-305.33 67.21,-310.57"/>
</a>
</g>
</g>
<!-- Node8 -->
<g id="node8" class="node">
<g id="Node000008" class="node">
<title>Node8</title>
<g id="a_node8"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/io/manip/endl.html#" xlink:title=" ">
<g id="a_Node000008"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/io/manip/endl.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="151.25,-297.5 97.75,-297.5 97.75,-278.25 151.25,-278.25 151.25,-297.5"/>
<text text-anchor="middle" x="124.5" y="-284" font-family="Helvetica,sans-Serif" font-size="10.00">std::endl</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node8 -->
<g id="edge7" class="edge">
<g id="edge7_Node000001_Node000008" class="edge">
<title>Node1&#45;&gt;Node8</title>
<g id="a_edge7_Node000001_Node000008"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M20.28,-188.8C26.39,-207.22 41.94,-246.82 68.5,-268.88 73.91,-273.36 80.44,-276.82 87.08,-279.46"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="85.87,-283.09 96.47,-283 88.12,-276.46 85.87,-283.09"/>
</a>
</g>
</g>
<!-- Node9 -->
<g id="node9" class="node">
<g id="Node000009" class="node">
<title>Node9</title>
<g id="a_node9"><a xlink:href="../../d3/d26/classdata__structures_1_1trie__using__hashmap_1_1_trie.html#abcae0a4456e7f583ce716e3ef466dfd2" target="_top" xlink:title="insert the string into the trie">
<g id="a_Node000009"><a xlink:href="../../d3/d26/classdata__structures_1_1trie__using__hashmap_1_1_trie.html#abcae0a4456e7f583ce716e3ef466dfd2" target="_top" xlink:title="insert the string into the trie">
<polygon fill="white" stroke="#666666" points="180.5,-259.75 68.5,-259.75 68.5,-218 180.5,-218 180.5,-259.75"/>
<text text-anchor="start" x="76.5" y="-246.25" font-family="Helvetica,sans-Serif" font-size="10.00">data_structures::trie</text>
<text text-anchor="start" x="76.5" y="-235" font-family="Helvetica,sans-Serif" font-size="10.00">_using_hashmap::Trie</text>
@@ -61,15 +77,18 @@
</g>
</g>
<!-- Node1&#45;&gt;Node9 -->
<g id="edge8" class="edge">
<g id="edge8_Node000001_Node000009" class="edge">
<title>Node1&#45;&gt;Node9</title>
<g id="a_edge8_Node000001_Node000009"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M32.88,-188.19C43,-194.18 56.47,-202.08 68.5,-208.88 70.54,-210.03 72.62,-211.2 74.73,-212.38"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="72.62,-215.76 83.06,-217.55 76.02,-209.64 72.62,-215.76"/>
</a>
</g>
</g>
<!-- Node10 -->
<g id="node10" class="node">
<g id="Node000010" class="node">
<title>Node10</title>
<g id="a_node10"><a xlink:href="../../d3/d26/classdata__structures_1_1trie__using__hashmap_1_1_trie.html#ae15fdc7f2b5023992d87a711d78566c4" target="_top" xlink:title="predict/recommend a word that starts with a given prefix">
<g id="a_Node000010"><a xlink:href="../../d3/d26/classdata__structures_1_1trie__using__hashmap_1_1_trie.html#ae15fdc7f2b5023992d87a711d78566c4" target="_top" xlink:title="predict/recommend a word that starts with a given prefix">
<polygon fill="white" stroke="#666666" points="180.5,-199.75 68.5,-199.75 68.5,-158 180.5,-158 180.5,-199.75"/>
<text text-anchor="start" x="76.5" y="-186.25" font-family="Helvetica,sans-Serif" font-size="10.00">data_structures::trie</text>
<text text-anchor="start" x="76.5" y="-175" font-family="Helvetica,sans-Serif" font-size="10.00">_using_hashmap::Trie</text>
@@ -78,15 +97,18 @@
</g>
</g>
<!-- Node1&#45;&gt;Node10 -->
<g id="edge9" class="edge">
<g id="edge9_Node000001_Node000010" class="edge">
<title>Node1&#45;&gt;Node10</title>
<g id="a_edge9_Node000001_Node000010"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M32.93,-178.88C39.81,-178.88 48.41,-178.88 57.54,-178.88"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="57.44,-182.38 67.44,-178.88 57.44,-175.38 57.44,-182.38"/>
</a>
</g>
</g>
<!-- Node13 -->
<g id="node13" class="node">
<g id="Node000013" class="node">
<title>Node13</title>
<g id="a_node13"><a xlink:href="../../d3/d26/classdata__structures_1_1trie__using__hashmap_1_1_trie.html#ad71eb24207c28b546631802dba97310f" target="_top" xlink:title="search a word/string inside the trie">
<g id="a_Node000013"><a xlink:href="../../d3/d26/classdata__structures_1_1trie__using__hashmap_1_1_trie.html#ad71eb24207c28b546631802dba97310f" target="_top" xlink:title="search a word/string inside the trie">
<polygon fill="white" stroke="#666666" points="180.5,-139.75 68.5,-139.75 68.5,-98 180.5,-98 180.5,-139.75"/>
<text text-anchor="start" x="76.5" y="-126.25" font-family="Helvetica,sans-Serif" font-size="10.00">data_structures::trie</text>
<text text-anchor="start" x="76.5" y="-115" font-family="Helvetica,sans-Serif" font-size="10.00">_using_hashmap::Trie</text>
@@ -95,30 +117,36 @@
</g>
</g>
<!-- Node1&#45;&gt;Node13 -->
<g id="edge14" class="edge">
<g id="edge14_Node000001_Node000013" class="edge">
<title>Node1&#45;&gt;Node13</title>
<g id="a_edge14_Node000001_Node000013"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M32.88,-169.56C43,-163.57 56.47,-155.67 68.5,-148.88 70.54,-147.72 72.62,-146.55 74.73,-145.37"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="76.02,-148.11 83.06,-140.2 72.62,-141.99 76.02,-148.11"/>
</a>
</g>
</g>
<!-- Node14 -->
<g id="node14" class="node">
<g id="Node000014" class="node">
<title>Node14</title>
<g id="a_node14"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/vector/size.html#" xlink:title=" ">
<g id="a_Node000014"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/vector/size.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="167.75,-79.5 81.25,-79.5 81.25,-60.25 167.75,-60.25 167.75,-79.5"/>
<text text-anchor="middle" x="124.5" y="-66" font-family="Helvetica,sans-Serif" font-size="10.00">std::vector::size</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node14 -->
<g id="edge15" class="edge">
<g id="edge15_Node000001_Node000014" class="edge">
<title>Node1&#45;&gt;Node14</title>
<g id="a_edge15_Node000001_Node000014"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M20.28,-168.95C26.39,-150.53 41.94,-110.93 68.5,-88.88 70.13,-87.52 71.87,-86.26 73.68,-85.09"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="75.08,-87.76 82.21,-79.93 71.75,-81.61 75.08,-87.76"/>
</a>
</g>
</g>
<!-- Node15 -->
<g id="node15" class="node">
<g id="Node000015" class="node">
<title>Node15</title>
<g id="a_node15"><a xlink:href="../../d3/d26/classdata__structures_1_1trie__using__hashmap_1_1_trie.html#af3aee573fbabd2c1510c0f74f842dd17" target="_top" xlink:title="search a word/string that starts with a given prefix">
<g id="a_Node000015"><a xlink:href="../../d3/d26/classdata__structures_1_1trie__using__hashmap_1_1_trie.html#af3aee573fbabd2c1510c0f74f842dd17" target="_top" xlink:title="search a word/string that starts with a given prefix">
<polygon fill="white" stroke="#666666" points="180.5,-41.75 68.5,-41.75 68.5,0 180.5,0 180.5,-41.75"/>
<text text-anchor="start" x="76.5" y="-28.25" font-family="Helvetica,sans-Serif" font-size="10.00">data_structures::trie</text>
<text text-anchor="start" x="76.5" y="-17" font-family="Helvetica,sans-Serif" font-size="10.00">_using_hashmap::Trie</text>
@@ -127,90 +155,108 @@
</g>
</g>
<!-- Node1&#45;&gt;Node15 -->
<g id="edge16" class="edge">
<g id="edge16_Node000001_Node000015" class="edge">
<title>Node1&#45;&gt;Node15</title>
<g id="a_edge16_Node000001_Node000015"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M18.84,-169.02C23.05,-145.82 36.39,-87.03 68.5,-50.88 68.94,-50.38 69.39,-49.89 69.85,-49.41"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="71.86,-52.42 77.01,-43.16 67.21,-47.18 71.86,-52.42"/>
</a>
</g>
</g>
<!-- Node3 -->
<g id="node3" class="node">
<g id="Node000003" class="node">
<title>Node3</title>
<g id="a_node3"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/string/basic_string/back.html#" xlink:title=" ">
<g id="a_Node000003"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/string/basic_string/back.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="315.75,-417.5 229.25,-417.5 229.25,-398.25 315.75,-398.25 315.75,-417.5"/>
<text text-anchor="middle" x="272.5" y="-404" font-family="Helvetica,sans-Serif" font-size="10.00">std::string::back</text>
</a>
</g>
</g>
<!-- Node2&#45;&gt;Node3 -->
<g id="edge2" class="edge">
<g id="edge2_Node000002_Node000003" class="edge">
<title>Node2&#45;&gt;Node3</title>
<g id="a_edge2_Node000002_Node000003"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M157.89,-357.99C174.88,-368.48 196.32,-380.82 216.5,-389.88 219.86,-391.38 223.38,-392.82 226.95,-394.19"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="225.45,-397.73 236.04,-397.84 227.82,-391.15 225.45,-397.73"/>
</a>
</g>
</g>
<!-- Node4 -->
<g id="node4" class="node">
<g id="Node000004" class="node">
<title>Node4</title>
<g id="a_node4"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/stack/pop.html#" xlink:title=" ">
<g id="a_Node000004"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/stack/pop.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="313.12,-380.5 231.88,-380.5 231.88,-361.25 313.12,-361.25 313.12,-380.5"/>
<text text-anchor="middle" x="272.5" y="-367" font-family="Helvetica,sans-Serif" font-size="10.00">std::stack::pop</text>
</a>
</g>
</g>
<!-- Node2&#45;&gt;Node4 -->
<g id="edge3" class="edge">
<g id="edge3_Node000002_Node000004" class="edge">
<title>Node2&#45;&gt;Node4</title>
<g id="a_edge3_Node000002_Node000004"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M180.7,-349.73C193.94,-352.81 208.03,-356.09 221.05,-359.13"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="220.16,-362.75 230.69,-361.6 221.75,-355.93 220.16,-362.75"/>
</a>
</g>
</g>
<!-- Node5 -->
<g id="node5" class="node">
<g id="Node000005" class="node">
<title>Node5</title>
<g id="a_node5"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/string/basic_string/pop_back.html#" xlink:title=" ">
<g id="a_Node000005"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/string/basic_string/pop_back.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="476.12,-285.5 368.62,-285.5 368.62,-266.25 476.12,-266.25 476.12,-285.5"/>
<text text-anchor="middle" x="422.38" y="-272" font-family="Helvetica,sans-Serif" font-size="10.00">std::string::pop_back</text>
</a>
</g>
</g>
<!-- Node2&#45;&gt;Node5 -->
<g id="edge4" class="edge">
<g id="edge4_Node000002_Node000005" class="edge">
<title>Node2&#45;&gt;Node5</title>
<g id="a_edge4_Node000002_Node000005"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M180.95,-334.71C222.18,-332.12 279.54,-326.41 328.5,-313.88 350.23,-308.31 373.59,-298.74 391.45,-290.59"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="392.69,-293.4 400.27,-286 389.73,-287.06 392.69,-293.4"/>
</a>
</g>
</g>
<!-- Node6 -->
<g id="node6" class="node">
<g id="Node000006" class="node">
<title>Node6</title>
<g id="a_node6"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/stack/push.html#" xlink:title=" ">
<g id="a_Node000006"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/stack/push.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="315.75,-304.5 229.25,-304.5 229.25,-285.25 315.75,-285.25 315.75,-304.5"/>
<text text-anchor="middle" x="272.5" y="-291" font-family="Helvetica,sans-Serif" font-size="10.00">std::stack::push</text>
</a>
</g>
</g>
<!-- Node2&#45;&gt;Node6 -->
<g id="edge5" class="edge">
<g id="edge5_Node000002_Node000006" class="edge">
<title>Node2&#45;&gt;Node6</title>
<g id="a_edge5_Node000002_Node000006"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M180.7,-321C195.77,-316.66 211.93,-312.01 226.37,-307.86"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="226.9,-311.06 235.54,-304.93 224.96,-304.33 226.9,-311.06"/>
</a>
</g>
</g>
<!-- Node7 -->
<g id="node7" class="node">
<g id="Node000007" class="node">
<title>Node7</title>
<g id="a_node7"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/stack/top.html#" xlink:title=" ">
<g id="a_Node000007"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/stack/top.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="312,-267.5 233,-267.5 233,-248.25 312,-248.25 312,-267.5"/>
<text text-anchor="middle" x="272.5" y="-254" font-family="Helvetica,sans-Serif" font-size="10.00">std::stack::top</text>
</a>
</g>
</g>
<!-- Node2&#45;&gt;Node7 -->
<g id="edge6" class="edge">
<g id="edge6_Node000002_Node000007" class="edge">
<title>Node2&#45;&gt;Node7</title>
<g id="a_edge6_Node000002_Node000007"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M166.92,-315.53C171.59,-312.76 176.21,-309.84 180.5,-306.88 197.87,-294.86 198.11,-286.25 216.5,-275.88 218.87,-274.54 221.36,-273.28 223.91,-272.1"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="225.06,-275 232.96,-267.95 222.38,-268.53 225.06,-275"/>
</a>
</g>
</g>
<!-- Node11 -->
<g id="node11" class="node">
<g id="Node000011" class="node">
<title>Node11</title>
<g id="a_node11"><a xlink:href="../../d3/d26/classdata__structures_1_1trie__using__hashmap_1_1_trie.html#a7bbe538c8015e8ce158e7ed43f605ebd" target="_top" xlink:title="helper function to predict/recommend words that starts with a given prefix from the end of prefix&#39;s n...">
<g id="a_Node000011"><a xlink:href="../../d3/d26/classdata__structures_1_1trie__using__hashmap_1_1_trie.html#a7bbe538c8015e8ce158e7ed43f605ebd" target="_top" xlink:title="helper function to predict/recommend words that starts with a given prefix from the end of prefix&#39;s n...">
<polygon fill="white" stroke="#666666" points="328.5,-207.75 216.5,-207.75 216.5,-166 328.5,-166 328.5,-207.75"/>
<text text-anchor="start" x="224.5" y="-194.25" font-family="Helvetica,sans-Serif" font-size="10.00">data_structures::trie</text>
<text text-anchor="start" x="224.5" y="-183" font-family="Helvetica,sans-Serif" font-size="10.00">_using_hashmap::Trie</text>
@@ -219,37 +265,64 @@
</g>
</g>
<!-- Node10&#45;&gt;Node11 -->
<g id="edge10" class="edge">
<g id="edge10_Node000010_Node000011" class="edge">
<title>Node10&#45;&gt;Node11</title>
<g id="a_edge10_Node000010_Node000011"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M180.7,-181.9C188.78,-182.34 197.18,-182.8 205.45,-183.26"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="205.05,-186.79 215.23,-183.85 205.43,-179.8 205.05,-186.79"/>
</a>
</g>
</g>
<!-- Node11&#45;&gt;Node5 -->
<g id="edge12" class="edge">
<g id="edge12_Node000011_Node000005" class="edge">
<title>Node11&#45;&gt;Node5</title>
<g id="a_edge12_Node000011_Node000005"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M308.92,-208.19C335.65,-224.28 371.71,-245.98 395.71,-260.43"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="393.52,-263.79 403.89,-265.95 397.13,-257.8 393.52,-263.79"/>
</a>
</g>
</g>
<!-- Node11&#45;&gt;Node11 -->
<g id="edge11" class="edge">
<g id="edge11_Node000011_Node000011" class="edge">
<title>Node11&#45;&gt;Node11</title>
<g id="a_edge11_Node000011_Node000011"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M245.18,-208.07C242.58,-217.55 251.69,-225.75 272.5,-225.75 284.86,-225.75 293.09,-222.86 297.19,-218.53"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="300.78,-219.62 299.82,-209.07 293.99,-217.91 300.78,-219.62"/>
</a>
</g>
</g>
<!-- Node12 -->
<g id="node12" class="node">
<g id="Node000012" class="node">
<title>Node12</title>
<g id="a_node12"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/vector/push_back.html#" xlink:title=" ">
<g id="a_Node000012"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/vector/push_back.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="480.25,-196.5 364.5,-196.5 364.5,-177.25 480.25,-177.25 480.25,-196.5"/>
<text text-anchor="middle" x="422.38" y="-183" font-family="Helvetica,sans-Serif" font-size="10.00">std::vector::push_back</text>
</a>
</g>
</g>
<!-- Node11&#45;&gt;Node12 -->
<g id="edge13" class="edge">
<g id="edge13_Node000011_Node000012" class="edge">
<title>Node11&#45;&gt;Node12</title>
<g id="a_edge13_Node000011_Node000012"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M328.98,-186.88C336.87,-186.88 345.06,-186.88 353.15,-186.88"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="353.1,-190.38 363.1,-186.88 353.1,-183.38 353.1,-190.38"/>
</a>
</g>
</g>
</g>
</svg>
</svg>
<style type='text/css'>
<![CDATA[
[data-mouse-over-selected='false'] { opacity: 0.7; }
[data-mouse-over-selected='true'] { opacity: 1.0; }
]]>
</style>
<script type="application/ecmascript"><![CDATA[
document.addEventListener('DOMContentLoaded', (event) => {
highlightEdges();
highlightAdjacentNodes();
});
]]></script>
</svg>

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 16 KiB

View File

@@ -0,0 +1,303 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<!-- Generated by graphviz version 8.0.5 (20230430.1635)
-->
<!-- Title: test Pages: 1 -->
<svg width="488pt" height="426pt"
viewBox="0.00 0.00 488.25 425.50" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 421.5)">
<title>test</title>
<!-- Node1 -->
<g id="Node000001" class="node">
<title>Node1</title>
<g id="a_Node000001"><a xlink:title="Self&#45;test implementations.">
<polygon fill="#999999" stroke="#666666" points="32.5,-188.5 0,-188.5 0,-169.25 32.5,-169.25 32.5,-188.5"/>
<text text-anchor="middle" x="16.25" y="-175" font-family="Helvetica,sans-Serif" font-size="10.00">test</text>
</a>
</g>
</g>
<!-- Node2 -->
<g id="Node000002" class="node">
<title>Node2</title>
<g id="a_Node000002"><a xlink:href="../../d3/d26/classdata__structures_1_1trie__using__hashmap_1_1_trie.html#ac0bf3d6791cba144b3f539835d835e75" target="_top" xlink:title="delete a word/string from a trie">
<polygon fill="white" stroke="#666666" points="180.5,-357.75 68.5,-357.75 68.5,-316 180.5,-316 180.5,-357.75"/>
<text text-anchor="start" x="76.5" y="-344.25" font-family="Helvetica,sans-Serif" font-size="10.00">data_structures::trie</text>
<text text-anchor="start" x="76.5" y="-333" font-family="Helvetica,sans-Serif" font-size="10.00">_using_hashmap::Trie</text>
<text text-anchor="middle" x="124.5" y="-321.75" font-family="Helvetica,sans-Serif" font-size="10.00">::delete_word</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node2 -->
<g id="edge1_Node000001_Node000002" class="edge">
<title>Node1&#45;&gt;Node2</title>
<g id="a_edge1_Node000001_Node000002"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M18.84,-188.73C23.05,-211.93 36.39,-270.72 68.5,-306.88 68.94,-307.37 69.39,-307.86 69.85,-308.34"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="67.21,-310.57 77.01,-314.59 71.86,-305.33 67.21,-310.57"/>
</a>
</g>
</g>
<!-- Node8 -->
<g id="Node000008" class="node">
<title>Node8</title>
<g id="a_Node000008"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/io/manip/endl.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="151.25,-297.5 97.75,-297.5 97.75,-278.25 151.25,-278.25 151.25,-297.5"/>
<text text-anchor="middle" x="124.5" y="-284" font-family="Helvetica,sans-Serif" font-size="10.00">std::endl</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node8 -->
<g id="edge7_Node000001_Node000008" class="edge">
<title>Node1&#45;&gt;Node8</title>
<g id="a_edge7_Node000001_Node000008"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M20.28,-188.8C26.39,-207.22 41.94,-246.82 68.5,-268.88 73.91,-273.36 80.44,-276.82 87.08,-279.46"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="85.87,-283.09 96.47,-283 88.12,-276.46 85.87,-283.09"/>
</a>
</g>
</g>
<!-- Node9 -->
<g id="Node000009" class="node">
<title>Node9</title>
<g id="a_Node000009"><a xlink:href="../../d3/d26/classdata__structures_1_1trie__using__hashmap_1_1_trie.html#abcae0a4456e7f583ce716e3ef466dfd2" target="_top" xlink:title="insert the string into the trie">
<polygon fill="white" stroke="#666666" points="180.5,-259.75 68.5,-259.75 68.5,-218 180.5,-218 180.5,-259.75"/>
<text text-anchor="start" x="76.5" y="-246.25" font-family="Helvetica,sans-Serif" font-size="10.00">data_structures::trie</text>
<text text-anchor="start" x="76.5" y="-235" font-family="Helvetica,sans-Serif" font-size="10.00">_using_hashmap::Trie</text>
<text text-anchor="middle" x="124.5" y="-223.75" font-family="Helvetica,sans-Serif" font-size="10.00">::insert</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node9 -->
<g id="edge8_Node000001_Node000009" class="edge">
<title>Node1&#45;&gt;Node9</title>
<g id="a_edge8_Node000001_Node000009"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M32.88,-188.19C43,-194.18 56.47,-202.08 68.5,-208.88 70.54,-210.03 72.62,-211.2 74.73,-212.38"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="72.62,-215.76 83.06,-217.55 76.02,-209.64 72.62,-215.76"/>
</a>
</g>
</g>
<!-- Node10 -->
<g id="Node000010" class="node">
<title>Node10</title>
<g id="a_Node000010"><a xlink:href="../../d3/d26/classdata__structures_1_1trie__using__hashmap_1_1_trie.html#ae15fdc7f2b5023992d87a711d78566c4" target="_top" xlink:title="predict/recommend a word that starts with a given prefix">
<polygon fill="white" stroke="#666666" points="180.5,-199.75 68.5,-199.75 68.5,-158 180.5,-158 180.5,-199.75"/>
<text text-anchor="start" x="76.5" y="-186.25" font-family="Helvetica,sans-Serif" font-size="10.00">data_structures::trie</text>
<text text-anchor="start" x="76.5" y="-175" font-family="Helvetica,sans-Serif" font-size="10.00">_using_hashmap::Trie</text>
<text text-anchor="middle" x="124.5" y="-163.75" font-family="Helvetica,sans-Serif" font-size="10.00">::predict_words</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node10 -->
<g id="edge9_Node000001_Node000010" class="edge">
<title>Node1&#45;&gt;Node10</title>
<g id="a_edge9_Node000001_Node000010"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M32.93,-178.88C39.81,-178.88 48.41,-178.88 57.54,-178.88"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="57.44,-182.38 67.44,-178.88 57.44,-175.38 57.44,-182.38"/>
</a>
</g>
</g>
<!-- Node13 -->
<g id="Node000013" class="node">
<title>Node13</title>
<g id="a_Node000013"><a xlink:href="../../d3/d26/classdata__structures_1_1trie__using__hashmap_1_1_trie.html#ad71eb24207c28b546631802dba97310f" target="_top" xlink:title="search a word/string inside the trie">
<polygon fill="white" stroke="#666666" points="180.5,-139.75 68.5,-139.75 68.5,-98 180.5,-98 180.5,-139.75"/>
<text text-anchor="start" x="76.5" y="-126.25" font-family="Helvetica,sans-Serif" font-size="10.00">data_structures::trie</text>
<text text-anchor="start" x="76.5" y="-115" font-family="Helvetica,sans-Serif" font-size="10.00">_using_hashmap::Trie</text>
<text text-anchor="middle" x="124.5" y="-103.75" font-family="Helvetica,sans-Serif" font-size="10.00">::search</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node13 -->
<g id="edge14_Node000001_Node000013" class="edge">
<title>Node1&#45;&gt;Node13</title>
<g id="a_edge14_Node000001_Node000013"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M32.88,-169.56C43,-163.57 56.47,-155.67 68.5,-148.88 70.54,-147.72 72.62,-146.55 74.73,-145.37"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="76.02,-148.11 83.06,-140.2 72.62,-141.99 76.02,-148.11"/>
</a>
</g>
</g>
<!-- Node14 -->
<g id="Node000014" class="node">
<title>Node14</title>
<g id="a_Node000014"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/vector/size.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="167.75,-79.5 81.25,-79.5 81.25,-60.25 167.75,-60.25 167.75,-79.5"/>
<text text-anchor="middle" x="124.5" y="-66" font-family="Helvetica,sans-Serif" font-size="10.00">std::vector::size</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node14 -->
<g id="edge15_Node000001_Node000014" class="edge">
<title>Node1&#45;&gt;Node14</title>
<g id="a_edge15_Node000001_Node000014"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M20.28,-168.95C26.39,-150.53 41.94,-110.93 68.5,-88.88 70.13,-87.52 71.87,-86.26 73.68,-85.09"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="75.08,-87.76 82.21,-79.93 71.75,-81.61 75.08,-87.76"/>
</a>
</g>
</g>
<!-- Node15 -->
<g id="Node000015" class="node">
<title>Node15</title>
<g id="a_Node000015"><a xlink:href="../../d3/d26/classdata__structures_1_1trie__using__hashmap_1_1_trie.html#af3aee573fbabd2c1510c0f74f842dd17" target="_top" xlink:title="search a word/string that starts with a given prefix">
<polygon fill="white" stroke="#666666" points="180.5,-41.75 68.5,-41.75 68.5,0 180.5,0 180.5,-41.75"/>
<text text-anchor="start" x="76.5" y="-28.25" font-family="Helvetica,sans-Serif" font-size="10.00">data_structures::trie</text>
<text text-anchor="start" x="76.5" y="-17" font-family="Helvetica,sans-Serif" font-size="10.00">_using_hashmap::Trie</text>
<text text-anchor="middle" x="124.5" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">::startwith</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node15 -->
<g id="edge16_Node000001_Node000015" class="edge">
<title>Node1&#45;&gt;Node15</title>
<g id="a_edge16_Node000001_Node000015"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M18.84,-169.02C23.05,-145.82 36.39,-87.03 68.5,-50.88 68.94,-50.38 69.39,-49.89 69.85,-49.41"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="71.86,-52.42 77.01,-43.16 67.21,-47.18 71.86,-52.42"/>
</a>
</g>
</g>
<!-- Node3 -->
<g id="Node000003" class="node">
<title>Node3</title>
<g id="a_Node000003"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/string/basic_string/back.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="315.75,-417.5 229.25,-417.5 229.25,-398.25 315.75,-398.25 315.75,-417.5"/>
<text text-anchor="middle" x="272.5" y="-404" font-family="Helvetica,sans-Serif" font-size="10.00">std::string::back</text>
</a>
</g>
</g>
<!-- Node2&#45;&gt;Node3 -->
<g id="edge2_Node000002_Node000003" class="edge">
<title>Node2&#45;&gt;Node3</title>
<g id="a_edge2_Node000002_Node000003"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M157.89,-357.99C174.88,-368.48 196.32,-380.82 216.5,-389.88 219.86,-391.38 223.38,-392.82 226.95,-394.19"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="225.45,-397.73 236.04,-397.84 227.82,-391.15 225.45,-397.73"/>
</a>
</g>
</g>
<!-- Node4 -->
<g id="Node000004" class="node">
<title>Node4</title>
<g id="a_Node000004"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/stack/pop.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="313.12,-380.5 231.88,-380.5 231.88,-361.25 313.12,-361.25 313.12,-380.5"/>
<text text-anchor="middle" x="272.5" y="-367" font-family="Helvetica,sans-Serif" font-size="10.00">std::stack::pop</text>
</a>
</g>
</g>
<!-- Node2&#45;&gt;Node4 -->
<g id="edge3_Node000002_Node000004" class="edge">
<title>Node2&#45;&gt;Node4</title>
<g id="a_edge3_Node000002_Node000004"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M180.7,-349.73C193.94,-352.81 208.03,-356.09 221.05,-359.13"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="220.16,-362.75 230.69,-361.6 221.75,-355.93 220.16,-362.75"/>
</a>
</g>
</g>
<!-- Node5 -->
<g id="Node000005" class="node">
<title>Node5</title>
<g id="a_Node000005"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/string/basic_string/pop_back.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="476.12,-285.5 368.62,-285.5 368.62,-266.25 476.12,-266.25 476.12,-285.5"/>
<text text-anchor="middle" x="422.38" y="-272" font-family="Helvetica,sans-Serif" font-size="10.00">std::string::pop_back</text>
</a>
</g>
</g>
<!-- Node2&#45;&gt;Node5 -->
<g id="edge4_Node000002_Node000005" class="edge">
<title>Node2&#45;&gt;Node5</title>
<g id="a_edge4_Node000002_Node000005"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M180.95,-334.71C222.18,-332.12 279.54,-326.41 328.5,-313.88 350.23,-308.31 373.59,-298.74 391.45,-290.59"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="392.69,-293.4 400.27,-286 389.73,-287.06 392.69,-293.4"/>
</a>
</g>
</g>
<!-- Node6 -->
<g id="Node000006" class="node">
<title>Node6</title>
<g id="a_Node000006"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/stack/push.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="315.75,-304.5 229.25,-304.5 229.25,-285.25 315.75,-285.25 315.75,-304.5"/>
<text text-anchor="middle" x="272.5" y="-291" font-family="Helvetica,sans-Serif" font-size="10.00">std::stack::push</text>
</a>
</g>
</g>
<!-- Node2&#45;&gt;Node6 -->
<g id="edge5_Node000002_Node000006" class="edge">
<title>Node2&#45;&gt;Node6</title>
<g id="a_edge5_Node000002_Node000006"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M180.7,-321C195.77,-316.66 211.93,-312.01 226.37,-307.86"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="226.9,-311.06 235.54,-304.93 224.96,-304.33 226.9,-311.06"/>
</a>
</g>
</g>
<!-- Node7 -->
<g id="Node000007" class="node">
<title>Node7</title>
<g id="a_Node000007"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/stack/top.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="312,-267.5 233,-267.5 233,-248.25 312,-248.25 312,-267.5"/>
<text text-anchor="middle" x="272.5" y="-254" font-family="Helvetica,sans-Serif" font-size="10.00">std::stack::top</text>
</a>
</g>
</g>
<!-- Node2&#45;&gt;Node7 -->
<g id="edge6_Node000002_Node000007" class="edge">
<title>Node2&#45;&gt;Node7</title>
<g id="a_edge6_Node000002_Node000007"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M166.92,-315.53C171.59,-312.76 176.21,-309.84 180.5,-306.88 197.87,-294.86 198.11,-286.25 216.5,-275.88 218.87,-274.54 221.36,-273.28 223.91,-272.1"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="225.06,-275 232.96,-267.95 222.38,-268.53 225.06,-275"/>
</a>
</g>
</g>
<!-- Node11 -->
<g id="Node000011" class="node">
<title>Node11</title>
<g id="a_Node000011"><a xlink:href="../../d3/d26/classdata__structures_1_1trie__using__hashmap_1_1_trie.html#a7bbe538c8015e8ce158e7ed43f605ebd" target="_top" xlink:title="helper function to predict/recommend words that starts with a given prefix from the end of prefix&#39;s n...">
<polygon fill="white" stroke="#666666" points="328.5,-207.75 216.5,-207.75 216.5,-166 328.5,-166 328.5,-207.75"/>
<text text-anchor="start" x="224.5" y="-194.25" font-family="Helvetica,sans-Serif" font-size="10.00">data_structures::trie</text>
<text text-anchor="start" x="224.5" y="-183" font-family="Helvetica,sans-Serif" font-size="10.00">_using_hashmap::Trie</text>
<text text-anchor="middle" x="272.5" y="-171.75" font-family="Helvetica,sans-Serif" font-size="10.00">::get_all_words</text>
</a>
</g>
</g>
<!-- Node10&#45;&gt;Node11 -->
<g id="edge10_Node000010_Node000011" class="edge">
<title>Node10&#45;&gt;Node11</title>
<g id="a_edge10_Node000010_Node000011"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M180.7,-181.9C188.78,-182.34 197.18,-182.8 205.45,-183.26"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="205.05,-186.79 215.23,-183.85 205.43,-179.8 205.05,-186.79"/>
</a>
</g>
</g>
<!-- Node11&#45;&gt;Node5 -->
<g id="edge12_Node000011_Node000005" class="edge">
<title>Node11&#45;&gt;Node5</title>
<g id="a_edge12_Node000011_Node000005"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M308.92,-208.19C335.65,-224.28 371.71,-245.98 395.71,-260.43"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="393.52,-263.79 403.89,-265.95 397.13,-257.8 393.52,-263.79"/>
</a>
</g>
</g>
<!-- Node11&#45;&gt;Node11 -->
<g id="edge11_Node000011_Node000011" class="edge">
<title>Node11&#45;&gt;Node11</title>
<g id="a_edge11_Node000011_Node000011"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M245.18,-208.07C242.58,-217.55 251.69,-225.75 272.5,-225.75 284.86,-225.75 293.09,-222.86 297.19,-218.53"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="300.78,-219.62 299.82,-209.07 293.99,-217.91 300.78,-219.62"/>
</a>
</g>
</g>
<!-- Node12 -->
<g id="Node000012" class="node">
<title>Node12</title>
<g id="a_Node000012"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/vector/push_back.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="480.25,-196.5 364.5,-196.5 364.5,-177.25 480.25,-177.25 480.25,-196.5"/>
<text text-anchor="middle" x="422.38" y="-183" font-family="Helvetica,sans-Serif" font-size="10.00">std::vector::push_back</text>
</a>
</g>
</g>
<!-- Node11&#45;&gt;Node12 -->
<g id="edge13_Node000011_Node000012" class="edge">
<title>Node11&#45;&gt;Node12</title>
<g id="a_edge13_Node000011_Node000012"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M328.98,-186.88C336.87,-186.88 345.06,-186.88 353.15,-186.88"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="353.1,-190.38 363.1,-186.88 353.1,-183.38 353.1,-190.38"/>
</a>
</g>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 16 KiB

View File

@@ -1,18 +1,35 @@
<map id="main" name="main">
<area shape="rect" id="node1" title="Main function." alt="" coords="5,311,55,336"/>
<area shape="rect" id="node2" href="$d5/d8a/trie__using__hashmap_8cpp.html#aa8dca7b867074164d5f45b0f3851269d" title="Self&#45;test implementations." alt="" coords="103,311,146,336"/>
<area shape="rect" id="node3" href="$d3/d26/classdata__structures_1_1trie__using__hashmap_1_1_trie.html#ac0bf3d6791cba144b3f539835d835e75" title="delete a word/string from a trie" alt="" coords="194,85,343,141"/>
<area shape="rect" id="node9" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/io/manip/endl.html#" title=" " alt="" coords="233,165,304,191"/>
<area shape="rect" id="node10" href="$d3/d26/classdata__structures_1_1trie__using__hashmap_1_1_trie.html#abcae0a4456e7f583ce716e3ef466dfd2" title="insert the string into the trie" alt="" coords="194,216,343,271"/>
<area shape="rect" id="node11" href="$d3/d26/classdata__structures_1_1trie__using__hashmap_1_1_trie.html#ae15fdc7f2b5023992d87a711d78566c4" title="predict/recommend a word that starts with a given prefix" alt="" coords="194,296,343,351"/>
<area shape="rect" id="node14" href="$d3/d26/classdata__structures_1_1trie__using__hashmap_1_1_trie.html#ad71eb24207c28b546631802dba97310f" title="search a word/string inside the trie" alt="" coords="194,376,343,431"/>
<area shape="rect" id="node15" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/vector/size.html#" title=" " alt="" coords="211,456,326,482"/>
<area shape="rect" id="node16" href="$d3/d26/classdata__structures_1_1trie__using__hashmap_1_1_trie.html#af3aee573fbabd2c1510c0f74f842dd17" title="search a word/string that starts with a given prefix" alt="" coords="194,506,343,562"/>
<area shape="rect" id="node4" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/string/basic_string/back.html#" title=" " alt="" coords="408,5,524,31"/>
<area shape="rect" id="node5" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/stack/pop.html#" title=" " alt="" coords="412,55,520,80"/>
<area shape="rect" id="node6" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/string/basic_string/pop_back.html#" title=" " alt="" coords="594,181,738,207"/>
<area shape="rect" id="node7" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/stack/push.html#" title=" " alt="" coords="408,156,524,182"/>
<area shape="rect" id="node8" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/stack/top.html#" title=" " alt="" coords="413,205,519,231"/>
<area shape="rect" id="node12" href="$d3/d26/classdata__structures_1_1trie__using__hashmap_1_1_trie.html#a7bbe538c8015e8ce158e7ed43f605ebd" title="helper function to predict/recommend words that starts with a given prefix from the end of prefix&#39;s n..." alt="" coords="391,285,541,341"/>
<area shape="rect" id="node13" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/vector/push_back.html#" title=" " alt="" coords="589,300,743,326"/>
<area shape="rect" id="Node000001" title="Main function." alt="" coords="5,311,55,336"/>
<area shape="rect" id="Node000002" href="$d5/d8a/trie__using__hashmap_8cpp.html#aa8dca7b867074164d5f45b0f3851269d" title="Self&#45;test implementations." alt="" coords="103,311,146,336"/>
<area shape="poly" id="edge1_Node000001_Node000002" title=" " alt="" coords="55,321,88,321,88,326,55,326"/>
<area shape="rect" id="Node000003" href="$d3/d26/classdata__structures_1_1trie__using__hashmap_1_1_trie.html#ac0bf3d6791cba144b3f539835d835e75" title="delete a word/string from a trie" alt="" coords="194,85,343,141"/>
<area shape="poly" id="edge2_Node000002_Node000003" title=" " alt="" coords="125,310,144,237,164,192,192,151,194,149,198,153,196,154,169,195,149,239,130,311"/>
<area shape="rect" id="Node000009" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/io/manip/endl.html#" title=" " alt="" coords="233,165,304,191"/>
<area shape="poly" id="edge8_Node000002_Node000009" title=" " alt="" coords="127,309,149,257,168,228,192,201,217,187,220,192,196,206,172,231,154,260,132,311"/>
<area shape="rect" id="Node000010" href="$d3/d26/classdata__structures_1_1trie__using__hashmap_1_1_trie.html#abcae0a4456e7f583ce716e3ef466dfd2" title="insert the string into the trie" alt="" coords="194,216,343,271"/>
<area shape="poly" id="edge9_Node000002_Node000010" title=" " alt="" coords="145,309,193,281,201,277,204,281,195,286,148,313"/>
<area shape="rect" id="Node000011" href="$d3/d26/classdata__structures_1_1trie__using__hashmap_1_1_trie.html#ae15fdc7f2b5023992d87a711d78566c4" title="predict/recommend a word that starts with a given prefix" alt="" coords="194,296,343,351"/>
<area shape="poly" id="edge10_Node000002_Node000011" title=" " alt="" coords="147,321,179,321,179,326,147,326"/>
<area shape="rect" id="Node000014" href="$d3/d26/classdata__structures_1_1trie__using__hashmap_1_1_trie.html#ad71eb24207c28b546631802dba97310f" title="search a word/string inside the trie" alt="" coords="194,376,343,431"/>
<area shape="poly" id="edge15_Node000002_Node000014" title=" " alt="" coords="148,334,195,361,204,366,201,370,193,366,145,338"/>
<area shape="rect" id="Node000015" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/vector/size.html#" title=" " alt="" coords="211,456,326,482"/>
<area shape="poly" id="edge16_Node000002_Node000015" title=" " alt="" coords="132,336,154,387,172,416,196,442,202,446,199,451,192,445,168,419,149,390,127,338"/>
<area shape="rect" id="Node000016" href="$d3/d26/classdata__structures_1_1trie__using__hashmap_1_1_trie.html#af3aee573fbabd2c1510c0f74f842dd17" title="search a word/string that starts with a given prefix" alt="" coords="194,506,343,562"/>
<area shape="poly" id="edge17_Node000002_Node000016" title=" " alt="" coords="130,336,149,408,169,452,196,493,198,494,194,498,192,496,164,455,144,410,125,337"/>
<area shape="rect" id="Node000004" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/string/basic_string/back.html#" title=" " alt="" coords="408,5,524,31"/>
<area shape="poly" id="edge3_Node000003_Node000004" title=" " alt="" coords="312,82,390,40,404,34,406,39,392,45,314,87"/>
<area shape="rect" id="Node000005" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/stack/pop.html#" title=" " alt="" coords="412,55,520,80"/>
<area shape="poly" id="edge4_Node000003_Node000005" title=" " alt="" coords="343,93,397,81,398,86,344,98"/>
<area shape="rect" id="Node000006" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/string/basic_string/pop_back.html#" title=" " alt="" coords="594,181,738,207"/>
<area shape="poly" id="edge5_Node000003_Node000006" title=" " alt="" coords="344,113,439,122,541,141,585,155,626,172,624,177,584,160,540,146,438,127,344,118"/>
<area shape="rect" id="Node000007" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/stack/push.html#" title=" " alt="" coords="408,156,524,182"/>
<area shape="poly" id="edge6_Node000003_Node000007" title=" " alt="" coords="344,131,405,149,404,154,343,137"/>
<area shape="rect" id="Node000008" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/stack/top.html#" title=" " alt="" coords="413,205,519,231"/>
<area shape="poly" id="edge7_Node000003_Node000008" title=" " alt="" coords="327,139,345,151,369,172,393,192,402,197,400,202,390,196,365,176,342,155,324,144"/>
<area shape="rect" id="Node000012" href="$d3/d26/classdata__structures_1_1trie__using__hashmap_1_1_trie.html#a7bbe538c8015e8ce158e7ed43f605ebd" title="helper function to predict/recommend words that starts with a given prefix from the end of prefix&#39;s n..." alt="" coords="391,285,541,341"/>
<area shape="poly" id="edge11_Node000011_Node000012" title=" " alt="" coords="343,317,376,315,377,320,344,322"/>
<area shape="poly" id="edge13_Node000012_Node000006" title=" " alt="" coords="513,282,629,212,632,217,516,287"/>
<area shape="poly" id="edge12_Node000012_Node000012" title=" " alt="" coords="427,284,427,275,434,266,447,260,466,258,487,261,500,268,498,273,486,266,466,264,449,265,438,270,432,277,432,285"/>
<area shape="rect" id="Node000013" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/vector/push_back.html#" title=" " alt="" coords="589,300,743,326"/>
<area shape="poly" id="edge14_Node000012_Node000013" title=" " alt="" coords="541,310,574,310,574,316,541,316"/>
</map>

View File

@@ -1 +1 @@
539b47d65140c2dd4c46f765e405d250
0ca9b6b8918e3e892121e05dc99af7b2

View File

@@ -5,83 +5,86 @@
-->
<!-- Title: main Pages: 1 -->
<!--zoomable 426 -->
<svg id="main" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" onload="init(evt)">
<style type="text/css"><![CDATA[
.node, .edge {opacity: 0.7;}
.node.selected, .edge.selected {opacity: 1;}
.edge:hover path { stroke: red; }
.edge:hover polygon { stroke: red; fill: red; }
]]></style>
<script type="text/javascript"><![CDATA[
var edges = document.getElementsByTagName('g');
if (edges && edges.length) {
for (var i=0;i<edges.length;i++) {
if (edges[i].id.substr(0,4)=='edge') {
edges[i].setAttribute('class','edge');
}
}
}
]]></script>
<defs>
<circle id="rim" cx="0" cy="0" r="7"/>
<circle id="rim2" cx="0" cy="0" r="3.5"/>
<g id="zoomPlus">
<use xlink:href="#rim" fill="#404040">
<set attributeName="fill" to="#808080" begin="zoomplus.mouseover" end="zoomplus.mouseout"/>
</use>
<path d="M-4,0h8M0,-4v8" fill="none" stroke="white" stroke-width="1.5" pointer-events="none"/>
</g>
<g id="zoomMin">
<use xlink:href="#rim" fill="#404040">
<set attributeName="fill" to="#808080" begin="zoomminus.mouseover" end="zoomminus.mouseout"/>
</use>
<path d="M-4,0h8" fill="none" stroke="white" stroke-width="1.5" pointer-events="none"/>
</g>
<g id="dirArrow">
<path fill="none" stroke="white" stroke-width="1.5" d="M0,-3.0v7 M-2.5,-0.5L0,-3.0L2.5,-0.5"/>
</g>
<g id="resetDef">
<use xlink:href="#rim2" fill="#404040">
<set attributeName="fill" to="#808080" begin="reset.mouseover" end="reset.mouseout"/>
</use>
</g>
</defs>
<script type="text/javascript">
<defs>
<circle id="rim" cx="0" cy="0" r="7"/>
<circle id="rim2" cx="0" cy="0" r="3.5"/>
<g id="zoomPlus">
<use xlink:href="#rim" fill="#404040"><set attributeName="fill" to="#808080" begin="zoomplus.mouseover" end="zoomplus.mouseout"/></use>
<path d="M-4,0h8M0,-4v8" fill="none" stroke="white" stroke-width="1.5" pointer-events="none"/>
</g>
<g id="zoomMin">
<use xlink:href="#rim" fill="#404040"><set attributeName="fill" to="#808080" begin="zoomminus.mouseover" end="zoomminus.mouseout"/></use>
<path d="M-4,0h8" fill="none" stroke="white" stroke-width="1.5" pointer-events="none"/>
</g>
<g id="arrowUp" transform="translate(30 24)">
<use xlink:href="#rim"/>
<path pointer-events="none" fill="none" stroke="white" stroke-width="1.5" d="M0,-3.0v7 M-2.5,-0.5L0,-3.0L2.5,-0.5"/>
</g>
<g id="arrowRight" transform="rotate(90) translate(36 -43)">
<use xlink:href="#rim"/>
<path pointer-events="none" fill="none" stroke="white" stroke-width="1.5" d="M0,-3.0v7 M-2.5,-0.5L0,-3.0L2.5,-0.5"/>
</g>
<g id="arrowDown" transform="rotate(180) translate(-30 -48)">
<use xlink:href="#rim"/>
<path pointer-events="none" fill="none" stroke="white" stroke-width="1.5" d="M0,-3.0v7 M-2.5,-0.5L0,-3.0L2.5,-0.5"/>
</g>
<g id="arrowLeft" transform="rotate(270) translate(-36 17)">
<use xlink:href="#rim"/>
<path pointer-events="none" fill="none" stroke="white" stroke-width="1.5" d="M0,-3.0v7 M-2.5,-0.5L0,-3.0L2.5,-0.5"/>
</g>
<g id="resetDef">
<use xlink:href="#rim2" fill="#404040"><set attributeName="fill" to="#808080" begin="reset.mouseover" end="reset.mouseout"/></use>
</g>
</defs>
<script type="application/ecmascript">
var viewWidth = 561;
var viewHeight = 426;
var sectionId = 'dynsection-1';
</script>
<script xlink:href="../../svgpan.js"/>
<script type="application/ecmascript" xlink:href="../../svg.min.js"/>
<svg id="graph" class="graph">
<g id="viewport">
<title>main</title>
<!-- Node1 -->
<g id="node1" class="node">
<g id="Node000001" class="node">
<title>Node1</title>
<g id="a_node1"><a xlink:title="Main function.">
<g id="a_Node000001"><a xlink:title="Main function.">
<polygon fill="#999999" stroke="#666666" points="37,-188.5 0,-188.5 0,-169.25 37,-169.25 37,-188.5"/>
<text text-anchor="middle" x="18.5" y="-175" font-family="Helvetica,sans-Serif" font-size="10.00">main</text>
</a>
</g>
</g>
<!-- Node2 -->
<g id="node2" class="node">
<g id="Node000002" class="node">
<title>Node2</title>
<g id="a_node2"><a xlink:href="../../d5/d8a/trie__using__hashmap_8cpp.html#aa8dca7b867074164d5f45b0f3851269d" target="_top" xlink:title="Self&#45;test implementations.">
<g id="a_Node000002"><a xlink:href="../../d5/d8a/trie__using__hashmap_8cpp.html#aa8dca7b867074164d5f45b0f3851269d" target="_top" xlink:title="Self&#45;test implementations.">
<polygon fill="white" stroke="#666666" points="105.5,-188.5 73,-188.5 73,-169.25 105.5,-169.25 105.5,-188.5"/>
<text text-anchor="middle" x="89.25" y="-175" font-family="Helvetica,sans-Serif" font-size="10.00">test</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node2 -->
<g id="edge1" class="edge">
<g id="edge1_Node000001_Node000002" class="edge">
<title>Node1&#45;&gt;Node2</title>
<g id="a_edge1_Node000001_Node000002"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M37.2,-178.88C44.67,-178.88 53.52,-178.88 61.73,-178.88"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="61.71,-182.38 71.71,-178.88 61.71,-175.38 61.71,-182.38"/>
</a>
</g>
</g>
<!-- Node3 -->
<g id="node3" class="node">
<g id="Node000003" class="node">
<title>Node3</title>
<g id="a_node3"><a xlink:href="../../d3/d26/classdata__structures_1_1trie__using__hashmap_1_1_trie.html#ac0bf3d6791cba144b3f539835d835e75" target="_top" xlink:title="delete a word/string from a trie">
<g id="a_Node000003"><a xlink:href="../../d3/d26/classdata__structures_1_1trie__using__hashmap_1_1_trie.html#ac0bf3d6791cba144b3f539835d835e75" target="_top" xlink:title="delete a word/string from a trie">
<polygon fill="white" stroke="#666666" points="253.5,-357.75 141.5,-357.75 141.5,-316 253.5,-316 253.5,-357.75"/>
<text text-anchor="start" x="149.5" y="-344.25" font-family="Helvetica,sans-Serif" font-size="10.00">data_structures::trie</text>
<text text-anchor="start" x="149.5" y="-333" font-family="Helvetica,sans-Serif" font-size="10.00">_using_hashmap::Trie</text>
@@ -90,30 +93,36 @@ var sectionId = 'dynsection-1';
</g>
</g>
<!-- Node2&#45;&gt;Node3 -->
<g id="edge2" class="edge">
<g id="edge2_Node000002_Node000003" class="edge">
<title>Node2&#45;&gt;Node3</title>
<g id="a_edge2_Node000002_Node000003"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M91.84,-188.73C96.05,-211.93 109.39,-270.72 141.5,-306.88 141.94,-307.37 142.39,-307.86 142.85,-308.34"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="140.21,-310.57 150.01,-314.59 144.86,-305.33 140.21,-310.57"/>
</a>
</g>
</g>
<!-- Node9 -->
<g id="node9" class="node">
<g id="Node000009" class="node">
<title>Node9</title>
<g id="a_node9"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/io/manip/endl.html#" xlink:title=" ">
<g id="a_Node000009"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/io/manip/endl.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="224.25,-297.5 170.75,-297.5 170.75,-278.25 224.25,-278.25 224.25,-297.5"/>
<text text-anchor="middle" x="197.5" y="-284" font-family="Helvetica,sans-Serif" font-size="10.00">std::endl</text>
</a>
</g>
</g>
<!-- Node2&#45;&gt;Node9 -->
<g id="edge8" class="edge">
<g id="edge8_Node000002_Node000009" class="edge">
<title>Node2&#45;&gt;Node9</title>
<g id="a_edge8_Node000002_Node000009"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M93.28,-188.8C99.39,-207.22 114.94,-246.82 141.5,-268.88 146.91,-273.36 153.44,-276.82 160.08,-279.46"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="158.87,-283.09 169.47,-283 161.12,-276.46 158.87,-283.09"/>
</a>
</g>
</g>
<!-- Node10 -->
<g id="node10" class="node">
<g id="Node000010" class="node">
<title>Node10</title>
<g id="a_node10"><a xlink:href="../../d3/d26/classdata__structures_1_1trie__using__hashmap_1_1_trie.html#abcae0a4456e7f583ce716e3ef466dfd2" target="_top" xlink:title="insert the string into the trie">
<g id="a_Node000010"><a xlink:href="../../d3/d26/classdata__structures_1_1trie__using__hashmap_1_1_trie.html#abcae0a4456e7f583ce716e3ef466dfd2" target="_top" xlink:title="insert the string into the trie">
<polygon fill="white" stroke="#666666" points="253.5,-259.75 141.5,-259.75 141.5,-218 253.5,-218 253.5,-259.75"/>
<text text-anchor="start" x="149.5" y="-246.25" font-family="Helvetica,sans-Serif" font-size="10.00">data_structures::trie</text>
<text text-anchor="start" x="149.5" y="-235" font-family="Helvetica,sans-Serif" font-size="10.00">_using_hashmap::Trie</text>
@@ -122,15 +131,18 @@ var sectionId = 'dynsection-1';
</g>
</g>
<!-- Node2&#45;&gt;Node10 -->
<g id="edge9" class="edge">
<g id="edge9_Node000002_Node000010" class="edge">
<title>Node2&#45;&gt;Node10</title>
<g id="a_edge9_Node000002_Node000010"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M105.88,-188.19C116,-194.18 129.47,-202.08 141.5,-208.88 143.54,-210.03 145.62,-211.2 147.73,-212.38"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="145.62,-215.76 156.06,-217.55 149.02,-209.64 145.62,-215.76"/>
</a>
</g>
</g>
<!-- Node11 -->
<g id="node11" class="node">
<g id="Node000011" class="node">
<title>Node11</title>
<g id="a_node11"><a xlink:href="../../d3/d26/classdata__structures_1_1trie__using__hashmap_1_1_trie.html#ae15fdc7f2b5023992d87a711d78566c4" target="_top" xlink:title="predict/recommend a word that starts with a given prefix">
<g id="a_Node000011"><a xlink:href="../../d3/d26/classdata__structures_1_1trie__using__hashmap_1_1_trie.html#ae15fdc7f2b5023992d87a711d78566c4" target="_top" xlink:title="predict/recommend a word that starts with a given prefix">
<polygon fill="white" stroke="#666666" points="253.5,-199.75 141.5,-199.75 141.5,-158 253.5,-158 253.5,-199.75"/>
<text text-anchor="start" x="149.5" y="-186.25" font-family="Helvetica,sans-Serif" font-size="10.00">data_structures::trie</text>
<text text-anchor="start" x="149.5" y="-175" font-family="Helvetica,sans-Serif" font-size="10.00">_using_hashmap::Trie</text>
@@ -139,15 +151,18 @@ var sectionId = 'dynsection-1';
</g>
</g>
<!-- Node2&#45;&gt;Node11 -->
<g id="edge10" class="edge">
<g id="edge10_Node000002_Node000011" class="edge">
<title>Node2&#45;&gt;Node11</title>
<g id="a_edge10_Node000002_Node000011"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M105.93,-178.88C112.81,-178.88 121.41,-178.88 130.54,-178.88"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="130.44,-182.38 140.44,-178.88 130.44,-175.38 130.44,-182.38"/>
</a>
</g>
</g>
<!-- Node14 -->
<g id="node14" class="node">
<g id="Node000014" class="node">
<title>Node14</title>
<g id="a_node14"><a xlink:href="../../d3/d26/classdata__structures_1_1trie__using__hashmap_1_1_trie.html#ad71eb24207c28b546631802dba97310f" target="_top" xlink:title="search a word/string inside the trie">
<g id="a_Node000014"><a xlink:href="../../d3/d26/classdata__structures_1_1trie__using__hashmap_1_1_trie.html#ad71eb24207c28b546631802dba97310f" target="_top" xlink:title="search a word/string inside the trie">
<polygon fill="white" stroke="#666666" points="253.5,-139.75 141.5,-139.75 141.5,-98 253.5,-98 253.5,-139.75"/>
<text text-anchor="start" x="149.5" y="-126.25" font-family="Helvetica,sans-Serif" font-size="10.00">data_structures::trie</text>
<text text-anchor="start" x="149.5" y="-115" font-family="Helvetica,sans-Serif" font-size="10.00">_using_hashmap::Trie</text>
@@ -156,30 +171,36 @@ var sectionId = 'dynsection-1';
</g>
</g>
<!-- Node2&#45;&gt;Node14 -->
<g id="edge15" class="edge">
<g id="edge15_Node000002_Node000014" class="edge">
<title>Node2&#45;&gt;Node14</title>
<g id="a_edge15_Node000002_Node000014"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M105.88,-169.56C116,-163.57 129.47,-155.67 141.5,-148.88 143.54,-147.72 145.62,-146.55 147.73,-145.37"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="149.02,-148.11 156.06,-140.2 145.62,-141.99 149.02,-148.11"/>
</a>
</g>
</g>
<!-- Node15 -->
<g id="node15" class="node">
<g id="Node000015" class="node">
<title>Node15</title>
<g id="a_node15"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/vector/size.html#" xlink:title=" ">
<g id="a_Node000015"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/vector/size.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="240.75,-79.5 154.25,-79.5 154.25,-60.25 240.75,-60.25 240.75,-79.5"/>
<text text-anchor="middle" x="197.5" y="-66" font-family="Helvetica,sans-Serif" font-size="10.00">std::vector::size</text>
</a>
</g>
</g>
<!-- Node2&#45;&gt;Node15 -->
<g id="edge16" class="edge">
<g id="edge16_Node000002_Node000015" class="edge">
<title>Node2&#45;&gt;Node15</title>
<g id="a_edge16_Node000002_Node000015"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M93.28,-168.95C99.39,-150.53 114.94,-110.93 141.5,-88.88 143.13,-87.52 144.87,-86.26 146.68,-85.09"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="148.08,-87.76 155.21,-79.93 144.75,-81.61 148.08,-87.76"/>
</a>
</g>
</g>
<!-- Node16 -->
<g id="node16" class="node">
<g id="Node000016" class="node">
<title>Node16</title>
<g id="a_node16"><a xlink:href="../../d3/d26/classdata__structures_1_1trie__using__hashmap_1_1_trie.html#af3aee573fbabd2c1510c0f74f842dd17" target="_top" xlink:title="search a word/string that starts with a given prefix">
<g id="a_Node000016"><a xlink:href="../../d3/d26/classdata__structures_1_1trie__using__hashmap_1_1_trie.html#af3aee573fbabd2c1510c0f74f842dd17" target="_top" xlink:title="search a word/string that starts with a given prefix">
<polygon fill="white" stroke="#666666" points="253.5,-41.75 141.5,-41.75 141.5,0 253.5,0 253.5,-41.75"/>
<text text-anchor="start" x="149.5" y="-28.25" font-family="Helvetica,sans-Serif" font-size="10.00">data_structures::trie</text>
<text text-anchor="start" x="149.5" y="-17" font-family="Helvetica,sans-Serif" font-size="10.00">_using_hashmap::Trie</text>
@@ -188,90 +209,108 @@ var sectionId = 'dynsection-1';
</g>
</g>
<!-- Node2&#45;&gt;Node16 -->
<g id="edge17" class="edge">
<g id="edge17_Node000002_Node000016" class="edge">
<title>Node2&#45;&gt;Node16</title>
<g id="a_edge17_Node000002_Node000016"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M91.84,-169.02C96.05,-145.82 109.39,-87.03 141.5,-50.88 141.94,-50.38 142.39,-49.89 142.85,-49.41"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="144.86,-52.42 150.01,-43.16 140.21,-47.18 144.86,-52.42"/>
</a>
</g>
</g>
<!-- Node4 -->
<g id="node4" class="node">
<g id="Node000004" class="node">
<title>Node4</title>
<g id="a_node4"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/string/basic_string/back.html#" xlink:title=" ">
<g id="a_Node000004"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/string/basic_string/back.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="388.75,-417.5 302.25,-417.5 302.25,-398.25 388.75,-398.25 388.75,-417.5"/>
<text text-anchor="middle" x="345.5" y="-404" font-family="Helvetica,sans-Serif" font-size="10.00">std::string::back</text>
</a>
</g>
</g>
<!-- Node3&#45;&gt;Node4 -->
<g id="edge3" class="edge">
<g id="edge3_Node000003_Node000004" class="edge">
<title>Node3&#45;&gt;Node4</title>
<g id="a_edge3_Node000003_Node000004"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M230.89,-357.99C247.88,-368.48 269.32,-380.82 289.5,-389.88 292.86,-391.38 296.38,-392.82 299.95,-394.19"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="298.45,-397.73 309.04,-397.84 300.82,-391.15 298.45,-397.73"/>
</a>
</g>
</g>
<!-- Node5 -->
<g id="node5" class="node">
<g id="Node000005" class="node">
<title>Node5</title>
<g id="a_node5"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/stack/pop.html#" xlink:title=" ">
<g id="a_Node000005"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/stack/pop.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="386.12,-380.5 304.88,-380.5 304.88,-361.25 386.12,-361.25 386.12,-380.5"/>
<text text-anchor="middle" x="345.5" y="-367" font-family="Helvetica,sans-Serif" font-size="10.00">std::stack::pop</text>
</a>
</g>
</g>
<!-- Node3&#45;&gt;Node5 -->
<g id="edge4" class="edge">
<g id="edge4_Node000003_Node000005" class="edge">
<title>Node3&#45;&gt;Node5</title>
<g id="a_edge4_Node000003_Node000005"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M253.7,-349.73C266.94,-352.81 281.03,-356.09 294.05,-359.13"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="293.16,-362.75 303.69,-361.6 294.75,-355.93 293.16,-362.75"/>
</a>
</g>
</g>
<!-- Node6 -->
<g id="node6" class="node">
<g id="Node000006" class="node">
<title>Node6</title>
<g id="a_node6"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/string/basic_string/pop_back.html#" xlink:title=" ">
<g id="a_Node000006"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/string/basic_string/pop_back.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="549.12,-285.5 441.62,-285.5 441.62,-266.25 549.12,-266.25 549.12,-285.5"/>
<text text-anchor="middle" x="495.38" y="-272" font-family="Helvetica,sans-Serif" font-size="10.00">std::string::pop_back</text>
</a>
</g>
</g>
<!-- Node3&#45;&gt;Node6 -->
<g id="edge5" class="edge">
<g id="edge5_Node000003_Node000006" class="edge">
<title>Node3&#45;&gt;Node6</title>
<g id="a_edge5_Node000003_Node000006"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M253.95,-334.71C295.18,-332.12 352.54,-326.41 401.5,-313.88 423.23,-308.31 446.59,-298.74 464.45,-290.59"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="465.69,-293.4 473.27,-286 462.73,-287.06 465.69,-293.4"/>
</a>
</g>
</g>
<!-- Node7 -->
<g id="node7" class="node">
<g id="Node000007" class="node">
<title>Node7</title>
<g id="a_node7"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/stack/push.html#" xlink:title=" ">
<g id="a_Node000007"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/stack/push.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="388.75,-304.5 302.25,-304.5 302.25,-285.25 388.75,-285.25 388.75,-304.5"/>
<text text-anchor="middle" x="345.5" y="-291" font-family="Helvetica,sans-Serif" font-size="10.00">std::stack::push</text>
</a>
</g>
</g>
<!-- Node3&#45;&gt;Node7 -->
<g id="edge6" class="edge">
<g id="edge6_Node000003_Node000007" class="edge">
<title>Node3&#45;&gt;Node7</title>
<g id="a_edge6_Node000003_Node000007"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M253.7,-321C268.77,-316.66 284.93,-312.01 299.37,-307.86"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="299.9,-311.06 308.54,-304.93 297.96,-304.33 299.9,-311.06"/>
</a>
</g>
</g>
<!-- Node8 -->
<g id="node8" class="node">
<g id="Node000008" class="node">
<title>Node8</title>
<g id="a_node8"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/stack/top.html#" xlink:title=" ">
<g id="a_Node000008"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/stack/top.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="385,-267.5 306,-267.5 306,-248.25 385,-248.25 385,-267.5"/>
<text text-anchor="middle" x="345.5" y="-254" font-family="Helvetica,sans-Serif" font-size="10.00">std::stack::top</text>
</a>
</g>
</g>
<!-- Node3&#45;&gt;Node8 -->
<g id="edge7" class="edge">
<g id="edge7_Node000003_Node000008" class="edge">
<title>Node3&#45;&gt;Node8</title>
<g id="a_edge7_Node000003_Node000008"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M239.92,-315.53C244.59,-312.76 249.21,-309.84 253.5,-306.88 270.87,-294.86 271.11,-286.25 289.5,-275.88 291.87,-274.54 294.36,-273.28 296.91,-272.1"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="298.06,-275 305.96,-267.95 295.38,-268.53 298.06,-275"/>
</a>
</g>
</g>
<!-- Node12 -->
<g id="node12" class="node">
<g id="Node000012" class="node">
<title>Node12</title>
<g id="a_node12"><a xlink:href="../../d3/d26/classdata__structures_1_1trie__using__hashmap_1_1_trie.html#a7bbe538c8015e8ce158e7ed43f605ebd" target="_top" xlink:title="helper function to predict/recommend words that starts with a given prefix from the end of prefix&#39;s n...">
<g id="a_Node000012"><a xlink:href="../../d3/d26/classdata__structures_1_1trie__using__hashmap_1_1_trie.html#a7bbe538c8015e8ce158e7ed43f605ebd" target="_top" xlink:title="helper function to predict/recommend words that starts with a given prefix from the end of prefix&#39;s n...">
<polygon fill="white" stroke="#666666" points="401.5,-207.75 289.5,-207.75 289.5,-166 401.5,-166 401.5,-207.75"/>
<text text-anchor="start" x="297.5" y="-194.25" font-family="Helvetica,sans-Serif" font-size="10.00">data_structures::trie</text>
<text text-anchor="start" x="297.5" y="-183" font-family="Helvetica,sans-Serif" font-size="10.00">_using_hashmap::Trie</text>
@@ -280,79 +319,85 @@ var sectionId = 'dynsection-1';
</g>
</g>
<!-- Node11&#45;&gt;Node12 -->
<g id="edge11" class="edge">
<g id="edge11_Node000011_Node000012" class="edge">
<title>Node11&#45;&gt;Node12</title>
<g id="a_edge11_Node000011_Node000012"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M253.7,-181.9C261.78,-182.34 270.18,-182.8 278.45,-183.26"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="278.05,-186.79 288.23,-183.85 278.43,-179.8 278.05,-186.79"/>
</a>
</g>
</g>
<!-- Node12&#45;&gt;Node6 -->
<g id="edge13" class="edge">
<g id="edge13_Node000012_Node000006" class="edge">
<title>Node12&#45;&gt;Node6</title>
<g id="a_edge13_Node000012_Node000006"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M381.92,-208.19C408.65,-224.28 444.71,-245.98 468.71,-260.43"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="466.52,-263.79 476.89,-265.95 470.13,-257.8 466.52,-263.79"/>
</a>
</g>
</g>
<!-- Node12&#45;&gt;Node12 -->
<g id="edge12" class="edge">
<g id="edge12_Node000012_Node000012" class="edge">
<title>Node12&#45;&gt;Node12</title>
<g id="a_edge12_Node000012_Node000012"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M318.18,-208.07C315.58,-217.55 324.69,-225.75 345.5,-225.75 357.86,-225.75 366.09,-222.86 370.19,-218.53"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="373.78,-219.62 372.82,-209.07 366.99,-217.91 373.78,-219.62"/>
</a>
</g>
</g>
<!-- Node13 -->
<g id="node13" class="node">
<g id="Node000013" class="node">
<title>Node13</title>
<g id="a_node13"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/vector/push_back.html#" xlink:title=" ">
<g id="a_Node000013"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/vector/push_back.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="553.25,-196.5 437.5,-196.5 437.5,-177.25 553.25,-177.25 553.25,-196.5"/>
<text text-anchor="middle" x="495.38" y="-183" font-family="Helvetica,sans-Serif" font-size="10.00">std::vector::push_back</text>
</a>
</g>
</g>
<!-- Node12&#45;&gt;Node13 -->
<g id="edge14" class="edge">
<g id="edge14_Node000012_Node000013" class="edge">
<title>Node12&#45;&gt;Node13</title>
<g id="a_edge14_Node000012_Node000013"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M401.98,-186.88C409.87,-186.88 418.06,-186.88 426.15,-186.88"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="426.1,-190.38 436.1,-186.88 426.1,-183.38 426.1,-190.38"/>
</a>
</g>
</g>
</g>
</svg>
<g id="navigator" transform="translate(0 0)" fill="#404254">
<rect fill="#f2f5e9" fill-opacity="0.5" stroke="#606060" stroke-width=".5" x="0" y="0" width="60" height="60"/>
<use id="zoomplus" xlink:href="#zoomPlus" x="17" y="9" onmousedown="handleZoom(evt,'in')"/>
<use id="zoomminus" xlink:href="#zoomMin" x="42" y="9" onmousedown="handleZoom(evt,'out')"/>
<use id="reset" xlink:href="#resetDef" x="30" y="36" onmousedown="handleReset()"/>
<g id="arrowUp" xlink:href="#dirArrow" transform="translate(30 24)" onmousedown="handlePan(0,-1)">
<use xlink:href="#rim" fill="#404040">
<set attributeName="fill" to="#808080" begin="arrowUp.mouseover" end="arrowUp.mouseout"/>
</use>
<path fill="none" stroke="white" stroke-width="1.5" d="M0,-3.0v7 M-2.5,-0.5L0,-3.0L2.5,-0.5"/>
</g>
<g id="arrowRight" xlink:href="#dirArrow" transform="rotate(90) translate(36 -43)" onmousedown="handlePan(1,0)">
<use xlink:href="#rim" fill="#404040">
<set attributeName="fill" to="#808080" begin="arrowRight.mouseover" end="arrowRight.mouseout"/>
</use>
<path fill="none" stroke="white" stroke-width="1.5" d="M0,-3.0v7 M-2.5,-0.5L0,-3.0L2.5,-0.5"/>
</g>
<g id="arrowDown" xlink:href="#dirArrow" transform="rotate(180) translate(-30 -48)" onmousedown="handlePan(0,1)">
<use xlink:href="#rim" fill="#404040">
<set attributeName="fill" to="#808080" begin="arrowDown.mouseover" end="arrowDown.mouseout"/>
</use>
<path fill="none" stroke="white" stroke-width="1.5" d="M0,-3.0v7 M-2.5,-0.5L0,-3.0L2.5,-0.5"/>
</g>
<g id="arrowLeft" xlink:href="#dirArrow" transform="rotate(270) translate(-36 17)" onmousedown="handlePan(-1,0)">
<use xlink:href="#rim" fill="#404040">
<set attributeName="fill" to="#808080" begin="arrowLeft.mouseover" end="arrowLeft.mouseout"/>
</use>
<path fill="none" stroke="white" stroke-width="1.5" d="M0,-3.0v7 M-2.5,-0.5L0,-3.0L2.5,-0.5"/>
</g>
</g>
<svg viewBox="0 0 15 15" width="100%" height="30px" preserveAspectRatio="xMaxYMin meet">
<g id="arrow_out" transform="scale(0.3 0.3)">
<a xlink:href="trie__using__hashmap_8cpp_ae66f6b31b5ad750f1fe042a706a4e3d4_cgraph_org.svg" target="_base">
<rect id="button" ry="5" rx="5" y="6" x="6" height="38" width="38"
fill="#f2f5e9" fill-opacity="0.5" stroke="#606060" stroke-width="1.0"/>
<path id="arrow"
d="M 11.500037,31.436501 C 11.940474,20.09759 22.043105,11.32322 32.158766,21.979434 L 37.068811,17.246167 C 37.068811,17.246167 37.088388,32 37.088388,32 L 22.160133,31.978069 C 22.160133,31.978069 26.997745,27.140456 26.997745,27.140456 C 18.528582,18.264221 13.291696,25.230495 11.500037,31.436501 z"
style="fill:#404040;"/>
</a>
</g>
</svg>
<g id="navigator" transform="translate(0 0)" fill="#404254">
<rect fill="#f2f5e9" fill-opacity="0.5" stroke="#606060" stroke-width=".5" x="0" y="0" width="60" height="60"/>
<use id="zoomplus" xlink:href="#zoomPlus" x="17" y="9" onmousedown="handleZoom(evt,'in')"/>
<use id="zoomminus" xlink:href="#zoomMin" x="42" y="9" onmousedown="handleZoom(evt,'out')"/>
<use id="reset" xlink:href="#resetDef" x="30" y="36" onmousedown="handleReset()"/>
<use id="arrowup" xlink:href="#arrowUp" x="0" y="0" onmousedown="handlePan(0,-1)"/>
<use id="arrowright" xlink:href="#arrowRight" x="0" y="0" onmousedown="handlePan(1,0)"/>
<use id="arrowdown" xlink:href="#arrowDown" x="0" y="0" onmousedown="handlePan(0,1)"/>
<use id="arrowleft" xlink:href="#arrowLeft" x="0" y="0" onmousedown="handlePan(-1,0)"/>
</g>
<svg viewBox="0 0 15 15" width="100%" height="30px" preserveAspectRatio="xMaxYMin meet">
<g id="arrow_out" transform="scale(0.3 0.3)">
<a xlink:href="trie__using__hashmap_8cpp_ae66f6b31b5ad750f1fe042a706a4e3d4_cgraph_org.svg" target="_base">
<rect id="button" ry="5" rx="5" y="6" x="6" height="38" width="38"
fill="#f2f5e9" fill-opacity="0.5" stroke="#606060" stroke-width="1.0"/>
<path id="arrow"
d="M 11.500037,31.436501 C 11.940474,20.09759 22.043105,11.32322 32.158766,21.979434 L 37.068811,17.246167 C 37.068811,17.246167 37.088388,32 37.088388,32 L 22.160133,31.978069 C 22.160133,31.978069 26.997745,27.140456 26.997745,27.140456 C 18.528582,18.264221 13.291696,25.230495 11.500037,31.436501 z"
style="fill:#404040;"/>
</a>
</g>
</svg>
<style type='text/css'>
<![CDATA[
[data-mouse-over-selected='false'] { opacity: 0.7; }
[data-mouse-over-selected='true'] { opacity: 1.0; }
]]>
</style>
<script type="application/ecmascript"><![CDATA[
document.addEventListener('DOMContentLoaded', (event) => {
highlightEdges();
highlightAdjacentNodes();
});
]]></script>
</svg>

Before

Width:  |  Height:  |  Size: 20 KiB

After

Width:  |  Height:  |  Size: 20 KiB

View File

@@ -9,33 +9,36 @@
<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 421.5)">
<title>main</title>
<!-- Node1 -->
<g id="node1" class="node">
<g id="Node000001" class="node">
<title>Node1</title>
<g id="a_node1"><a xlink:title="Main function.">
<g id="a_Node000001"><a xlink:title="Main function.">
<polygon fill="#999999" stroke="#666666" points="37,-188.5 0,-188.5 0,-169.25 37,-169.25 37,-188.5"/>
<text text-anchor="middle" x="18.5" y="-175" font-family="Helvetica,sans-Serif" font-size="10.00">main</text>
</a>
</g>
</g>
<!-- Node2 -->
<g id="node2" class="node">
<g id="Node000002" class="node">
<title>Node2</title>
<g id="a_node2"><a xlink:href="../../d5/d8a/trie__using__hashmap_8cpp.html#aa8dca7b867074164d5f45b0f3851269d" target="_top" xlink:title="Self&#45;test implementations.">
<g id="a_Node000002"><a xlink:href="../../d5/d8a/trie__using__hashmap_8cpp.html#aa8dca7b867074164d5f45b0f3851269d" target="_top" xlink:title="Self&#45;test implementations.">
<polygon fill="white" stroke="#666666" points="105.5,-188.5 73,-188.5 73,-169.25 105.5,-169.25 105.5,-188.5"/>
<text text-anchor="middle" x="89.25" y="-175" font-family="Helvetica,sans-Serif" font-size="10.00">test</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node2 -->
<g id="edge1" class="edge">
<g id="edge1_Node000001_Node000002" class="edge">
<title>Node1&#45;&gt;Node2</title>
<g id="a_edge1_Node000001_Node000002"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M37.2,-178.88C44.67,-178.88 53.52,-178.88 61.73,-178.88"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="61.71,-182.38 71.71,-178.88 61.71,-175.38 61.71,-182.38"/>
</a>
</g>
</g>
<!-- Node3 -->
<g id="node3" class="node">
<g id="Node000003" class="node">
<title>Node3</title>
<g id="a_node3"><a xlink:href="../../d3/d26/classdata__structures_1_1trie__using__hashmap_1_1_trie.html#ac0bf3d6791cba144b3f539835d835e75" target="_top" xlink:title="delete a word/string from a trie">
<g id="a_Node000003"><a xlink:href="../../d3/d26/classdata__structures_1_1trie__using__hashmap_1_1_trie.html#ac0bf3d6791cba144b3f539835d835e75" target="_top" xlink:title="delete a word/string from a trie">
<polygon fill="white" stroke="#666666" points="253.5,-357.75 141.5,-357.75 141.5,-316 253.5,-316 253.5,-357.75"/>
<text text-anchor="start" x="149.5" y="-344.25" font-family="Helvetica,sans-Serif" font-size="10.00">data_structures::trie</text>
<text text-anchor="start" x="149.5" y="-333" font-family="Helvetica,sans-Serif" font-size="10.00">_using_hashmap::Trie</text>
@@ -44,30 +47,36 @@
</g>
</g>
<!-- Node2&#45;&gt;Node3 -->
<g id="edge2" class="edge">
<g id="edge2_Node000002_Node000003" class="edge">
<title>Node2&#45;&gt;Node3</title>
<g id="a_edge2_Node000002_Node000003"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M91.84,-188.73C96.05,-211.93 109.39,-270.72 141.5,-306.88 141.94,-307.37 142.39,-307.86 142.85,-308.34"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="140.21,-310.57 150.01,-314.59 144.86,-305.33 140.21,-310.57"/>
</a>
</g>
</g>
<!-- Node9 -->
<g id="node9" class="node">
<g id="Node000009" class="node">
<title>Node9</title>
<g id="a_node9"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/io/manip/endl.html#" xlink:title=" ">
<g id="a_Node000009"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/io/manip/endl.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="224.25,-297.5 170.75,-297.5 170.75,-278.25 224.25,-278.25 224.25,-297.5"/>
<text text-anchor="middle" x="197.5" y="-284" font-family="Helvetica,sans-Serif" font-size="10.00">std::endl</text>
</a>
</g>
</g>
<!-- Node2&#45;&gt;Node9 -->
<g id="edge8" class="edge">
<g id="edge8_Node000002_Node000009" class="edge">
<title>Node2&#45;&gt;Node9</title>
<g id="a_edge8_Node000002_Node000009"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M93.28,-188.8C99.39,-207.22 114.94,-246.82 141.5,-268.88 146.91,-273.36 153.44,-276.82 160.08,-279.46"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="158.87,-283.09 169.47,-283 161.12,-276.46 158.87,-283.09"/>
</a>
</g>
</g>
<!-- Node10 -->
<g id="node10" class="node">
<g id="Node000010" class="node">
<title>Node10</title>
<g id="a_node10"><a xlink:href="../../d3/d26/classdata__structures_1_1trie__using__hashmap_1_1_trie.html#abcae0a4456e7f583ce716e3ef466dfd2" target="_top" xlink:title="insert the string into the trie">
<g id="a_Node000010"><a xlink:href="../../d3/d26/classdata__structures_1_1trie__using__hashmap_1_1_trie.html#abcae0a4456e7f583ce716e3ef466dfd2" target="_top" xlink:title="insert the string into the trie">
<polygon fill="white" stroke="#666666" points="253.5,-259.75 141.5,-259.75 141.5,-218 253.5,-218 253.5,-259.75"/>
<text text-anchor="start" x="149.5" y="-246.25" font-family="Helvetica,sans-Serif" font-size="10.00">data_structures::trie</text>
<text text-anchor="start" x="149.5" y="-235" font-family="Helvetica,sans-Serif" font-size="10.00">_using_hashmap::Trie</text>
@@ -76,15 +85,18 @@
</g>
</g>
<!-- Node2&#45;&gt;Node10 -->
<g id="edge9" class="edge">
<g id="edge9_Node000002_Node000010" class="edge">
<title>Node2&#45;&gt;Node10</title>
<g id="a_edge9_Node000002_Node000010"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M105.88,-188.19C116,-194.18 129.47,-202.08 141.5,-208.88 143.54,-210.03 145.62,-211.2 147.73,-212.38"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="145.62,-215.76 156.06,-217.55 149.02,-209.64 145.62,-215.76"/>
</a>
</g>
</g>
<!-- Node11 -->
<g id="node11" class="node">
<g id="Node000011" class="node">
<title>Node11</title>
<g id="a_node11"><a xlink:href="../../d3/d26/classdata__structures_1_1trie__using__hashmap_1_1_trie.html#ae15fdc7f2b5023992d87a711d78566c4" target="_top" xlink:title="predict/recommend a word that starts with a given prefix">
<g id="a_Node000011"><a xlink:href="../../d3/d26/classdata__structures_1_1trie__using__hashmap_1_1_trie.html#ae15fdc7f2b5023992d87a711d78566c4" target="_top" xlink:title="predict/recommend a word that starts with a given prefix">
<polygon fill="white" stroke="#666666" points="253.5,-199.75 141.5,-199.75 141.5,-158 253.5,-158 253.5,-199.75"/>
<text text-anchor="start" x="149.5" y="-186.25" font-family="Helvetica,sans-Serif" font-size="10.00">data_structures::trie</text>
<text text-anchor="start" x="149.5" y="-175" font-family="Helvetica,sans-Serif" font-size="10.00">_using_hashmap::Trie</text>
@@ -93,15 +105,18 @@
</g>
</g>
<!-- Node2&#45;&gt;Node11 -->
<g id="edge10" class="edge">
<g id="edge10_Node000002_Node000011" class="edge">
<title>Node2&#45;&gt;Node11</title>
<g id="a_edge10_Node000002_Node000011"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M105.93,-178.88C112.81,-178.88 121.41,-178.88 130.54,-178.88"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="130.44,-182.38 140.44,-178.88 130.44,-175.38 130.44,-182.38"/>
</a>
</g>
</g>
<!-- Node14 -->
<g id="node14" class="node">
<g id="Node000014" class="node">
<title>Node14</title>
<g id="a_node14"><a xlink:href="../../d3/d26/classdata__structures_1_1trie__using__hashmap_1_1_trie.html#ad71eb24207c28b546631802dba97310f" target="_top" xlink:title="search a word/string inside the trie">
<g id="a_Node000014"><a xlink:href="../../d3/d26/classdata__structures_1_1trie__using__hashmap_1_1_trie.html#ad71eb24207c28b546631802dba97310f" target="_top" xlink:title="search a word/string inside the trie">
<polygon fill="white" stroke="#666666" points="253.5,-139.75 141.5,-139.75 141.5,-98 253.5,-98 253.5,-139.75"/>
<text text-anchor="start" x="149.5" y="-126.25" font-family="Helvetica,sans-Serif" font-size="10.00">data_structures::trie</text>
<text text-anchor="start" x="149.5" y="-115" font-family="Helvetica,sans-Serif" font-size="10.00">_using_hashmap::Trie</text>
@@ -110,30 +125,36 @@
</g>
</g>
<!-- Node2&#45;&gt;Node14 -->
<g id="edge15" class="edge">
<g id="edge15_Node000002_Node000014" class="edge">
<title>Node2&#45;&gt;Node14</title>
<g id="a_edge15_Node000002_Node000014"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M105.88,-169.56C116,-163.57 129.47,-155.67 141.5,-148.88 143.54,-147.72 145.62,-146.55 147.73,-145.37"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="149.02,-148.11 156.06,-140.2 145.62,-141.99 149.02,-148.11"/>
</a>
</g>
</g>
<!-- Node15 -->
<g id="node15" class="node">
<g id="Node000015" class="node">
<title>Node15</title>
<g id="a_node15"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/vector/size.html#" xlink:title=" ">
<g id="a_Node000015"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/vector/size.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="240.75,-79.5 154.25,-79.5 154.25,-60.25 240.75,-60.25 240.75,-79.5"/>
<text text-anchor="middle" x="197.5" y="-66" font-family="Helvetica,sans-Serif" font-size="10.00">std::vector::size</text>
</a>
</g>
</g>
<!-- Node2&#45;&gt;Node15 -->
<g id="edge16" class="edge">
<g id="edge16_Node000002_Node000015" class="edge">
<title>Node2&#45;&gt;Node15</title>
<g id="a_edge16_Node000002_Node000015"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M93.28,-168.95C99.39,-150.53 114.94,-110.93 141.5,-88.88 143.13,-87.52 144.87,-86.26 146.68,-85.09"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="148.08,-87.76 155.21,-79.93 144.75,-81.61 148.08,-87.76"/>
</a>
</g>
</g>
<!-- Node16 -->
<g id="node16" class="node">
<g id="Node000016" class="node">
<title>Node16</title>
<g id="a_node16"><a xlink:href="../../d3/d26/classdata__structures_1_1trie__using__hashmap_1_1_trie.html#af3aee573fbabd2c1510c0f74f842dd17" target="_top" xlink:title="search a word/string that starts with a given prefix">
<g id="a_Node000016"><a xlink:href="../../d3/d26/classdata__structures_1_1trie__using__hashmap_1_1_trie.html#af3aee573fbabd2c1510c0f74f842dd17" target="_top" xlink:title="search a word/string that starts with a given prefix">
<polygon fill="white" stroke="#666666" points="253.5,-41.75 141.5,-41.75 141.5,0 253.5,0 253.5,-41.75"/>
<text text-anchor="start" x="149.5" y="-28.25" font-family="Helvetica,sans-Serif" font-size="10.00">data_structures::trie</text>
<text text-anchor="start" x="149.5" y="-17" font-family="Helvetica,sans-Serif" font-size="10.00">_using_hashmap::Trie</text>
@@ -142,90 +163,108 @@
</g>
</g>
<!-- Node2&#45;&gt;Node16 -->
<g id="edge17" class="edge">
<g id="edge17_Node000002_Node000016" class="edge">
<title>Node2&#45;&gt;Node16</title>
<g id="a_edge17_Node000002_Node000016"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M91.84,-169.02C96.05,-145.82 109.39,-87.03 141.5,-50.88 141.94,-50.38 142.39,-49.89 142.85,-49.41"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="144.86,-52.42 150.01,-43.16 140.21,-47.18 144.86,-52.42"/>
</a>
</g>
</g>
<!-- Node4 -->
<g id="node4" class="node">
<g id="Node000004" class="node">
<title>Node4</title>
<g id="a_node4"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/string/basic_string/back.html#" xlink:title=" ">
<g id="a_Node000004"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/string/basic_string/back.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="388.75,-417.5 302.25,-417.5 302.25,-398.25 388.75,-398.25 388.75,-417.5"/>
<text text-anchor="middle" x="345.5" y="-404" font-family="Helvetica,sans-Serif" font-size="10.00">std::string::back</text>
</a>
</g>
</g>
<!-- Node3&#45;&gt;Node4 -->
<g id="edge3" class="edge">
<g id="edge3_Node000003_Node000004" class="edge">
<title>Node3&#45;&gt;Node4</title>
<g id="a_edge3_Node000003_Node000004"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M230.89,-357.99C247.88,-368.48 269.32,-380.82 289.5,-389.88 292.86,-391.38 296.38,-392.82 299.95,-394.19"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="298.45,-397.73 309.04,-397.84 300.82,-391.15 298.45,-397.73"/>
</a>
</g>
</g>
<!-- Node5 -->
<g id="node5" class="node">
<g id="Node000005" class="node">
<title>Node5</title>
<g id="a_node5"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/stack/pop.html#" xlink:title=" ">
<g id="a_Node000005"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/stack/pop.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="386.12,-380.5 304.88,-380.5 304.88,-361.25 386.12,-361.25 386.12,-380.5"/>
<text text-anchor="middle" x="345.5" y="-367" font-family="Helvetica,sans-Serif" font-size="10.00">std::stack::pop</text>
</a>
</g>
</g>
<!-- Node3&#45;&gt;Node5 -->
<g id="edge4" class="edge">
<g id="edge4_Node000003_Node000005" class="edge">
<title>Node3&#45;&gt;Node5</title>
<g id="a_edge4_Node000003_Node000005"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M253.7,-349.73C266.94,-352.81 281.03,-356.09 294.05,-359.13"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="293.16,-362.75 303.69,-361.6 294.75,-355.93 293.16,-362.75"/>
</a>
</g>
</g>
<!-- Node6 -->
<g id="node6" class="node">
<g id="Node000006" class="node">
<title>Node6</title>
<g id="a_node6"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/string/basic_string/pop_back.html#" xlink:title=" ">
<g id="a_Node000006"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/string/basic_string/pop_back.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="549.12,-285.5 441.62,-285.5 441.62,-266.25 549.12,-266.25 549.12,-285.5"/>
<text text-anchor="middle" x="495.38" y="-272" font-family="Helvetica,sans-Serif" font-size="10.00">std::string::pop_back</text>
</a>
</g>
</g>
<!-- Node3&#45;&gt;Node6 -->
<g id="edge5" class="edge">
<g id="edge5_Node000003_Node000006" class="edge">
<title>Node3&#45;&gt;Node6</title>
<g id="a_edge5_Node000003_Node000006"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M253.95,-334.71C295.18,-332.12 352.54,-326.41 401.5,-313.88 423.23,-308.31 446.59,-298.74 464.45,-290.59"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="465.69,-293.4 473.27,-286 462.73,-287.06 465.69,-293.4"/>
</a>
</g>
</g>
<!-- Node7 -->
<g id="node7" class="node">
<g id="Node000007" class="node">
<title>Node7</title>
<g id="a_node7"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/stack/push.html#" xlink:title=" ">
<g id="a_Node000007"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/stack/push.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="388.75,-304.5 302.25,-304.5 302.25,-285.25 388.75,-285.25 388.75,-304.5"/>
<text text-anchor="middle" x="345.5" y="-291" font-family="Helvetica,sans-Serif" font-size="10.00">std::stack::push</text>
</a>
</g>
</g>
<!-- Node3&#45;&gt;Node7 -->
<g id="edge6" class="edge">
<g id="edge6_Node000003_Node000007" class="edge">
<title>Node3&#45;&gt;Node7</title>
<g id="a_edge6_Node000003_Node000007"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M253.7,-321C268.77,-316.66 284.93,-312.01 299.37,-307.86"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="299.9,-311.06 308.54,-304.93 297.96,-304.33 299.9,-311.06"/>
</a>
</g>
</g>
<!-- Node8 -->
<g id="node8" class="node">
<g id="Node000008" class="node">
<title>Node8</title>
<g id="a_node8"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/stack/top.html#" xlink:title=" ">
<g id="a_Node000008"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/stack/top.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="385,-267.5 306,-267.5 306,-248.25 385,-248.25 385,-267.5"/>
<text text-anchor="middle" x="345.5" y="-254" font-family="Helvetica,sans-Serif" font-size="10.00">std::stack::top</text>
</a>
</g>
</g>
<!-- Node3&#45;&gt;Node8 -->
<g id="edge7" class="edge">
<g id="edge7_Node000003_Node000008" class="edge">
<title>Node3&#45;&gt;Node8</title>
<g id="a_edge7_Node000003_Node000008"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M239.92,-315.53C244.59,-312.76 249.21,-309.84 253.5,-306.88 270.87,-294.86 271.11,-286.25 289.5,-275.88 291.87,-274.54 294.36,-273.28 296.91,-272.1"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="298.06,-275 305.96,-267.95 295.38,-268.53 298.06,-275"/>
</a>
</g>
</g>
<!-- Node12 -->
<g id="node12" class="node">
<g id="Node000012" class="node">
<title>Node12</title>
<g id="a_node12"><a xlink:href="../../d3/d26/classdata__structures_1_1trie__using__hashmap_1_1_trie.html#a7bbe538c8015e8ce158e7ed43f605ebd" target="_top" xlink:title="helper function to predict/recommend words that starts with a given prefix from the end of prefix&#39;s n...">
<g id="a_Node000012"><a xlink:href="../../d3/d26/classdata__structures_1_1trie__using__hashmap_1_1_trie.html#a7bbe538c8015e8ce158e7ed43f605ebd" target="_top" xlink:title="helper function to predict/recommend words that starts with a given prefix from the end of prefix&#39;s n...">
<polygon fill="white" stroke="#666666" points="401.5,-207.75 289.5,-207.75 289.5,-166 401.5,-166 401.5,-207.75"/>
<text text-anchor="start" x="297.5" y="-194.25" font-family="Helvetica,sans-Serif" font-size="10.00">data_structures::trie</text>
<text text-anchor="start" x="297.5" y="-183" font-family="Helvetica,sans-Serif" font-size="10.00">_using_hashmap::Trie</text>
@@ -234,37 +273,49 @@
</g>
</g>
<!-- Node11&#45;&gt;Node12 -->
<g id="edge11" class="edge">
<g id="edge11_Node000011_Node000012" class="edge">
<title>Node11&#45;&gt;Node12</title>
<g id="a_edge11_Node000011_Node000012"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M253.7,-181.9C261.78,-182.34 270.18,-182.8 278.45,-183.26"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="278.05,-186.79 288.23,-183.85 278.43,-179.8 278.05,-186.79"/>
</a>
</g>
</g>
<!-- Node12&#45;&gt;Node6 -->
<g id="edge13" class="edge">
<g id="edge13_Node000012_Node000006" class="edge">
<title>Node12&#45;&gt;Node6</title>
<g id="a_edge13_Node000012_Node000006"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M381.92,-208.19C408.65,-224.28 444.71,-245.98 468.71,-260.43"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="466.52,-263.79 476.89,-265.95 470.13,-257.8 466.52,-263.79"/>
</a>
</g>
</g>
<!-- Node12&#45;&gt;Node12 -->
<g id="edge12" class="edge">
<g id="edge12_Node000012_Node000012" class="edge">
<title>Node12&#45;&gt;Node12</title>
<g id="a_edge12_Node000012_Node000012"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M318.18,-208.07C315.58,-217.55 324.69,-225.75 345.5,-225.75 357.86,-225.75 366.09,-222.86 370.19,-218.53"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="373.78,-219.62 372.82,-209.07 366.99,-217.91 373.78,-219.62"/>
</a>
</g>
</g>
<!-- Node13 -->
<g id="node13" class="node">
<g id="Node000013" class="node">
<title>Node13</title>
<g id="a_node13"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/vector/push_back.html#" xlink:title=" ">
<g id="a_Node000013"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/vector/push_back.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="553.25,-196.5 437.5,-196.5 437.5,-177.25 553.25,-177.25 553.25,-196.5"/>
<text text-anchor="middle" x="495.38" y="-183" font-family="Helvetica,sans-Serif" font-size="10.00">std::vector::push_back</text>
</a>
</g>
</g>
<!-- Node12&#45;&gt;Node13 -->
<g id="edge14" class="edge">
<g id="edge14_Node000012_Node000013" class="edge">
<title>Node12&#45;&gt;Node13</title>
<g id="a_edge14_Node000012_Node000013"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M401.98,-186.88C409.87,-186.88 418.06,-186.88 426.15,-186.88"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="426.1,-190.38 436.1,-186.88 426.1,-183.38 426.1,-190.38"/>
</a>
</g>
</g>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 17 KiB