Documentation for f4fe0c6f5b

This commit is contained in:
github-actions
2020-08-27 21:19:02 +00:00
parent 0b47362cb6
commit 4cb900f32b
165 changed files with 1118 additions and 1116 deletions

View File

@@ -98,10 +98,10 @@ $(document).ready(function(){initNavTree('annotated.html',''); initResizable();
<div class="levels">[detail level <span onclick="javascript:toggleLevel(1);">1</span><span onclick="javascript:toggleLevel(2);">2</span><span onclick="javascript:toggleLevel(3);">3</span><span onclick="javascript:toggleLevel(4);">4</span>]</div><table class="directory">
<tr id="row_0_" class="even"><td class="entry"><span style="width:0px;display:inline-block;">&#160;</span><span id="arr_0_" class="arrow" onclick="toggleFolder('0_')">&#9660;</span><span class="icona"><span class="icon">N</span></span><a class="el" href="d6/d4e/namespaceciphers.html" target="_self">ciphers</a></td><td class="desc">Algorithms for encryption and decryption </td></tr>
<tr id="row_0_0_"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="d6/d26/classciphers_1_1_hill_cipher.html" target="_self">HillCipher</a></td><td class="desc">Implementation of <a href="https://en.wikipedia.org/wiki/Hill_cipher">Hill Cipher</a> algorithm </td></tr>
<tr id="row_1_" class="even"><td class="entry"><span style="width:0px;display:inline-block;">&#160;</span><span id="arr_1_" class="arrow" onclick="toggleFolder('1_')">&#9660;</span><span class="icona"><span class="icon">N</span></span><a class="el" href="d1/db4/namespacedata__structure.html" target="_self">data_structure</a></td><td class="desc">Data-structure algorithms </td></tr>
<tr id="row_1_0_"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="d3/d6f/structdata__structure_1_1_node.html" target="_self">Node</a></td><td class="desc"></td></tr>
<tr id="row_1_1_" class="even"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="d1/d46/classdata__structure_1_1_skip_list.html" target="_self">SkipList</a></td><td class="desc"></td></tr>
<tr id="row_1_2_"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="d0/d6e/classdata__structure_1_1trie.html" target="_self">trie</a></td><td class="desc"><a href="https://en.wikipedia.org/wiki/Trie">Trie</a> implementation for small-case English alphabets <code>a-z</code> </td></tr>
<tr id="row_1_" class="even"><td class="entry"><span style="width:0px;display:inline-block;">&#160;</span><span id="arr_1_" class="arrow" onclick="toggleFolder('1_')">&#9660;</span><span class="icona"><span class="icon">N</span></span><a class="el" href="d5/d3c/namespacedata__structures.html" target="_self">data_structures</a></td><td class="desc">Data-structure algorithms </td></tr>
<tr id="row_1_0_"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="d9/d49/structdata__structures_1_1_node.html" target="_self">Node</a></td><td class="desc"></td></tr>
<tr id="row_1_1_" class="even"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="d4/d90/classdata__structures_1_1_skip_list.html" target="_self">SkipList</a></td><td class="desc"></td></tr>
<tr id="row_1_2_"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="d0/d3e/classdata__structures_1_1trie.html" target="_self">trie</a></td><td class="desc"><a href="https://en.wikipedia.org/wiki/Trie">Trie</a> implementation for small-case English alphabets <code>a-z</code> </td></tr>
<tr id="row_2_" class="even"><td class="entry"><span style="width:0px;display:inline-block;">&#160;</span><span id="arr_2_" class="arrow" onclick="toggleFolder('2_')">&#9660;</span><span class="icona"><span class="icon">N</span></span><a class="el" href="d0/d65/namespacedouble__hashing.html" target="_self">double_hashing</a></td><td class="desc">An implementation of hash table using <a href="https://en.wikipedia.org/wiki/Double_hashing">double hashing</a> algorithm </td></tr>
<tr id="row_2_0_"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="d9/dde/structdouble__hashing_1_1_entry.html" target="_self">Entry</a></td><td class="desc"></td></tr>
<tr id="row_3_" class="even"><td class="entry"><span style="width:0px;display:inline-block;">&#160;</span><span id="arr_3_" class="arrow" onclick="toggleFolder('3_')">&#9660;</span><span class="icona"><span class="icon">N</span></span><a class="el" href="d5/d5f/namespacegeometry.html" target="_self">geometry</a></td><td class="desc">Geometry algorithms </td></tr>

View File

@@ -1,7 +1,7 @@
var annotated_dup =
[
[ "ciphers", "d6/d4e/namespaceciphers.html", "d6/d4e/namespaceciphers" ],
[ "data_structure", "d1/db4/namespacedata__structure.html", "d1/db4/namespacedata__structure" ],
[ "data_structures", "d5/d3c/namespacedata__structures.html", "d5/d3c/namespacedata__structures" ],
[ "double_hashing", "d0/d65/namespacedouble__hashing.html", "d0/d65/namespacedouble__hashing" ],
[ "geometry", "d5/d5f/namespacegeometry.html", "d5/d5f/namespacegeometry" ],
[ "graph", "df/dce/namespacegraph.html", "df/dce/namespacegraph" ],

View File

@@ -139,7 +139,7 @@ $(document).ready(function(){initNavTree('classes.html',''); initResizable(); })
<td rowspan="2" valign="bottom"><a name="letter_m"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">&#160;&#160;m&#160;&#160;</div></td></tr></table>
</td>
<td valign="top"><a class="el" href="d0/dd2/class_queue___array.html">Queue_Array</a>&#160;&#160;&#160;</td>
<td valign="top"><a class="el" href="d0/d6e/classdata__structure_1_1trie.html">trie</a> (<a class="el" href="d1/db4/namespacedata__structure.html">data_structure</a>)&#160;&#160;&#160;</td>
<td valign="top"><a class="el" href="d0/d3e/classdata__structures_1_1trie.html">trie</a> (<a class="el" href="d5/d3c/namespacedata__structures.html">data_structures</a>)&#160;&#160;&#160;</td>
</tr>
<tr><td rowspan="2" valign="bottom"><a name="letter_r"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">&#160;&#160;r&#160;&#160;</div></td></tr></table>
</td>
@@ -177,8 +177,8 @@ $(document).ready(function(){initNavTree('classes.html',''); initResizable(); })
<td valign="top"><a class="el" href="d9/d35/classrange__queries_1_1heavy__light__decomposition_1_1_s_g.html">SG</a> (range_queries::heavy_light_decomposition)&#160;&#160;&#160;</td>
<td></td></tr>
<tr><td valign="top"><a class="el" href="d6/d26/classciphers_1_1_hill_cipher.html">HillCipher</a> (<a class="el" href="d6/d4e/namespaceciphers.html">ciphers</a>)&#160;&#160;&#160;</td>
<td valign="top"><a class="el" href="d3/d6f/structdata__structure_1_1_node.html">Node</a> (<a class="el" href="d1/db4/namespacedata__structure.html">data_structure</a>)&#160;&#160;&#160;</td>
<td valign="top"><a class="el" href="d1/d46/classdata__structure_1_1_skip_list.html">SkipList</a> (<a class="el" href="d1/db4/namespacedata__structure.html">data_structure</a>)&#160;&#160;&#160;</td>
<td valign="top"><a class="el" href="d9/d49/structdata__structures_1_1_node.html">Node</a> (<a class="el" href="d5/d3c/namespacedata__structures.html">data_structures</a>)&#160;&#160;&#160;</td>
<td valign="top"><a class="el" href="d4/d90/classdata__structures_1_1_skip_list.html">SkipList</a> (<a class="el" href="d5/d3c/namespacedata__structures.html">data_structures</a>)&#160;&#160;&#160;</td>
<td></td></tr>
<tr><td valign="top"><a class="el" href="dc/d93/classmachine__learning_1_1neural__network_1_1layers_1_1_dense_layer.html">DenseLayer</a> (machine_learning::neural_network::layers)&#160;&#160;&#160;</td>
<td valign="top"><a class="el" href="d2/d8a/classrange__queries_1_1heavy__light__decomposition_1_1_h_l_d.html">HLD</a> (range_queries::heavy_light_decomposition)&#160;&#160;&#160;</td>

View File

@@ -5,7 +5,7 @@
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.19"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Algorithms_in_C++: data_structure::trie Class Reference</title>
<title>Algorithms_in_C++: data_structures::trie Class Reference</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
@@ -71,7 +71,7 @@ $(function() {
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('d0/d6e/classdata__structure_1_1trie.html','../../'); initResizable(); });
$(document).ready(function(){initNavTree('d0/d3e/classdata__structures_1_1trie.html','../../'); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
@@ -95,65 +95,65 @@ $(document).ready(function(){initNavTree('d0/d6e/classdata__structure_1_1trie.ht
<a href="#pri-methods">Private Member Functions</a> &#124;
<a href="#pri-attribs">Private Attributes</a> &#124;
<a href="#pri-static-attribs">Static Private Attributes</a> &#124;
<a href="../../d9/da6/classdata__structure_1_1trie-members.html">List of all members</a> </div>
<a href="../../d1/d90/classdata__structures_1_1trie-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">data_structure::trie Class Reference</div> </div>
<div class="title">data_structures::trie Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<p><a href="https://en.wikipedia.org/wiki/Trie">Trie</a> implementation for small-case English alphabets <code>a-z</code>
<a href="../../d0/d6e/classdata__structure_1_1trie.html#details">More...</a></p>
<a href="../../d0/d3e/classdata__structures_1_1trie.html#details">More...</a></p>
<div class="dynheader">
Collaboration diagram for data_structure::trie:</div>
Collaboration diagram for data_structures::trie:</div>
<div class="dyncontent">
<div class="center"><iframe scrolling="no" frameborder="0" src="../../d7/d99/classdata__structure_1_1trie__coll__graph.svg" width="240" height="260"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe>
<div class="center"><iframe scrolling="no" frameborder="0" src="../../d2/d84/classdata__structures_1_1trie__coll__graph.svg" width="244" height="260"><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 name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a36a41761149fd541850834aef29f9b7f"><td class="memItemLeft" align="right" valign="top"><a id="a36a41761149fd541850834aef29f9b7f"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d6e/classdata__structure_1_1trie.html#a36a41761149fd541850834aef29f9b7f">trie</a> ()=default</td></tr>
<tr class="memdesc:a36a41761149fd541850834aef29f9b7f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Class default constructor. <br /></td></tr>
<tr class="separator:a36a41761149fd541850834aef29f9b7f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8b9a51c90291a3402904c8cd16bbe30d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d6e/classdata__structure_1_1trie.html#a8b9a51c90291a3402904c8cd16bbe30d">insert</a> (const <a class="elRef" target="_blank" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> &amp;str)</td></tr>
<tr class="separator:a8b9a51c90291a3402904c8cd16bbe30d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adff53199439d06776ebbaf917741774f"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d6e/classdata__structure_1_1trie.html#adff53199439d06776ebbaf917741774f">search</a> (const <a class="elRef" target="_blank" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> &amp;str, int index)</td></tr>
<tr class="separator:adff53199439d06776ebbaf917741774f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a98a0d54a781a680903eac14085fcbc2e"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d6e/classdata__structure_1_1trie.html#a98a0d54a781a680903eac14085fcbc2e">deleteString</a> (const <a class="elRef" target="_blank" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> &amp;str, int index)</td></tr>
<tr class="separator:a98a0d54a781a680903eac14085fcbc2e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a87d8bf99aea936f9381141753f1e90a8"><td class="memItemLeft" align="right" valign="top"><a id="a87d8bf99aea936f9381141753f1e90a8"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d3e/classdata__structures_1_1trie.html#a87d8bf99aea936f9381141753f1e90a8">trie</a> ()=default</td></tr>
<tr class="memdesc:a87d8bf99aea936f9381141753f1e90a8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Class default constructor. <br /></td></tr>
<tr class="separator:a87d8bf99aea936f9381141753f1e90a8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0ab94bc6417e3f59fab33cea5b64d546"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d3e/classdata__structures_1_1trie.html#a0ab94bc6417e3f59fab33cea5b64d546">insert</a> (const <a class="elRef" target="_blank" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> &amp;str)</td></tr>
<tr class="separator:a0ab94bc6417e3f59fab33cea5b64d546"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a499f87fd833203ef9492b4870aa6d42d"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d3e/classdata__structures_1_1trie.html#a499f87fd833203ef9492b4870aa6d42d">search</a> (const <a class="elRef" target="_blank" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> &amp;str, int index)</td></tr>
<tr class="separator:a499f87fd833203ef9492b4870aa6d42d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aeac27cfd397d2dd3f2f519efffafeeab"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d3e/classdata__structures_1_1trie.html#aeac27cfd397d2dd3f2f519efffafeeab">deleteString</a> (const <a class="elRef" target="_blank" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> &amp;str, int index)</td></tr>
<tr class="separator:aeac27cfd397d2dd3f2f519efffafeeab"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-methods"></a>
Private Member Functions</h2></td></tr>
<tr class="memitem:aeb479dcc88415154fb61c2fbb589d6d0"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d6e/classdata__structure_1_1trie.html#aeb479dcc88415154fb61c2fbb589d6d0">char_to_int</a> (const char &amp;ch) const</td></tr>
<tr class="memdesc:aeb479dcc88415154fb61c2fbb589d6d0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Convert a character to integer for indexing. <a href="../../d0/d6e/classdata__structure_1_1trie.html#aeb479dcc88415154fb61c2fbb589d6d0">More...</a><br /></td></tr>
<tr class="separator:aeb479dcc88415154fb61c2fbb589d6d0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae9c45cbd4b52db9a39d27e12ca912abc"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d6e/classdata__structure_1_1trie.html#ae9c45cbd4b52db9a39d27e12ca912abc">search</a> (const <a class="elRef" target="_blank" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr</a>&lt; <a class="el" href="../../d0/d6e/classdata__structure_1_1trie.html">trie</a> &gt; &amp;root, const <a class="elRef" target="_blank" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> &amp;str, int index)</td></tr>
<tr class="separator:ae9c45cbd4b52db9a39d27e12ca912abc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aab373beb3f618b90922528c68797d988"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d3e/classdata__structures_1_1trie.html#aab373beb3f618b90922528c68797d988">char_to_int</a> (const char &amp;ch) const</td></tr>
<tr class="memdesc:aab373beb3f618b90922528c68797d988"><td class="mdescLeft">&#160;</td><td class="mdescRight">Convert a character to integer for indexing. <a href="../../d0/d3e/classdata__structures_1_1trie.html#aab373beb3f618b90922528c68797d988">More...</a><br /></td></tr>
<tr class="separator:aab373beb3f618b90922528c68797d988"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a961eb5d576d2420f2036009154397c63"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d3e/classdata__structures_1_1trie.html#a961eb5d576d2420f2036009154397c63">search</a> (const <a class="elRef" target="_blank" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr</a>&lt; <a class="el" href="../../d0/d3e/classdata__structures_1_1trie.html">trie</a> &gt; &amp;root, const <a class="elRef" target="_blank" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> &amp;str, int index)</td></tr>
<tr class="separator:a961eb5d576d2420f2036009154397c63"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a>
Private Attributes</h2></td></tr>
<tr class="memitem:aa5b8dc9452c3f7a805a4cb17034d6549"><td class="memItemLeft" align="right" valign="top"><a id="aa5b8dc9452c3f7a805a4cb17034d6549"></a>
<a class="elRef" target="_blank" href="http://en.cppreference.com/w/cpp/container/array.html">std::array</a>&lt; <a class="elRef" target="_blank" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr</a>&lt; <a class="el" href="../../d0/d6e/classdata__structure_1_1trie.html">trie</a> &gt;, <a class="el" href="../../d0/d6e/classdata__structure_1_1trie.html#a3c243c5c7221799ea5edae04c9c45129">NUM_CHARS</a>&lt;&lt; 1 &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d6e/classdata__structure_1_1trie.html#aa5b8dc9452c3f7a805a4cb17034d6549">arr</a></td></tr>
<tr class="memdesc:aa5b8dc9452c3f7a805a4cb17034d6549"><td class="mdescLeft">&#160;</td><td class="mdescRight">Recursive tree nodes as an array of shared-pointers. <br /></td></tr>
<tr class="separator:aa5b8dc9452c3f7a805a4cb17034d6549"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0bc4f25351be960f3570e562cfb4a070"><td class="memItemLeft" align="right" valign="top"><a id="a0bc4f25351be960f3570e562cfb4a070"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d6e/classdata__structure_1_1trie.html#a0bc4f25351be960f3570e562cfb4a070">isEndofWord</a> = false</td></tr>
<tr class="memdesc:a0bc4f25351be960f3570e562cfb4a070"><td class="mdescLeft">&#160;</td><td class="mdescRight">identifier if a node is terminal node <br /></td></tr>
<tr class="separator:a0bc4f25351be960f3570e562cfb4a070"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a362dd78748a1f01ab019e55fd6098a8b"><td class="memItemLeft" align="right" valign="top"><a id="a362dd78748a1f01ab019e55fd6098a8b"></a>
<a class="elRef" target="_blank" href="http://en.cppreference.com/w/cpp/container/array.html">std::array</a>&lt; <a class="elRef" target="_blank" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr</a>&lt; <a class="el" href="../../d0/d3e/classdata__structures_1_1trie.html">trie</a> &gt;, <a class="el" href="../../d0/d3e/classdata__structures_1_1trie.html#a4bfac4be6ed1a34c7159eddb42469191">NUM_CHARS</a>&lt;&lt; 1 &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d3e/classdata__structures_1_1trie.html#a362dd78748a1f01ab019e55fd6098a8b">arr</a></td></tr>
<tr class="memdesc:a362dd78748a1f01ab019e55fd6098a8b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Recursive tree nodes as an array of shared-pointers. <br /></td></tr>
<tr class="separator:a362dd78748a1f01ab019e55fd6098a8b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4cb0f775b5a4bc14a6d39b5c93883eb6"><td class="memItemLeft" align="right" valign="top"><a id="a4cb0f775b5a4bc14a6d39b5c93883eb6"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d3e/classdata__structures_1_1trie.html#a4cb0f775b5a4bc14a6d39b5c93883eb6">isEndofWord</a> = false</td></tr>
<tr class="memdesc:a4cb0f775b5a4bc14a6d39b5c93883eb6"><td class="mdescLeft">&#160;</td><td class="mdescRight">identifier if a node is terminal node <br /></td></tr>
<tr class="separator:a4cb0f775b5a4bc14a6d39b5c93883eb6"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-static-attribs"></a>
Static Private Attributes</h2></td></tr>
<tr class="memitem:a3c243c5c7221799ea5edae04c9c45129"><td class="memItemLeft" align="right" valign="top"><a id="a3c243c5c7221799ea5edae04c9c45129"></a>
static constexpr uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d6e/classdata__structure_1_1trie.html#a3c243c5c7221799ea5edae04c9c45129">NUM_CHARS</a> = 26</td></tr>
<tr class="memdesc:a3c243c5c7221799ea5edae04c9c45129"><td class="mdescLeft">&#160;</td><td class="mdescRight">Number of alphabets. <br /></td></tr>
<tr class="separator:a3c243c5c7221799ea5edae04c9c45129"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4bfac4be6ed1a34c7159eddb42469191"><td class="memItemLeft" align="right" valign="top"><a id="a4bfac4be6ed1a34c7159eddb42469191"></a>
static constexpr uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d3e/classdata__structures_1_1trie.html#a4bfac4be6ed1a34c7159eddb42469191">NUM_CHARS</a> = 26</td></tr>
<tr class="memdesc:a4bfac4be6ed1a34c7159eddb42469191"><td class="mdescLeft">&#160;</td><td class="mdescRight">Number of alphabets. <br /></td></tr>
<tr class="separator:a4bfac4be6ed1a34c7159eddb42469191"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p><a href="https://en.wikipedia.org/wiki/Trie">Trie</a> implementation for small-case English alphabets <code>a-z</code> </p>
</div><h2 class="groupheader">Member Function Documentation</h2>
<a id="aeb479dcc88415154fb61c2fbb589d6d0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aeb479dcc88415154fb61c2fbb589d6d0">&#9670;&nbsp;</a></span>char_to_int()</h2>
<a id="aab373beb3f618b90922528c68797d988"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aab373beb3f618b90922528c68797d988">&#9670;&nbsp;</a></span>char_to_int()</h2>
<div class="memitem">
<div class="memproto">
@@ -162,7 +162,7 @@ static constexpr uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a c
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">uint8_t data_structure::trie::char_to_int </td>
<td class="memname">uint8_t data_structures::trie::char_to_int </td>
<td>(</td>
<td class="paramtype">const char &amp;&#160;</td>
<td class="paramname"><em>ch</em></td><td>)</td>
@@ -188,7 +188,7 @@ static constexpr uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a c
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>&#160; <span class="keywordflow">if</span> (ch &gt;= <span class="charliteral">&#39;A&#39;</span> &amp;&amp; ch &lt;= <span class="charliteral">&#39;Z&#39;</span>) {</div>
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>&#160; <span class="keywordflow">return</span> ch - <span class="charliteral">&#39;A&#39;</span>;</div>
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>&#160; } <span class="keywordflow">else</span> <span class="keywordflow">if</span> (ch &gt;= <span class="charliteral">&#39;a&#39;</span> &amp;&amp; ch &lt;= <span class="charliteral">&#39;z&#39;</span>) {</div>
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span>&#160; <span class="keywordflow">return</span> ch - <span class="charliteral">&#39;a&#39;</span> + <a class="code" href="../../d0/d6e/classdata__structure_1_1trie.html#a3c243c5c7221799ea5edae04c9c45129">NUM_CHARS</a>;</div>
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span>&#160; <span class="keywordflow">return</span> ch - <span class="charliteral">&#39;a&#39;</span> + <a class="code" href="../../d0/d3e/classdata__structures_1_1trie.html#a4bfac4be6ed1a34c7159eddb42469191">NUM_CHARS</a>;</div>
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span>&#160; }</div>
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span>&#160; </div>
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>&#160; <a class="codeRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cerr</a> &lt;&lt; <span class="stringliteral">&quot;Invalid character present. Exiting...&quot;</span>;</div>
@@ -198,14 +198,14 @@ static constexpr uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a c
</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="../../d0/d6e/classdata__structure_1_1trie_aeb479dcc88415154fb61c2fbb589d6d0_cgraph.svg" width="259" height="52"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe>
<div class="center"><iframe scrolling="no" frameborder="0" src="../../d0/d3e/classdata__structures_1_1trie_aab373beb3f618b90922528c68797d988_cgraph.svg" width="267" height="52"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe>
</div>
</div>
</div>
</div>
<a id="a98a0d54a781a680903eac14085fcbc2e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a98a0d54a781a680903eac14085fcbc2e">&#9670;&nbsp;</a></span>deleteString()</h2>
<a id="aeac27cfd397d2dd3f2f519efffafeeab"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aeac27cfd397d2dd3f2f519efffafeeab">&#9670;&nbsp;</a></span>deleteString()</h2>
<div class="memitem">
<div class="memproto">
@@ -214,7 +214,7 @@ Here is the call graph for this function:</div>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool data_structure::trie::deleteString </td>
<td class="memname">bool data_structures::trie::deleteString </td>
<td>(</td>
<td class="paramtype">const <a class="elRef" target="_blank" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> &amp;&#160;</td>
<td class="paramname"><em>str</em>, </td>
@@ -237,8 +237,8 @@ Here is the call graph for this function:</div>
</tr>
</table>
</div><div class="memdoc">
<p>removes the string if it is not a prefix of any other string, if it is then just sets the <a class="el" href="../../d0/d6e/classdata__structure_1_1trie.html#a0bc4f25351be960f3570e562cfb4a070" title="identifier if a node is terminal node">data_structure::trie::isEndofWord</a> to false, else removes the given string </p><dl class="section note"><dt>Note</dt><dd>the function <a class="el" href="../../d0/d6e/classdata__structure_1_1trie.html#a98a0d54a781a680903eac14085fcbc2e">data_structure::trie::deleteString</a> might be erroneous </dd></dl>
<dl class="todo"><dt><b><a class="el" href="../../dd/da0/todo.html#_todo000005">Todo:</a></b></dt><dd>review the function <a class="el" href="../../d0/d6e/classdata__structure_1_1trie.html#a98a0d54a781a680903eac14085fcbc2e">data_structure::trie::deleteString</a> and the commented lines </dd></dl>
<p>removes the string if it is not a prefix of any other string, if it is then just sets the ::data_structure::trie::isEndofWord to false, else removes the given string </p><dl class="section note"><dt>Note</dt><dd>the function ::data_structure::trie::deleteString might be erroneous </dd></dl>
<dl class="todo"><dt><b><a class="el" href="../../dd/da0/todo.html#_todo000005">Todo:</a></b></dt><dd>review the function ::data_structure::trie::deleteString and the commented lines </dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">str</td><td>string to remove </td></tr>
@@ -251,29 +251,29 @@ Here is the call graph for this function:</div>
<code>false</code> if unsuccessful </dd></dl>
<div class="fragment"><div class="line"><a name="l00134"></a><span class="lineno"> 134</span>&#160; {</div>
<div class="line"><a name="l00135"></a><span class="lineno"> 135</span>&#160; <span class="keywordflow">if</span> (index == str.<a class="codeRef" target="_blank" href="http://en.cppreference.com/w/cpp/string/basic_string/size.html">length</a>()) {</div>
<div class="line"><a name="l00136"></a><span class="lineno"> 136</span>&#160; <span class="keywordflow">if</span> (!<a class="code" href="../../d0/d6e/classdata__structure_1_1trie.html#a0bc4f25351be960f3570e562cfb4a070">isEndofWord</a>) {</div>
<div class="line"><a name="l00136"></a><span class="lineno"> 136</span>&#160; <span class="keywordflow">if</span> (!<a class="code" href="../../d0/d3e/classdata__structures_1_1trie.html#a4cb0f775b5a4bc14a6d39b5c93883eb6">isEndofWord</a>) {</div>
<div class="line"><a name="l00137"></a><span class="lineno"> 137</span>&#160; <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
<div class="line"><a name="l00138"></a><span class="lineno"> 138</span>&#160; }</div>
<div class="line"><a name="l00139"></a><span class="lineno"> 139</span>&#160; <a class="code" href="../../d0/d6e/classdata__structure_1_1trie.html#a0bc4f25351be960f3570e562cfb4a070">isEndofWord</a> = <span class="keyword">false</span>;</div>
<div class="line"><a name="l00139"></a><span class="lineno"> 139</span>&#160; <a class="code" href="../../d0/d3e/classdata__structures_1_1trie.html#a4cb0f775b5a4bc14a6d39b5c93883eb6">isEndofWord</a> = <span class="keyword">false</span>;</div>
<div class="line"><a name="l00140"></a><span class="lineno"> 140</span>&#160; <span class="comment">// following lines - possible source of error?</span></div>
<div class="line"><a name="l00141"></a><span class="lineno"> 141</span>&#160; <span class="comment">// for (int i = 0; i &lt; NUM_CHARS; i++)</span></div>
<div class="line"><a name="l00142"></a><span class="lineno"> 142</span>&#160; <span class="comment">// if (!arr[i])</span></div>
<div class="line"><a name="l00143"></a><span class="lineno"> 143</span>&#160; <span class="comment">// return false;</span></div>
<div class="line"><a name="l00144"></a><span class="lineno"> 144</span>&#160; <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
<div class="line"><a name="l00145"></a><span class="lineno"> 145</span>&#160; }</div>
<div class="line"><a name="l00146"></a><span class="lineno"> 146</span>&#160; <span class="keywordtype">int</span> j = <a class="code" href="../../d0/d6e/classdata__structure_1_1trie.html#aeb479dcc88415154fb61c2fbb589d6d0">char_to_int</a>(str[index]);</div>
<div class="line"><a name="l00147"></a><span class="lineno"> 147</span>&#160; <span class="keywordflow">if</span> (!<a class="code" href="../../d0/d6e/classdata__structure_1_1trie.html#aa5b8dc9452c3f7a805a4cb17034d6549">arr</a>[j]) {</div>
<div class="line"><a name="l00146"></a><span class="lineno"> 146</span>&#160; <span class="keywordtype">int</span> j = <a class="code" href="../../d0/d3e/classdata__structures_1_1trie.html#aab373beb3f618b90922528c68797d988">char_to_int</a>(str[index]);</div>
<div class="line"><a name="l00147"></a><span class="lineno"> 147</span>&#160; <span class="keywordflow">if</span> (!<a class="code" href="../../d0/d3e/classdata__structures_1_1trie.html#a362dd78748a1f01ab019e55fd6098a8b">arr</a>[j]) {</div>
<div class="line"><a name="l00148"></a><span class="lineno"> 148</span>&#160; <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
<div class="line"><a name="l00149"></a><span class="lineno"> 149</span>&#160; }</div>
<div class="line"><a name="l00150"></a><span class="lineno"> 150</span>&#160; <span class="keywordtype">bool</span> var = <a class="code" href="../../d0/d6e/classdata__structure_1_1trie.html#a98a0d54a781a680903eac14085fcbc2e">deleteString</a>(str, index + 1);</div>
<div class="line"><a name="l00150"></a><span class="lineno"> 150</span>&#160; <span class="keywordtype">bool</span> var = <a class="code" href="../../d0/d3e/classdata__structures_1_1trie.html#aeac27cfd397d2dd3f2f519efffafeeab">deleteString</a>(str, index + 1);</div>
<div class="line"><a name="l00151"></a><span class="lineno"> 151</span>&#160; <span class="keywordflow">if</span> (var) {</div>
<div class="line"><a name="l00152"></a><span class="lineno"> 152</span>&#160; <a class="code" href="../../d0/d6e/classdata__structure_1_1trie.html#aa5b8dc9452c3f7a805a4cb17034d6549">arr</a>[j].reset();</div>
<div class="line"><a name="l00153"></a><span class="lineno"> 153</span>&#160; <span class="keywordflow">if</span> (<a class="code" href="../../d0/d6e/classdata__structure_1_1trie.html#a0bc4f25351be960f3570e562cfb4a070">isEndofWord</a>) {</div>
<div class="line"><a name="l00152"></a><span class="lineno"> 152</span>&#160; <a class="code" href="../../d0/d3e/classdata__structures_1_1trie.html#a362dd78748a1f01ab019e55fd6098a8b">arr</a>[j].reset();</div>
<div class="line"><a name="l00153"></a><span class="lineno"> 153</span>&#160; <span class="keywordflow">if</span> (<a class="code" href="../../d0/d3e/classdata__structures_1_1trie.html#a4cb0f775b5a4bc14a6d39b5c93883eb6">isEndofWord</a>) {</div>
<div class="line"><a name="l00154"></a><span class="lineno"> 154</span>&#160; <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
<div class="line"><a name="l00155"></a><span class="lineno"> 155</span>&#160; } <span class="keywordflow">else</span> {</div>
<div class="line"><a name="l00156"></a><span class="lineno"> 156</span>&#160; <span class="keywordtype">int</span> i = 0;</div>
<div class="line"><a name="l00157"></a><span class="lineno"> 157</span>&#160; <span class="keywordflow">for</span> (i = 0; i &lt; <a class="code" href="../../d0/d6e/classdata__structure_1_1trie.html#a3c243c5c7221799ea5edae04c9c45129">NUM_CHARS</a>; i++) {</div>
<div class="line"><a name="l00158"></a><span class="lineno"> 158</span>&#160; <span class="keywordflow">if</span> (<a class="code" href="../../d0/d6e/classdata__structure_1_1trie.html#aa5b8dc9452c3f7a805a4cb17034d6549">arr</a>[i]) {</div>
<div class="line"><a name="l00157"></a><span class="lineno"> 157</span>&#160; <span class="keywordflow">for</span> (i = 0; i &lt; <a class="code" href="../../d0/d3e/classdata__structures_1_1trie.html#a4bfac4be6ed1a34c7159eddb42469191">NUM_CHARS</a>; i++) {</div>
<div class="line"><a name="l00158"></a><span class="lineno"> 158</span>&#160; <span class="keywordflow">if</span> (<a class="code" href="../../d0/d3e/classdata__structures_1_1trie.html#a362dd78748a1f01ab019e55fd6098a8b">arr</a>[i]) {</div>
<div class="line"><a name="l00159"></a><span class="lineno"> 159</span>&#160; <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
<div class="line"><a name="l00160"></a><span class="lineno"> 160</span>&#160; }</div>
<div class="line"><a name="l00161"></a><span class="lineno"> 161</span>&#160; }</div>
@@ -289,14 +289,14 @@ Here is the call graph for this function:</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="../../d0/d6e/classdata__structure_1_1trie_a98a0d54a781a680903eac14085fcbc2e_cgraph.svg" width="438" height="104"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe>
<div class="center"><iframe scrolling="no" frameborder="0" src="../../d0/d3e/classdata__structures_1_1trie_aeac27cfd397d2dd3f2f519efffafeeab_cgraph.svg" width="454" height="104"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe>
</div>
</div>
</div>
</div>
<a id="a8b9a51c90291a3402904c8cd16bbe30d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8b9a51c90291a3402904c8cd16bbe30d">&#9670;&nbsp;</a></span>insert()</h2>
<a id="a0ab94bc6417e3f59fab33cea5b64d546"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0ab94bc6417e3f59fab33cea5b64d546">&#9670;&nbsp;</a></span>insert()</h2>
<div class="memitem">
<div class="memproto">
@@ -305,7 +305,7 @@ Here is the call graph for this function:</div>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void data_structure::trie::insert </td>
<td class="memname">void data_structures::trie::insert </td>
<td>(</td>
<td class="paramtype">const <a class="elRef" target="_blank" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> &amp;&#160;</td>
<td class="paramname"><em>str</em></td><td>)</td>
@@ -328,20 +328,20 @@ Here is the call graph for this function:</div>
<div class="line"><a name="l00078"></a><span class="lineno"> 78</span>&#160; <a class="codeRef" target="_blank" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr&lt;trie&gt;</a> root(<span class="keyword">nullptr</span>);</div>
<div class="line"><a name="l00079"></a><span class="lineno"> 79</span>&#160; </div>
<div class="line"><a name="l00080"></a><span class="lineno"> 80</span>&#160; <span class="keywordflow">for</span> (<span class="keyword">const</span> <span class="keywordtype">char</span>&amp; ch : str) {</div>
<div class="line"><a name="l00081"></a><span class="lineno"> 81</span>&#160; <span class="keywordtype">int</span> j = <a class="code" href="../../d0/d6e/classdata__structure_1_1trie.html#aeb479dcc88415154fb61c2fbb589d6d0">char_to_int</a>(ch);</div>
<div class="line"><a name="l00081"></a><span class="lineno"> 81</span>&#160; <span class="keywordtype">int</span> j = <a class="code" href="../../d0/d3e/classdata__structures_1_1trie.html#aab373beb3f618b90922528c68797d988">char_to_int</a>(ch);</div>
<div class="line"><a name="l00082"></a><span class="lineno"> 82</span>&#160; <span class="keywordflow">if</span> (root) {</div>
<div class="line"><a name="l00083"></a><span class="lineno"> 83</span>&#160; <span class="keywordflow">if</span> (root-&gt;arr[j]) {</div>
<div class="line"><a name="l00084"></a><span class="lineno"> 84</span>&#160; root = root-&gt;arr[j];</div>
<div class="line"><a name="l00085"></a><span class="lineno"> 85</span>&#160; } <span class="keywordflow">else</span> {</div>
<div class="line"><a name="l00086"></a><span class="lineno"> 86</span>&#160; <a class="codeRef" target="_blank" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr&lt;trie&gt;</a> temp(<span class="keyword">new</span> <a class="code" href="../../d0/d6e/classdata__structure_1_1trie.html#a36a41761149fd541850834aef29f9b7f">trie</a>());</div>
<div class="line"><a name="l00086"></a><span class="lineno"> 86</span>&#160; <a class="codeRef" target="_blank" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr&lt;trie&gt;</a> temp(<span class="keyword">new</span> <a class="code" href="../../d0/d3e/classdata__structures_1_1trie.html#a87d8bf99aea936f9381141753f1e90a8">trie</a>());</div>
<div class="line"><a name="l00087"></a><span class="lineno"> 87</span>&#160; root-&gt;arr[j] = temp;</div>
<div class="line"><a name="l00088"></a><span class="lineno"> 88</span>&#160; root = temp;</div>
<div class="line"><a name="l00089"></a><span class="lineno"> 89</span>&#160; }</div>
<div class="line"><a name="l00090"></a><span class="lineno"> 90</span>&#160; } <span class="keywordflow">else</span> <span class="keywordflow">if</span> (<a class="code" href="../../d0/d6e/classdata__structure_1_1trie.html#aa5b8dc9452c3f7a805a4cb17034d6549">arr</a>[j]) {</div>
<div class="line"><a name="l00091"></a><span class="lineno"> 91</span>&#160; root = <a class="code" href="../../d0/d6e/classdata__structure_1_1trie.html#aa5b8dc9452c3f7a805a4cb17034d6549">arr</a>[j];</div>
<div class="line"><a name="l00090"></a><span class="lineno"> 90</span>&#160; } <span class="keywordflow">else</span> <span class="keywordflow">if</span> (<a class="code" href="../../d0/d3e/classdata__structures_1_1trie.html#a362dd78748a1f01ab019e55fd6098a8b">arr</a>[j]) {</div>
<div class="line"><a name="l00091"></a><span class="lineno"> 91</span>&#160; root = <a class="code" href="../../d0/d3e/classdata__structures_1_1trie.html#a362dd78748a1f01ab019e55fd6098a8b">arr</a>[j];</div>
<div class="line"><a name="l00092"></a><span class="lineno"> 92</span>&#160; } <span class="keywordflow">else</span> {</div>
<div class="line"><a name="l00093"></a><span class="lineno"> 93</span>&#160; <a class="codeRef" target="_blank" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr&lt;trie&gt;</a> temp(<span class="keyword">new</span> <a class="code" href="../../d0/d6e/classdata__structure_1_1trie.html#a36a41761149fd541850834aef29f9b7f">trie</a>());</div>
<div class="line"><a name="l00094"></a><span class="lineno"> 94</span>&#160; <a class="code" href="../../d0/d6e/classdata__structure_1_1trie.html#aa5b8dc9452c3f7a805a4cb17034d6549">arr</a>[j] = temp;</div>
<div class="line"><a name="l00093"></a><span class="lineno"> 93</span>&#160; <a class="codeRef" target="_blank" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr&lt;trie&gt;</a> temp(<span class="keyword">new</span> <a class="code" href="../../d0/d3e/classdata__structures_1_1trie.html#a87d8bf99aea936f9381141753f1e90a8">trie</a>());</div>
<div class="line"><a name="l00094"></a><span class="lineno"> 94</span>&#160; <a class="code" href="../../d0/d3e/classdata__structures_1_1trie.html#a362dd78748a1f01ab019e55fd6098a8b">arr</a>[j] = temp;</div>
<div class="line"><a name="l00095"></a><span class="lineno"> 95</span>&#160; root = temp;</div>
<div class="line"><a name="l00096"></a><span class="lineno"> 96</span>&#160; }</div>
<div class="line"><a name="l00097"></a><span class="lineno"> 97</span>&#160; }</div>
@@ -350,8 +350,8 @@ Here is the call graph for this function:</div>
</div><!-- fragment -->
</div>
</div>
<a id="ae9c45cbd4b52db9a39d27e12ca912abc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae9c45cbd4b52db9a39d27e12ca912abc">&#9670;&nbsp;</a></span>search() <span class="overload">[1/2]</span></h2>
<a id="a961eb5d576d2420f2036009154397c63"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a961eb5d576d2420f2036009154397c63">&#9670;&nbsp;</a></span>search() <span class="overload">[1/2]</span></h2>
<div class="memitem">
<div class="memproto">
@@ -360,9 +360,9 @@ Here is the call graph for this function:</div>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool data_structure::trie::search </td>
<td class="memname">bool data_structures::trie::search </td>
<td>(</td>
<td class="paramtype">const <a class="elRef" target="_blank" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr</a>&lt; <a class="el" href="../../d0/d6e/classdata__structure_1_1trie.html">trie</a> &gt; &amp;&#160;</td>
<td class="paramtype">const <a class="elRef" target="_blank" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr</a>&lt; <a class="el" href="../../d0/d3e/classdata__structures_1_1trie.html">trie</a> &gt; &amp;&#160;</td>
<td class="paramname"><em>root</em>, </td>
</tr>
<tr>
@@ -396,7 +396,7 @@ Here is the call graph for this function:</div>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><code>tre</code> if found </dd>
<dl class="section return"><dt>Returns</dt><dd><code>true</code> if found </dd>
<dd>
<code>false</code> if not found </dd></dl>
<div class="fragment"><div class="line"><a name="l00057"></a><span class="lineno"> 57</span>&#160; {</div>
@@ -406,17 +406,17 @@ Here is the call graph for this function:</div>
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>&#160; }</div>
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>&#160; <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>&#160; }</div>
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>&#160; <span class="keywordtype">int</span> j = <a class="code" href="../../d0/d6e/classdata__structure_1_1trie.html#aeb479dcc88415154fb61c2fbb589d6d0">char_to_int</a>(str[index]);</div>
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>&#160; <span class="keywordtype">int</span> j = <a class="code" href="../../d0/d3e/classdata__structures_1_1trie.html#aab373beb3f618b90922528c68797d988">char_to_int</a>(str[index]);</div>
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>&#160; <span class="keywordflow">if</span> (!root-&gt;arr[j]) {</div>
<div class="line"><a name="l00066"></a><span class="lineno"> 66</span>&#160; <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
<div class="line"><a name="l00067"></a><span class="lineno"> 67</span>&#160; }</div>
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span>&#160; <span class="keywordflow">return</span> <a class="code" href="../../d0/d6e/classdata__structure_1_1trie.html#ae9c45cbd4b52db9a39d27e12ca912abc">search</a>(root-&gt;arr[j], str, index + 1);</div>
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span>&#160; <span class="keywordflow">return</span> <a class="code" href="../../d0/d3e/classdata__structures_1_1trie.html#a961eb5d576d2420f2036009154397c63">search</a>(root-&gt;arr[j], str, index + 1);</div>
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>&#160; }</div>
</div><!-- fragment -->
</div>
</div>
<a id="adff53199439d06776ebbaf917741774f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adff53199439d06776ebbaf917741774f">&#9670;&nbsp;</a></span>search() <span class="overload">[2/2]</span></h2>
<a id="a499f87fd833203ef9492b4870aa6d42d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a499f87fd833203ef9492b4870aa6d42d">&#9670;&nbsp;</a></span>search() <span class="overload">[2/2]</span></h2>
<div class="memitem">
<div class="memproto">
@@ -425,7 +425,7 @@ Here is the call graph for this function:</div>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool data_structure::trie::search </td>
<td class="memname">bool data_structures::trie::search </td>
<td>(</td>
<td class="paramtype">const <a class="elRef" target="_blank" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> &amp;&#160;</td>
<td class="paramname"><em>str</em>, </td>
@@ -460,21 +460,21 @@ Here is the call graph for this function:</div>
<code>false</code> if not found </dd></dl>
<div class="fragment"><div class="line"><a name="l00107"></a><span class="lineno"> 107</span>&#160; {</div>
<div class="line"><a name="l00108"></a><span class="lineno"> 108</span>&#160; <span class="keywordflow">if</span> (index == str.<a class="codeRef" target="_blank" href="http://en.cppreference.com/w/cpp/string/basic_string/size.html">length</a>()) {</div>
<div class="line"><a name="l00109"></a><span class="lineno"> 109</span>&#160; <span class="keywordflow">if</span> (!<a class="code" href="../../d0/d6e/classdata__structure_1_1trie.html#a0bc4f25351be960f3570e562cfb4a070">isEndofWord</a>) {</div>
<div class="line"><a name="l00109"></a><span class="lineno"> 109</span>&#160; <span class="keywordflow">if</span> (!<a class="code" href="../../d0/d3e/classdata__structures_1_1trie.html#a4cb0f775b5a4bc14a6d39b5c93883eb6">isEndofWord</a>) {</div>
<div class="line"><a name="l00110"></a><span class="lineno"> 110</span>&#160; <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
<div class="line"><a name="l00111"></a><span class="lineno"> 111</span>&#160; }</div>
<div class="line"><a name="l00112"></a><span class="lineno"> 112</span>&#160; <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
<div class="line"><a name="l00113"></a><span class="lineno"> 113</span>&#160; }</div>
<div class="line"><a name="l00114"></a><span class="lineno"> 114</span>&#160; <span class="keywordtype">int</span> j = <a class="code" href="../../d0/d6e/classdata__structure_1_1trie.html#aeb479dcc88415154fb61c2fbb589d6d0">char_to_int</a>(str[index]);</div>
<div class="line"><a name="l00115"></a><span class="lineno"> 115</span>&#160; <span class="keywordflow">if</span> (!<a class="code" href="../../d0/d6e/classdata__structure_1_1trie.html#aa5b8dc9452c3f7a805a4cb17034d6549">arr</a>[j]) {</div>
<div class="line"><a name="l00114"></a><span class="lineno"> 114</span>&#160; <span class="keywordtype">int</span> j = <a class="code" href="../../d0/d3e/classdata__structures_1_1trie.html#aab373beb3f618b90922528c68797d988">char_to_int</a>(str[index]);</div>
<div class="line"><a name="l00115"></a><span class="lineno"> 115</span>&#160; <span class="keywordflow">if</span> (!<a class="code" href="../../d0/d3e/classdata__structures_1_1trie.html#a362dd78748a1f01ab019e55fd6098a8b">arr</a>[j]) {</div>
<div class="line"><a name="l00116"></a><span class="lineno"> 116</span>&#160; <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
<div class="line"><a name="l00117"></a><span class="lineno"> 117</span>&#160; }</div>
<div class="line"><a name="l00118"></a><span class="lineno"> 118</span>&#160; <span class="keywordflow">return</span> <a class="code" href="../../d0/d6e/classdata__structure_1_1trie.html#ae9c45cbd4b52db9a39d27e12ca912abc">search</a>(<a class="code" href="../../d0/d6e/classdata__structure_1_1trie.html#aa5b8dc9452c3f7a805a4cb17034d6549">arr</a>[j], str, index + 1);</div>
<div class="line"><a name="l00118"></a><span class="lineno"> 118</span>&#160; <span class="keywordflow">return</span> <a class="code" href="../../d0/d3e/classdata__structures_1_1trie.html#a961eb5d576d2420f2036009154397c63">search</a>(<a class="code" href="../../d0/d3e/classdata__structures_1_1trie.html#a362dd78748a1f01ab019e55fd6098a8b">arr</a>[j], str, index + 1);</div>
<div class="line"><a name="l00119"></a><span class="lineno"> 119</span>&#160; }</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="../../d0/d6e/classdata__structure_1_1trie_adff53199439d06776ebbaf917741774f_cgraph.svg" width="438" height="170"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe>
<div class="center"><iframe scrolling="no" frameborder="0" src="../../d0/d3e/classdata__structures_1_1trie_a499f87fd833203ef9492b4870aa6d42d_cgraph.svg" width="454" height="170"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe>
</div>
</div>
@@ -486,20 +486,20 @@ Here is the call graph for this function:</div>
</div><!-- contents -->
</div><!-- doc-content -->
<div class="ttc" id="ashared_ptr_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr</a></div><div class="ttdoc">STL class.</div></div>
<div class="ttc" id="aclassdata__structures_1_1trie_html_a87d8bf99aea936f9381141753f1e90a8"><div class="ttname"><a href="../../d0/d3e/classdata__structures_1_1trie.html#a87d8bf99aea936f9381141753f1e90a8">data_structures::trie::trie</a></div><div class="ttdeci">trie()=default</div><div class="ttdoc">Class default constructor.</div></div>
<div class="ttc" id="asize_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/string/basic_string/size.html">std::string::length</a></div><div class="ttdeci">T length(T... args)</div></div>
<div class="ttc" id="aclassdata__structure_1_1trie_html_a0bc4f25351be960f3570e562cfb4a070"><div class="ttname"><a href="../../d0/d6e/classdata__structure_1_1trie.html#a0bc4f25351be960f3570e562cfb4a070">data_structure::trie::isEndofWord</a></div><div class="ttdeci">bool isEndofWord</div><div class="ttdoc">identifier if a node is terminal node</div><div class="ttdef"><b>Definition:</b> trie_tree.cpp:30</div></div>
<div class="ttc" id="aclassdata__structure_1_1trie_html_a36a41761149fd541850834aef29f9b7f"><div class="ttname"><a href="../../d0/d6e/classdata__structure_1_1trie.html#a36a41761149fd541850834aef29f9b7f">data_structure::trie::trie</a></div><div class="ttdeci">trie()=default</div><div class="ttdoc">Class default constructor.</div></div>
<div class="ttc" id="aclassdata__structures_1_1trie_html_a4cb0f775b5a4bc14a6d39b5c93883eb6"><div class="ttname"><a href="../../d0/d3e/classdata__structures_1_1trie.html#a4cb0f775b5a4bc14a6d39b5c93883eb6">data_structures::trie::isEndofWord</a></div><div class="ttdeci">bool isEndofWord</div><div class="ttdoc">identifier if a node is terminal node</div><div class="ttdef"><b>Definition:</b> trie_tree.cpp:30</div></div>
<div class="ttc" id="abasic_ostream_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cerr</a></div></div>
<div class="ttc" id="aclassdata__structure_1_1trie_html_a3c243c5c7221799ea5edae04c9c45129"><div class="ttname"><a href="../../d0/d6e/classdata__structure_1_1trie.html#a3c243c5c7221799ea5edae04c9c45129">data_structure::trie::NUM_CHARS</a></div><div class="ttdeci">static constexpr uint8_t NUM_CHARS</div><div class="ttdoc">Number of alphabets.</div><div class="ttdef"><b>Definition:</b> trie_tree.cpp:27</div></div>
<div class="ttc" id="aclassdata__structure_1_1trie_html_a98a0d54a781a680903eac14085fcbc2e"><div class="ttname"><a href="../../d0/d6e/classdata__structure_1_1trie.html#a98a0d54a781a680903eac14085fcbc2e">data_structure::trie::deleteString</a></div><div class="ttdeci">bool deleteString(const std::string &amp;str, int index)</div><div class="ttdef"><b>Definition:</b> trie_tree.cpp:134</div></div>
<div class="ttc" id="aclassdata__structure_1_1trie_html_aa5b8dc9452c3f7a805a4cb17034d6549"><div class="ttname"><a href="../../d0/d6e/classdata__structure_1_1trie.html#aa5b8dc9452c3f7a805a4cb17034d6549">data_structure::trie::arr</a></div><div class="ttdeci">std::array&lt; std::shared_ptr&lt; trie &gt;, NUM_CHARS&lt;&lt; 1 &gt; arr</div><div class="ttdoc">Recursive tree nodes as an array of shared-pointers.</div><div class="ttdef"><b>Definition:</b> trie_tree.cpp:29</div></div>
<div class="ttc" id="aclassdata__structure_1_1trie_html_aeb479dcc88415154fb61c2fbb589d6d0"><div class="ttname"><a href="../../d0/d6e/classdata__structure_1_1trie.html#aeb479dcc88415154fb61c2fbb589d6d0">data_structure::trie::char_to_int</a></div><div class="ttdeci">uint8_t char_to_int(const char &amp;ch) const</div><div class="ttdoc">Convert a character to integer for indexing.</div><div class="ttdef"><b>Definition:</b> trie_tree.cpp:38</div></div>
<div class="ttc" id="aclassdata__structure_1_1trie_html_ae9c45cbd4b52db9a39d27e12ca912abc"><div class="ttname"><a href="../../d0/d6e/classdata__structure_1_1trie.html#ae9c45cbd4b52db9a39d27e12ca912abc">data_structure::trie::search</a></div><div class="ttdeci">bool search(const std::shared_ptr&lt; trie &gt; &amp;root, const std::string &amp;str, int index)</div><div class="ttdef"><b>Definition:</b> trie_tree.cpp:56</div></div>
<div class="ttc" id="aclassdata__structures_1_1trie_html_a4bfac4be6ed1a34c7159eddb42469191"><div class="ttname"><a href="../../d0/d3e/classdata__structures_1_1trie.html#a4bfac4be6ed1a34c7159eddb42469191">data_structures::trie::NUM_CHARS</a></div><div class="ttdeci">static constexpr uint8_t NUM_CHARS</div><div class="ttdoc">Number of alphabets.</div><div class="ttdef"><b>Definition:</b> trie_tree.cpp:27</div></div>
<div class="ttc" id="aclassdata__structures_1_1trie_html_aab373beb3f618b90922528c68797d988"><div class="ttname"><a href="../../d0/d3e/classdata__structures_1_1trie.html#aab373beb3f618b90922528c68797d988">data_structures::trie::char_to_int</a></div><div class="ttdeci">uint8_t char_to_int(const char &amp;ch) const</div><div class="ttdoc">Convert a character to integer for indexing.</div><div class="ttdef"><b>Definition:</b> trie_tree.cpp:38</div></div>
<div class="ttc" id="aclassdata__structures_1_1trie_html_aeac27cfd397d2dd3f2f519efffafeeab"><div class="ttname"><a href="../../d0/d3e/classdata__structures_1_1trie.html#aeac27cfd397d2dd3f2f519efffafeeab">data_structures::trie::deleteString</a></div><div class="ttdeci">bool deleteString(const std::string &amp;str, int index)</div><div class="ttdef"><b>Definition:</b> trie_tree.cpp:134</div></div>
<div class="ttc" id="aclassdata__structures_1_1trie_html_a362dd78748a1f01ab019e55fd6098a8b"><div class="ttname"><a href="../../d0/d3e/classdata__structures_1_1trie.html#a362dd78748a1f01ab019e55fd6098a8b">data_structures::trie::arr</a></div><div class="ttdeci">std::array&lt; std::shared_ptr&lt; trie &gt;, NUM_CHARS&lt;&lt; 1 &gt; arr</div><div class="ttdoc">Recursive tree nodes as an array of shared-pointers.</div><div class="ttdef"><b>Definition:</b> trie_tree.cpp:29</div></div>
<div class="ttc" id="aclassdata__structures_1_1trie_html_a961eb5d576d2420f2036009154397c63"><div class="ttname"><a href="../../d0/d3e/classdata__structures_1_1trie.html#a961eb5d576d2420f2036009154397c63">data_structures::trie::search</a></div><div class="ttdeci">bool search(const std::shared_ptr&lt; trie &gt; &amp;root, const std::string &amp;str, int index)</div><div class="ttdef"><b>Definition:</b> trie_tree.cpp:56</div></div>
<div class="ttc" id="aexit_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/utility/program/exit.html">std::exit</a></div><div class="ttdeci">T exit(T... args)</div></div>
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="../../d1/db4/namespacedata__structure.html">data_structure</a></li><li class="navelem"><a class="el" href="../../d0/d6e/classdata__structure_1_1trie.html">trie</a></li>
<li class="navelem"><a class="el" href="../../d5/d3c/namespacedata__structures.html">data_structures</a></li><li class="navelem"><a class="el" href="../../d0/d3e/classdata__structures_1_1trie.html">trie</a></li>
<li class="footer">Generated by <a href="http://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.8.19 </li>
</ul>
</div>

12
d0/d3e/classdata__structures_1_1trie.js vendored Normal file
View File

@@ -0,0 +1,12 @@
var classdata__structures_1_1trie =
[
[ "trie", "d0/d3e/classdata__structures_1_1trie.html#a87d8bf99aea936f9381141753f1e90a8", null ],
[ "char_to_int", "d0/d3e/classdata__structures_1_1trie.html#aab373beb3f618b90922528c68797d988", null ],
[ "deleteString", "d0/d3e/classdata__structures_1_1trie.html#aeac27cfd397d2dd3f2f519efffafeeab", null ],
[ "insert", "d0/d3e/classdata__structures_1_1trie.html#a0ab94bc6417e3f59fab33cea5b64d546", null ],
[ "search", "d0/d3e/classdata__structures_1_1trie.html#a961eb5d576d2420f2036009154397c63", null ],
[ "search", "d0/d3e/classdata__structures_1_1trie.html#a499f87fd833203ef9492b4870aa6d42d", null ],
[ "arr", "d0/d3e/classdata__structures_1_1trie.html#a362dd78748a1f01ab019e55fd6098a8b", null ],
[ "isEndofWord", "d0/d3e/classdata__structures_1_1trie.html#a4cb0f775b5a4bc14a6d39b5c93883eb6", null ],
[ "NUM_CHARS", "d0/d3e/classdata__structures_1_1trie.html#a4bfac4be6ed1a34c7159eddb42469191", null ]
];

View File

@@ -0,0 +1,7 @@
<map id="data_structures::trie::search" name="data_structures::trie::search">
<area shape="rect" id="node1" title=" " alt="" coords="5,64,144,105"/>
<area shape="rect" id="node2" href="$d0/d3e/classdata__structures_1_1trie.html#aab373beb3f618b90922528c68797d988" title="Convert a character to integer for indexing." alt="" coords="192,5,331,47"/>
<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/size.html#" title=" " alt="" coords="200,71,323,98"/>
<area shape="rect" id="node5" href="$d0/d3e/classdata__structures_1_1trie.html#a961eb5d576d2420f2036009154397c63" title=" " alt="" coords="192,123,331,164"/>
<area shape="rect" id="node3" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/utility/program/exit.html#" title=" " alt="" coords="379,13,448,39"/>
</map>

View File

@@ -0,0 +1 @@
c3907ea850c83be9392ebdd9bbe1a748

View File

@@ -0,0 +1,85 @@
<?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 2.44.1 (20200629.0846)
-->
<!-- Title: data_structures::trie::search Pages: 1 -->
<svg width="340pt" height="127pt"
viewBox="0.00 0.00 340.00 127.00" 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 123)">
<title>data_structures::trie::search</title>
<polygon fill="white" stroke="transparent" points="-4,4 -4,-123 336,-123 336,4 -4,4"/>
<!-- Node1 -->
<g id="node1" class="node">
<title>Node1</title>
<g id="a_node1"><a xlink:title=" ">
<polygon fill="#bfbfbf" stroke="black" points="0,-44.5 0,-74.5 104,-74.5 104,-44.5 0,-44.5"/>
<text text-anchor="start" x="8" y="-62.5" font-family="Helvetica,sans-Serif" font-size="10.00">data_structures::trie</text>
<text text-anchor="middle" x="52" y="-51.5" font-family="Helvetica,sans-Serif" font-size="10.00">::search</text>
</a>
</g>
</g>
<!-- Node2 -->
<g id="node2" class="node">
<title>Node2</title>
<g id="a_node2"><a xlink:href="../../d0/d3e/classdata__structures_1_1trie.html#aab373beb3f618b90922528c68797d988" target="_top" xlink:title="Convert a character to integer for indexing.">
<polygon fill="white" stroke="black" points="140,-88.5 140,-118.5 244,-118.5 244,-88.5 140,-88.5"/>
<text text-anchor="start" x="148" y="-106.5" font-family="Helvetica,sans-Serif" font-size="10.00">data_structures::trie</text>
<text text-anchor="middle" x="192" y="-95.5" font-family="Helvetica,sans-Serif" font-size="10.00">::char_to_int</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node2 -->
<g id="edge1" class="edge">
<title>Node1&#45;&gt;Node2</title>
<path fill="none" stroke="midnightblue" d="M100.11,-74.52C110.98,-77.99 122.66,-81.71 133.9,-85.29"/>
<polygon fill="midnightblue" stroke="midnightblue" points="133.05,-88.7 143.64,-88.4 135.17,-82.03 133.05,-88.7"/>
</g>
<!-- Node4 -->
<g id="node4" class="node">
<title>Node4</title>
<g id="a_node4"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/string/basic_string/size.html#" target="_top" xlink:title=" ">
<polygon fill="white" stroke="black" points="146,-50 146,-69 238,-69 238,-50 146,-50"/>
<text text-anchor="middle" x="192" y="-57" font-family="Helvetica,sans-Serif" font-size="10.00">std::string::length</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node4 -->
<g id="edge3" class="edge">
<title>Node1&#45;&gt;Node4</title>
<path fill="none" stroke="midnightblue" d="M104.39,-59.5C114.62,-59.5 125.4,-59.5 135.75,-59.5"/>
<polygon fill="midnightblue" stroke="midnightblue" points="135.93,-63 145.93,-59.5 135.93,-56 135.93,-63"/>
</g>
<!-- Node5 -->
<g id="node5" class="node">
<title>Node5</title>
<g id="a_node5"><a xlink:href="../../d0/d3e/classdata__structures_1_1trie.html#a961eb5d576d2420f2036009154397c63" target="_top" xlink:title=" ">
<polygon fill="white" stroke="black" points="140,-0.5 140,-30.5 244,-30.5 244,-0.5 140,-0.5"/>
<text text-anchor="start" x="148" y="-18.5" font-family="Helvetica,sans-Serif" font-size="10.00">data_structures::trie</text>
<text text-anchor="middle" x="192" y="-7.5" font-family="Helvetica,sans-Serif" font-size="10.00">::search</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node5 -->
<g id="edge4" class="edge">
<title>Node1&#45;&gt;Node5</title>
<path fill="none" stroke="midnightblue" d="M100.11,-44.48C110.98,-41.01 122.66,-37.29 133.9,-33.71"/>
<polygon fill="midnightblue" stroke="midnightblue" points="135.17,-36.97 143.64,-30.6 133.05,-30.3 135.17,-36.97"/>
</g>
<!-- Node3 -->
<g id="node3" class="node">
<title>Node3</title>
<g id="a_node3"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/utility/program/exit.html#" target="_top" xlink:title=" ">
<polygon fill="white" stroke="black" points="280,-94 280,-113 332,-113 332,-94 280,-94"/>
<text text-anchor="middle" x="306" y="-101" font-family="Helvetica,sans-Serif" font-size="10.00">std::exit</text>
</a>
</g>
</g>
<!-- Node2&#45;&gt;Node3 -->
<g id="edge2" class="edge">
<title>Node2&#45;&gt;Node3</title>
<path fill="none" stroke="midnightblue" d="M244.08,-103.5C252.75,-103.5 261.57,-103.5 269.71,-103.5"/>
<polygon fill="midnightblue" stroke="midnightblue" points="269.96,-107 279.96,-103.5 269.96,-100 269.96,-107"/>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 4.3 KiB

View File

@@ -1,4 +1,4 @@
<map id="data_structure::trie::char_to_int" name="data_structure::trie::char_to_int">
<area shape="rect" id="node1" title="Convert a character to integer for indexing." alt="" coords="5,5,136,47"/>
<area shape="rect" id="node2" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/utility/program/exit.html#" title=" " alt="" coords="184,13,253,39"/>
<map id="data_structures::trie::char_to_int" name="data_structures::trie::char_to_int">
<area shape="rect" id="node1" title="Convert a character to integer for indexing." alt="" coords="5,5,144,47"/>
<area shape="rect" id="node2" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/utility/program/exit.html#" title=" " alt="" coords="192,13,261,39"/>
</map>

View File

@@ -0,0 +1 @@
aa1699468622a9d6f1b63f2ae18e589e

View File

@@ -3,19 +3,19 @@
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<!-- Generated by graphviz version 2.44.1 (20200629.0846)
-->
<!-- Title: data_structure::trie::char_to_int Pages: 1 -->
<svg width="194pt" height="39pt"
viewBox="0.00 0.00 194.00 39.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<!-- Title: data_structures::trie::char_to_int Pages: 1 -->
<svg width="200pt" height="39pt"
viewBox="0.00 0.00 200.00 39.00" 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 35)">
<title>data_structure::trie::char_to_int</title>
<polygon fill="white" stroke="transparent" points="-4,4 -4,-35 190,-35 190,4 -4,4"/>
<title>data_structures::trie::char_to_int</title>
<polygon fill="white" stroke="transparent" points="-4,4 -4,-35 196,-35 196,4 -4,4"/>
<!-- Node1 -->
<g id="node1" class="node">
<title>Node1</title>
<g id="a_node1"><a xlink:title="Convert a character to integer for indexing.">
<polygon fill="#bfbfbf" stroke="black" points="0,-0.5 0,-30.5 98,-30.5 98,-0.5 0,-0.5"/>
<text text-anchor="start" x="8" y="-18.5" font-family="Helvetica,sans-Serif" font-size="10.00">data_structure::trie</text>
<text text-anchor="middle" x="49" y="-7.5" font-family="Helvetica,sans-Serif" font-size="10.00">::char_to_int</text>
<polygon fill="#bfbfbf" stroke="black" points="0,-0.5 0,-30.5 104,-30.5 104,-0.5 0,-0.5"/>
<text text-anchor="start" x="8" y="-18.5" font-family="Helvetica,sans-Serif" font-size="10.00">data_structures::trie</text>
<text text-anchor="middle" x="52" y="-7.5" font-family="Helvetica,sans-Serif" font-size="10.00">::char_to_int</text>
</a>
</g>
</g>
@@ -23,16 +23,16 @@
<g id="node2" class="node">
<title>Node2</title>
<g id="a_node2"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/utility/program/exit.html#" target="_top" xlink:title=" ">
<polygon fill="white" stroke="black" points="134,-6 134,-25 186,-25 186,-6 134,-6"/>
<text text-anchor="middle" x="160" y="-13" font-family="Helvetica,sans-Serif" font-size="10.00">std::exit</text>
<polygon fill="white" stroke="black" points="140,-6 140,-25 192,-25 192,-6 140,-6"/>
<text text-anchor="middle" x="166" y="-13" font-family="Helvetica,sans-Serif" font-size="10.00">std::exit</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node2 -->
<g id="edge1" class="edge">
<title>Node1&#45;&gt;Node2</title>
<path fill="none" stroke="midnightblue" d="M98.13,-15.5C106.69,-15.5 115.47,-15.5 123.6,-15.5"/>
<polygon fill="midnightblue" stroke="midnightblue" points="123.84,-19 133.84,-15.5 123.84,-12 123.84,-19"/>
<path fill="none" stroke="midnightblue" d="M104.08,-15.5C112.75,-15.5 121.57,-15.5 129.71,-15.5"/>
<polygon fill="midnightblue" stroke="midnightblue" points="129.96,-19 139.96,-15.5 129.96,-12 129.96,-19"/>
</g>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 1.8 KiB

After

Width:  |  Height:  |  Size: 1.8 KiB

View File

@@ -0,0 +1,6 @@
<map id="data_structures::trie::deleteString" name="data_structures::trie::deleteString">
<area shape="rect" id="node1" title=" " alt="" coords="5,35,144,76"/>
<area shape="rect" id="node2" href="$d0/d3e/classdata__structures_1_1trie.html#aab373beb3f618b90922528c68797d988" title="Convert a character to integer for indexing." alt="" coords="192,5,331,47"/>
<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/size.html#" title=" " alt="" coords="200,71,323,98"/>
<area shape="rect" id="node3" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/utility/program/exit.html#" title=" " alt="" coords="379,13,448,39"/>
</map>

View File

@@ -0,0 +1 @@
58d4feca0fdac37785db0336ce32a8e4

View File

@@ -0,0 +1,69 @@
<?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 2.44.1 (20200629.0846)
-->
<!-- Title: data_structures::trie::deleteString Pages: 1 -->
<svg width="340pt" height="78pt"
viewBox="0.00 0.00 340.00 77.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 73.5)">
<title>data_structures::trie::deleteString</title>
<polygon fill="white" stroke="transparent" points="-4,4 -4,-73.5 336,-73.5 336,4 -4,4"/>
<!-- Node1 -->
<g id="node1" class="node">
<title>Node1</title>
<g id="a_node1"><a xlink:title=" ">
<polygon fill="#bfbfbf" stroke="black" points="0,-17 0,-47 104,-47 104,-17 0,-17"/>
<text text-anchor="start" x="8" y="-35" font-family="Helvetica,sans-Serif" font-size="10.00">data_structures::trie</text>
<text text-anchor="middle" x="52" y="-24" font-family="Helvetica,sans-Serif" font-size="10.00">::deleteString</text>
</a>
</g>
</g>
<!-- Node2 -->
<g id="node2" class="node">
<title>Node2</title>
<g id="a_node2"><a xlink:href="../../d0/d3e/classdata__structures_1_1trie.html#aab373beb3f618b90922528c68797d988" target="_top" xlink:title="Convert a character to integer for indexing.">
<polygon fill="white" stroke="black" points="140,-39 140,-69 244,-69 244,-39 140,-39"/>
<text text-anchor="start" x="148" y="-57" font-family="Helvetica,sans-Serif" font-size="10.00">data_structures::trie</text>
<text text-anchor="middle" x="192" y="-46" font-family="Helvetica,sans-Serif" font-size="10.00">::char_to_int</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node2 -->
<g id="edge1" class="edge">
<title>Node1&#45;&gt;Node2</title>
<path fill="none" stroke="midnightblue" d="M104.39,-40.19C112.56,-41.49 121.08,-42.85 129.46,-44.19"/>
<polygon fill="midnightblue" stroke="midnightblue" points="129.14,-47.68 139.57,-45.8 130.25,-40.77 129.14,-47.68"/>
</g>
<!-- Node4 -->
<g id="node4" class="node">
<title>Node4</title>
<g id="a_node4"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/string/basic_string/size.html#" target="_top" xlink:title=" ">
<polygon fill="white" stroke="black" points="146,-0.5 146,-19.5 238,-19.5 238,-0.5 146,-0.5"/>
<text text-anchor="middle" x="192" y="-7.5" font-family="Helvetica,sans-Serif" font-size="10.00">std::string::length</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node4 -->
<g id="edge3" class="edge">
<title>Node1&#45;&gt;Node4</title>
<path fill="none" stroke="midnightblue" d="M104.39,-23.81C114.62,-22.18 125.4,-20.46 135.75,-18.81"/>
<polygon fill="midnightblue" stroke="midnightblue" points="136.6,-22.22 145.93,-17.19 135.5,-15.3 136.6,-22.22"/>
</g>
<!-- Node3 -->
<g id="node3" class="node">
<title>Node3</title>
<g id="a_node3"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/utility/program/exit.html#" target="_top" xlink:title=" ">
<polygon fill="white" stroke="black" points="280,-44.5 280,-63.5 332,-63.5 332,-44.5 280,-44.5"/>
<text text-anchor="middle" x="306" y="-51.5" font-family="Helvetica,sans-Serif" font-size="10.00">std::exit</text>
</a>
</g>
</g>
<!-- Node2&#45;&gt;Node3 -->
<g id="edge2" class="edge">
<title>Node2&#45;&gt;Node3</title>
<path fill="none" stroke="midnightblue" d="M244.08,-54C252.75,-54 261.57,-54 269.71,-54"/>
<polygon fill="midnightblue" stroke="midnightblue" points="269.96,-57.5 279.96,-54 269.96,-50.5 269.96,-57.5"/>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 3.4 KiB

View File

@@ -117,15 +117,15 @@ Include dependency graph for skip_list.cpp:</div>
</div><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/d6f/structdata__structure_1_1_node.html">data_structure::Node</a></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d49/structdata__structures_1_1_node.html">data_structures::Node</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/d46/classdata__structure_1_1_skip_list.html">data_structure::SkipList</a></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/d90/classdata__structures_1_1_skip_list.html">data_structures::SkipList</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="namespaces"></a>
Namespaces</h2></td></tr>
<tr class="memitem:d1/db4/namespacedata__structure"><td class="memItemLeft" align="right" valign="top"> &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/db4/namespacedata__structure.html">data_structure</a></td></tr>
<tr class="memdesc:d1/db4/namespacedata__structure"><td class="mdescLeft">&#160;</td><td class="mdescRight">Data-structure algorithms. <br /></td></tr>
<tr class="memitem:d5/d3c/namespacedata__structures"><td class="memItemLeft" align="right" valign="top"> &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d5/d3c/namespacedata__structures.html">data_structures</a></td></tr>
<tr class="memdesc:d5/d3c/namespacedata__structures"><td class="mdescLeft">&#160;</td><td class="mdescRight">Data-structure algorithms. <br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
@@ -135,14 +135,14 @@ Functions</h2></td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="var-members"></a>
Variables</h2></td></tr>
<tr class="memitem:a039855c4d1684de1fec104057df9f26d"><td class="memItemLeft" align="right" valign="top"><a id="a039855c4d1684de1fec104057df9f26d"></a>
constexpr int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/db4/namespacedata__structure.html#a039855c4d1684de1fec104057df9f26d">data_structure::MAX_LEVEL</a> = 2</td></tr>
<tr class="memdesc:a039855c4d1684de1fec104057df9f26d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Maximum level of skip list. <br /></td></tr>
<tr class="separator:a039855c4d1684de1fec104057df9f26d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a38234f668624bca86341240f34a95193"><td class="memItemLeft" align="right" valign="top"><a id="a38234f668624bca86341240f34a95193"></a>
constexpr float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/db4/namespacedata__structure.html#a38234f668624bca86341240f34a95193">data_structure::PROBABILITY</a> = 0.5</td></tr>
<tr class="memdesc:a38234f668624bca86341240f34a95193"><td class="mdescLeft">&#160;</td><td class="mdescRight">Current probability for "coin toss". <br /></td></tr>
<tr class="separator:a38234f668624bca86341240f34a95193"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac0d7e0be24da9f41bcb19745873c436a"><td class="memItemLeft" align="right" valign="top"><a id="ac0d7e0be24da9f41bcb19745873c436a"></a>
constexpr int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d5/d3c/namespacedata__structures.html#ac0d7e0be24da9f41bcb19745873c436a">data_structures::MAX_LEVEL</a> = 2</td></tr>
<tr class="memdesc:ac0d7e0be24da9f41bcb19745873c436a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Maximum level of skip list. <br /></td></tr>
<tr class="separator:ac0d7e0be24da9f41bcb19745873c436a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a903639d8e6f955dd8d5c263781455d61"><td class="memItemLeft" align="right" valign="top"><a id="a903639d8e6f955dd8d5c263781455d61"></a>
constexpr float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d5/d3c/namespacedata__structures.html#a903639d8e6f955dd8d5c263781455d61">data_structures::PROBABILITY</a> = 0.5</td></tr>
<tr class="memdesc:a903639d8e6f955dd8d5c263781455d61"><td class="mdescLeft">&#160;</td><td class="mdescRight">Current probability for "coin toss". <br /></td></tr>
<tr class="separator:a903639d8e6f955dd8d5c263781455d61"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Data structure for fast searching and insertion in \(O(\log n)\) time. </p>
@@ -170,21 +170,21 @@ constexpr float&#160;</td><td class="memItemRight" valign="bottom"><a class="el"
<div class="fragment"><div class="line"><a name="l00208"></a><span class="lineno"> 208</span>&#160; {</div>
<div class="line"><a name="l00209"></a><span class="lineno"> 209</span>&#160; <a class="codeRef" target="_blank" href="http://en.cppreference.com/w/cpp/numeric/random/srand.html">std::srand</a>(<a class="codeRef" target="_blank" href="http://en.cppreference.com/w/cpp/chrono/c/time.html">std::time</a>(<span class="keyword">nullptr</span>));</div>
<div class="line"><a name="l00210"></a><span class="lineno"> 210</span>&#160; </div>
<div class="line"><a name="l00211"></a><span class="lineno"> 211</span>&#160; <a class="code" href="../../d1/d46/classdata__structure_1_1_skip_list.html">data_structure::SkipList</a> lst;</div>
<div class="line"><a name="l00211"></a><span class="lineno"> 211</span>&#160; <a class="code" href="../../d4/d90/classdata__structures_1_1_skip_list.html">data_structures::SkipList</a> lst;</div>
<div class="line"><a name="l00212"></a><span class="lineno"> 212</span>&#160; </div>
<div class="line"><a name="l00213"></a><span class="lineno"> 213</span>&#160; <span class="keywordflow">for</span> (<span class="keywordtype">int</span> j = 0; j &lt; (1 &lt;&lt; (<a class="code" href="../../d1/db4/namespacedata__structure.html#a039855c4d1684de1fec104057df9f26d">data_structure::MAX_LEVEL</a> + 1)); j++) {</div>
<div class="line"><a name="l00214"></a><span class="lineno"> 214</span>&#160; <span class="keywordtype">int</span> k = (<a class="codeRef" target="_blank" href="http://en.cppreference.com/w/cpp/numeric/random/rand.html">std::rand</a>() % (1 &lt;&lt; (<a class="code" href="../../d1/db4/namespacedata__structure.html#a039855c4d1684de1fec104057df9f26d">data_structure::MAX_LEVEL</a> + 2)) + 1);</div>
<div class="line"><a name="l00215"></a><span class="lineno"> 215</span>&#160; lst.<a class="code" href="../../d1/d46/classdata__structure_1_1_skip_list.html#a1c6c04c0fb45ea2e2378de7ab9cb465b">insertElement</a>(k, &amp;j);</div>
<div class="line"><a name="l00213"></a><span class="lineno"> 213</span>&#160; <span class="keywordflow">for</span> (<span class="keywordtype">int</span> j = 0; j &lt; (1 &lt;&lt; (<a class="code" href="../../d5/d3c/namespacedata__structures.html#ac0d7e0be24da9f41bcb19745873c436a">data_structures::MAX_LEVEL</a> + 1)); j++) {</div>
<div class="line"><a name="l00214"></a><span class="lineno"> 214</span>&#160; <span class="keywordtype">int</span> k = (<a class="codeRef" target="_blank" href="http://en.cppreference.com/w/cpp/numeric/random/rand.html">std::rand</a>() % (1 &lt;&lt; (<a class="code" href="../../d5/d3c/namespacedata__structures.html#ac0d7e0be24da9f41bcb19745873c436a">data_structures::MAX_LEVEL</a> + 2)) + 1);</div>
<div class="line"><a name="l00215"></a><span class="lineno"> 215</span>&#160; lst.<a class="code" href="../../d4/d90/classdata__structures_1_1_skip_list.html#a40a4042bdf0b6683b5f21ae7854de8a9">insertElement</a>(k, &amp;j);</div>
<div class="line"><a name="l00216"></a><span class="lineno"> 216</span>&#160; }</div>
<div class="line"><a name="l00217"></a><span class="lineno"> 217</span>&#160; </div>
<div class="line"><a name="l00218"></a><span class="lineno"> 218</span>&#160; lst.<a class="code" href="../../d1/d46/classdata__structure_1_1_skip_list.html#a1574d62ca0a5a821601d246c07215335">displayList</a>();</div>
<div class="line"><a name="l00219"></a><span class="lineno"> 219</span>&#160; </div>
<div class="line"><a name="l00218"></a><span class="lineno"> 218</span>&#160; lst.<a class="code" href="../../d4/d90/classdata__structures_1_1_skip_list.html#a812611f80b8079268dbb19cc4e9bee5c">displayList</a>();</div>
<div class="line"><a name="l00219"></a><span class="lineno"> 219</span>&#160; </div>
<div class="line"><a name="l00220"></a><span class="lineno"> 220</span>&#160; <span class="keywordflow">return</span> 0;</div>
<div class="line"><a name="l00221"></a><span class="lineno"> 221</span>&#160;}</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="../../d0/d5a/skip__list_8cpp_ae66f6b31b5ad750f1fe042a706a4e3d4_cgraph.svg" width="599" height="271"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe>
<div class="center"><iframe scrolling="no" frameborder="0" src="../../d0/d5a/skip__list_8cpp_ae66f6b31b5ad750f1fe042a706a4e3d4_cgraph.svg" width="612" height="271"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe>
</div>
</div>
@@ -193,12 +193,12 @@ Here is the call graph for this function:</div>
</div><!-- contents -->
</div><!-- doc-content -->
<div class="ttc" id="asrand_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/numeric/random/srand.html">std::srand</a></div><div class="ttdeci">T srand(T... args)</div></div>
<div class="ttc" id="aclassdata__structure_1_1_skip_list_html_a1c6c04c0fb45ea2e2378de7ab9cb465b"><div class="ttname"><a href="../../d1/d46/classdata__structure_1_1_skip_list.html#a1c6c04c0fb45ea2e2378de7ab9cb465b">data_structure::SkipList::insertElement</a></div><div class="ttdeci">void insertElement(int key, void *value)</div><div class="ttdef"><b>Definition:</b> skip_list.cpp:89</div></div>
<div class="ttc" id="aclassdata__structure_1_1_skip_list_html_a1574d62ca0a5a821601d246c07215335"><div class="ttname"><a href="../../d1/d46/classdata__structure_1_1_skip_list.html#a1574d62ca0a5a821601d246c07215335">data_structure::SkipList::displayList</a></div><div class="ttdeci">void displayList()</div><div class="ttdef"><b>Definition:</b> skip_list.cpp:187</div></div>
<div class="ttc" id="aclassdata__structure_1_1_skip_list_html"><div class="ttname"><a href="../../d1/d46/classdata__structure_1_1_skip_list.html">data_structure::SkipList</a></div><div class="ttdef"><b>Definition:</b> skip_list.cpp:55</div></div>
<div class="ttc" id="aclassdata__structures_1_1_skip_list_html_a812611f80b8079268dbb19cc4e9bee5c"><div class="ttname"><a href="../../d4/d90/classdata__structures_1_1_skip_list.html#a812611f80b8079268dbb19cc4e9bee5c">data_structures::SkipList::displayList</a></div><div class="ttdeci">void displayList()</div><div class="ttdef"><b>Definition:</b> skip_list.cpp:187</div></div>
<div class="ttc" id="anamespacedata__structures_html_ac0d7e0be24da9f41bcb19745873c436a"><div class="ttname"><a href="../../d5/d3c/namespacedata__structures.html#ac0d7e0be24da9f41bcb19745873c436a">data_structures::MAX_LEVEL</a></div><div class="ttdeci">constexpr int MAX_LEVEL</div><div class="ttdoc">Maximum level of skip list.</div><div class="ttdef"><b>Definition:</b> skip_list.cpp:27</div></div>
<div class="ttc" id="aclassdata__structures_1_1_skip_list_html"><div class="ttname"><a href="../../d4/d90/classdata__structures_1_1_skip_list.html">data_structures::SkipList</a></div><div class="ttdef"><b>Definition:</b> skip_list.cpp:55</div></div>
<div class="ttc" id="arand_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/numeric/random/rand.html">std::rand</a></div><div class="ttdeci">T rand(T... args)</div></div>
<div class="ttc" id="anamespacedata__structure_html_a039855c4d1684de1fec104057df9f26d"><div class="ttname"><a href="../../d1/db4/namespacedata__structure.html#a039855c4d1684de1fec104057df9f26d">data_structure::MAX_LEVEL</a></div><div class="ttdeci">constexpr int MAX_LEVEL</div><div class="ttdoc">Maximum level of skip list.</div><div class="ttdef"><b>Definition:</b> skip_list.cpp:27</div></div>
<div class="ttc" id="atime_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/chrono/c/time.html">std::time</a></div><div class="ttdeci">T time(T... args)</div></div>
<div class="ttc" id="aclassdata__structures_1_1_skip_list_html_a40a4042bdf0b6683b5f21ae7854de8a9"><div class="ttname"><a href="../../d4/d90/classdata__structures_1_1_skip_list.html#a40a4042bdf0b6683b5f21ae7854de8a9">data_structures::SkipList::insertElement</a></div><div class="ttdeci">void insertElement(int key, void *value)</div><div class="ttdef"><b>Definition:</b> skip_list.cpp:89</div></div>
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>

View File

@@ -1,8 +1,8 @@
var skip__list_8cpp =
[
[ "Node", "d3/d6f/structdata__structure_1_1_node.html", "d3/d6f/structdata__structure_1_1_node" ],
[ "SkipList", "d1/d46/classdata__structure_1_1_skip_list.html", "d1/d46/classdata__structure_1_1_skip_list" ],
[ "Node", "d9/d49/structdata__structures_1_1_node.html", "d9/d49/structdata__structures_1_1_node" ],
[ "SkipList", "d4/d90/classdata__structures_1_1_skip_list.html", "d4/d90/classdata__structures_1_1_skip_list" ],
[ "main", "d0/d5a/skip__list_8cpp.html#ae66f6b31b5ad750f1fe042a706a4e3d4", null ],
[ "MAX_LEVEL", "d0/d5a/skip__list_8cpp.html#a039855c4d1684de1fec104057df9f26d", null ],
[ "PROBABILITY", "d0/d5a/skip__list_8cpp.html#a38234f668624bca86341240f34a95193", null ]
[ "MAX_LEVEL", "d0/d5a/skip__list_8cpp.html#ac0d7e0be24da9f41bcb19745873c436a", null ],
[ "PROBABILITY", "d0/d5a/skip__list_8cpp.html#a903639d8e6f955dd8d5c263781455d61", null ]
];

View File

@@ -1,10 +1,10 @@
<map id="main" name="main">
<area shape="rect" id="node1" title=" " alt="" coords="5,137,56,163"/>
<area shape="rect" id="node2" href="$d1/d46/classdata__structure_1_1_skip_list.html#a1574d62ca0a5a821601d246c07215335" title=" " alt="" coords="104,5,264,47"/>
<area shape="rect" id="node4" href="$d1/d46/classdata__structure_1_1_skip_list.html#a1c6c04c0fb45ea2e2378de7ab9cb465b" title=" " alt="" coords="104,71,264,112"/>
<area shape="rect" id="node6" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/numeric/random/rand.html#" title=" " alt="" coords="520,107,593,134"/>
<area shape="rect" id="node7" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/numeric/random/srand.html#" title=" " alt="" coords="144,187,224,214"/>
<area shape="rect" id="node8" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/chrono/c/time.html#" title=" " alt="" coords="147,238,221,265"/>
<area shape="rect" id="node3" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/io/manip/endl.html#" title=" " alt="" coords="356,17,428,43"/>
<area shape="rect" id="node5" href="$d1/d46/classdata__structure_1_1_skip_list.html#a10800369c9efa08dd86de0ce552c874e" title=" " alt="" coords="312,71,472,112"/>
<area shape="rect" id="node2" href="$d4/d90/classdata__structures_1_1_skip_list.html#a812611f80b8079268dbb19cc4e9bee5c" title=" " alt="" coords="104,5,271,47"/>
<area shape="rect" id="node4" href="$d4/d90/classdata__structures_1_1_skip_list.html#a40a4042bdf0b6683b5f21ae7854de8a9" title=" " alt="" coords="104,71,271,112"/>
<area shape="rect" id="node6" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/numeric/random/rand.html#" title=" " alt="" coords="533,107,607,134"/>
<area shape="rect" id="node7" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/numeric/random/srand.html#" title=" " alt="" coords="147,187,227,214"/>
<area shape="rect" id="node8" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/chrono/c/time.html#" title=" " alt="" coords="151,238,224,265"/>
<area shape="rect" id="node3" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/io/manip/endl.html#" title=" " alt="" coords="366,17,438,43"/>
<area shape="rect" id="node5" href="$d4/d90/classdata__structures_1_1_skip_list.html#aa3f3813e9896792fc86b296547689ba4" title=" " alt="" coords="319,71,485,112"/>
</map>

View File

@@ -1 +1 @@
6d55f3463f4494dd4e8fa1912e5c5c1e
a69a3eaa8b41f050beea8bf77ae4d68b

View File

@@ -4,11 +4,11 @@
<!-- Generated by graphviz version 2.44.1 (20200629.0846)
-->
<!-- Title: main Pages: 1 -->
<svg width="449pt" height="203pt"
viewBox="0.00 0.00 449.00 202.50" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<svg width="459pt" height="203pt"
viewBox="0.00 0.00 459.00 202.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 198.5)">
<title>main</title>
<polygon fill="white" stroke="transparent" points="-4,4 -4,-198.5 445,-198.5 445,4 -4,4"/>
<polygon fill="white" stroke="transparent" points="-4,4 -4,-198.5 455,-198.5 455,4 -4,4"/>
<!-- Node1 -->
<g id="node1" class="node">
<title>Node1</title>
@@ -21,122 +21,122 @@
<!-- Node2 -->
<g id="node2" class="node">
<title>Node2</title>
<g id="a_node2"><a xlink:href="../../d1/d46/classdata__structure_1_1_skip_list.html#a1574d62ca0a5a821601d246c07215335" target="_top" xlink:title=" ">
<polygon fill="white" stroke="black" points="74,-164 74,-194 194,-194 194,-164 74,-164"/>
<text text-anchor="start" x="82" y="-182" font-family="Helvetica,sans-Serif" font-size="10.00">data_structure::SkipList</text>
<text text-anchor="middle" x="134" y="-171" font-family="Helvetica,sans-Serif" font-size="10.00">::displayList</text>
<g id="a_node2"><a xlink:href="../../d4/d90/classdata__structures_1_1_skip_list.html#a812611f80b8079268dbb19cc4e9bee5c" target="_top" xlink:title=" ">
<polygon fill="white" stroke="black" points="74,-164 74,-194 199,-194 199,-164 74,-164"/>
<text text-anchor="start" x="82" y="-182" font-family="Helvetica,sans-Serif" font-size="10.00">data_structures::SkipList</text>
<text text-anchor="middle" x="136.5" y="-171" font-family="Helvetica,sans-Serif" font-size="10.00">::displayList</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node2 -->
<g id="edge1" class="edge">
<title>Node1&#45;&gt;Node2</title>
<path fill="none" stroke="midnightblue" d="M25.39,-95.78C33.93,-110.48 51.9,-138.32 74,-155 75.79,-156.35 77.67,-157.64 79.61,-158.87"/>
<polygon fill="midnightblue" stroke="midnightblue" points="78.02,-161.99 88.45,-163.86 81.46,-155.89 78.02,-161.99"/>
<path fill="none" stroke="midnightblue" d="M25.36,-95.82C33.86,-110.57 51.78,-138.48 74,-155 75.83,-156.36 77.75,-157.66 79.73,-158.89"/>
<polygon fill="midnightblue" stroke="midnightblue" points="78.29,-162.09 88.74,-163.87 81.68,-155.97 78.29,-162.09"/>
</g>
<!-- Node4 -->
<g id="node4" class="node">
<title>Node4</title>
<g id="a_node4"><a xlink:href="../../d1/d46/classdata__structure_1_1_skip_list.html#a1c6c04c0fb45ea2e2378de7ab9cb465b" target="_top" xlink:title=" ">
<polygon fill="white" stroke="black" points="74,-115 74,-145 194,-145 194,-115 74,-115"/>
<text text-anchor="start" x="82" y="-133" font-family="Helvetica,sans-Serif" font-size="10.00">data_structure::SkipList</text>
<text text-anchor="middle" x="134" y="-122" font-family="Helvetica,sans-Serif" font-size="10.00">::insertElement</text>
<g id="a_node4"><a xlink:href="../../d4/d90/classdata__structures_1_1_skip_list.html#a40a4042bdf0b6683b5f21ae7854de8a9" target="_top" xlink:title=" ">
<polygon fill="white" stroke="black" points="74,-115 74,-145 199,-145 199,-115 74,-115"/>
<text text-anchor="start" x="82" y="-133" font-family="Helvetica,sans-Serif" font-size="10.00">data_structures::SkipList</text>
<text text-anchor="middle" x="136.5" y="-122" font-family="Helvetica,sans-Serif" font-size="10.00">::insertElement</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node4 -->
<g id="edge3" class="edge">
<title>Node1&#45;&gt;Node4</title>
<path fill="none" stroke="midnightblue" d="M38.16,-93.07C50.78,-97.98 68.23,-104.78 84.73,-111.2"/>
<polygon fill="midnightblue" stroke="midnightblue" points="83.7,-114.56 94.29,-114.93 86.24,-108.04 83.7,-114.56"/>
<path fill="none" stroke="midnightblue" d="M38.05,-92.88C51.11,-97.85 69.42,-104.83 86.65,-111.39"/>
<polygon fill="midnightblue" stroke="midnightblue" points="85.48,-114.69 96.07,-114.98 87.98,-108.15 85.48,-114.69"/>
</g>
<!-- Node6 -->
<g id="node6" class="node">
<title>Node6</title>
<g id="a_node6"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/numeric/random/rand.html#" target="_top" xlink:title=" ">
<polygon fill="white" stroke="black" points="386,-98.5 386,-117.5 441,-117.5 441,-98.5 386,-98.5"/>
<text text-anchor="middle" x="413.5" y="-105.5" font-family="Helvetica,sans-Serif" font-size="10.00">std::rand</text>
<polygon fill="white" stroke="black" points="396,-98.5 396,-117.5 451,-117.5 451,-98.5 396,-98.5"/>
<text text-anchor="middle" x="423.5" y="-105.5" font-family="Helvetica,sans-Serif" font-size="10.00">std::rand</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node6 -->
<g id="edge7" class="edge">
<title>Node1&#45;&gt;Node6</title>
<path fill="none" stroke="midnightblue" d="M38.14,-87.02C98.59,-90.41 293.92,-101.35 375.82,-105.94"/>
<polygon fill="midnightblue" stroke="midnightblue" points="375.74,-109.44 385.92,-106.51 376.13,-102.46 375.74,-109.44"/>
<path fill="none" stroke="midnightblue" d="M38.08,-86.99C99.69,-90.36 302.26,-101.43 385.89,-106"/>
<polygon fill="midnightblue" stroke="midnightblue" points="385.77,-109.5 395.95,-106.55 386.15,-102.51 385.77,-109.5"/>
</g>
<!-- Node7 -->
<g id="node7" class="node">
<title>Node7</title>
<g id="a_node7"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/numeric/random/srand.html#" target="_top" xlink:title=" ">
<polygon fill="white" stroke="black" points="104,-38.5 104,-57.5 164,-57.5 164,-38.5 104,-38.5"/>
<text text-anchor="middle" x="134" y="-45.5" font-family="Helvetica,sans-Serif" font-size="10.00">std::srand</text>
<polygon fill="white" stroke="black" points="106.5,-38.5 106.5,-57.5 166.5,-57.5 166.5,-38.5 106.5,-38.5"/>
<text text-anchor="middle" x="136.5" y="-45.5" font-family="Helvetica,sans-Serif" font-size="10.00">std::srand</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node7 -->
<g id="edge8" class="edge">
<title>Node1&#45;&gt;Node7</title>
<path fill="none" stroke="midnightblue" d="M38.16,-79.89C53.46,-74.75 75.86,-67.22 95.05,-60.76"/>
<polygon fill="midnightblue" stroke="midnightblue" points="96.38,-64.01 104.74,-57.5 94.15,-57.37 96.38,-64.01"/>
<path fill="none" stroke="midnightblue" d="M38.05,-80.06C53.68,-74.92 76.83,-67.3 96.65,-60.78"/>
<polygon fill="midnightblue" stroke="midnightblue" points="97.95,-64.04 106.35,-57.59 95.76,-57.39 97.95,-64.04"/>
</g>
<!-- Node8 -->
<g id="node8" class="node">
<title>Node8</title>
<g id="a_node8"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/chrono/c/time.html#" target="_top" xlink:title=" ">
<polygon fill="white" stroke="black" points="106.5,-0.5 106.5,-19.5 161.5,-19.5 161.5,-0.5 106.5,-0.5"/>
<text text-anchor="middle" x="134" y="-7.5" font-family="Helvetica,sans-Serif" font-size="10.00">std::time</text>
<polygon fill="white" stroke="black" points="109,-0.5 109,-19.5 164,-19.5 164,-0.5 109,-0.5"/>
<text text-anchor="middle" x="136.5" y="-7.5" font-family="Helvetica,sans-Serif" font-size="10.00">std::time</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node8 -->
<g id="edge9" class="edge">
<title>Node1&#45;&gt;Node8</title>
<path fill="none" stroke="midnightblue" d="M26.89,-76.09C36.2,-63.43 53.93,-41.64 74,-29 80.85,-24.69 88.77,-21.27 96.54,-18.59"/>
<polygon fill="midnightblue" stroke="midnightblue" points="97.7,-21.89 106.21,-15.58 95.62,-15.21 97.7,-21.89"/>
<path fill="none" stroke="midnightblue" d="M26.55,-76.49C35.74,-63.86 53.62,-41.66 74,-29 81.57,-24.29 90.4,-20.68 98.96,-17.92"/>
<polygon fill="midnightblue" stroke="midnightblue" points="100.17,-21.22 108.8,-15.08 98.22,-14.5 100.17,-21.22"/>
</g>
<!-- Node3 -->
<g id="node3" class="node">
<title>Node3</title>
<g id="a_node3"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/io/manip/endl.html#" target="_top" xlink:title=" ">
<polygon fill="white" stroke="black" points="263,-166.5 263,-185.5 317,-185.5 317,-166.5 263,-166.5"/>
<text text-anchor="middle" x="290" y="-173.5" font-family="Helvetica,sans-Serif" font-size="10.00">std::endl</text>
<polygon fill="white" stroke="black" points="270.5,-166.5 270.5,-185.5 324.5,-185.5 324.5,-166.5 270.5,-166.5"/>
<text text-anchor="middle" x="297.5" y="-173.5" font-family="Helvetica,sans-Serif" font-size="10.00">std::endl</text>
</a>
</g>
</g>
<!-- Node2&#45;&gt;Node3 -->
<g id="edge2" class="edge">
<title>Node2&#45;&gt;Node3</title>
<path fill="none" stroke="midnightblue" d="M194.1,-177.85C213.77,-177.47 235.09,-177.05 252.52,-176.71"/>
<polygon fill="midnightblue" stroke="midnightblue" points="252.9,-180.2 262.83,-176.51 252.77,-173.21 252.9,-180.2"/>
<path fill="none" stroke="midnightblue" d="M199.43,-177.83C219.98,-177.44 242.19,-177.02 260.17,-176.69"/>
<polygon fill="midnightblue" stroke="midnightblue" points="260.29,-180.18 270.22,-176.5 260.16,-173.19 260.29,-180.18"/>
</g>
<!-- Node4&#45;&gt;Node3 -->
<g id="edge4" class="edge">
<title>Node4&#45;&gt;Node3</title>
<path fill="none" stroke="midnightblue" d="M185.43,-145.06C207.49,-151.65 232.87,-159.23 252.98,-165.24"/>
<polygon fill="midnightblue" stroke="midnightblue" points="252.1,-168.63 262.69,-168.14 254.11,-161.92 252.1,-168.63"/>
<path fill="none" stroke="midnightblue" d="M189.56,-145.06C212.76,-151.77 239.5,-159.51 260.44,-165.57"/>
<polygon fill="midnightblue" stroke="midnightblue" points="259.64,-168.98 270.22,-168.4 261.58,-162.25 259.64,-168.98"/>
</g>
<!-- Node5 -->
<g id="node5" class="node">
<title>Node5</title>
<g id="a_node5"><a xlink:href="../../d1/d46/classdata__structure_1_1_skip_list.html#a10800369c9efa08dd86de0ce552c874e" target="_top" xlink:title=" ">
<polygon fill="white" stroke="black" points="230,-115 230,-145 350,-145 350,-115 230,-115"/>
<text text-anchor="start" x="238" y="-133" font-family="Helvetica,sans-Serif" font-size="10.00">data_structure::SkipList</text>
<text text-anchor="middle" x="290" y="-122" font-family="Helvetica,sans-Serif" font-size="10.00">::randomLevel</text>
<g id="a_node5"><a xlink:href="../../d4/d90/classdata__structures_1_1_skip_list.html#aa3f3813e9896792fc86b296547689ba4" target="_top" xlink:title=" ">
<polygon fill="white" stroke="black" points="235,-115 235,-145 360,-145 360,-115 235,-115"/>
<text text-anchor="start" x="243" y="-133" font-family="Helvetica,sans-Serif" font-size="10.00">data_structures::SkipList</text>
<text text-anchor="middle" x="297.5" y="-122" font-family="Helvetica,sans-Serif" font-size="10.00">::randomLevel</text>
</a>
</g>
</g>
<!-- Node4&#45;&gt;Node5 -->
<g id="edge5" class="edge">
<title>Node4&#45;&gt;Node5</title>
<path fill="none" stroke="midnightblue" d="M194.1,-130C202.42,-130 211.04,-130 219.53,-130"/>
<polygon fill="midnightblue" stroke="midnightblue" points="219.8,-133.5 229.8,-130 219.8,-126.5 219.8,-133.5"/>
<path fill="none" stroke="midnightblue" d="M199.43,-130C207.67,-130 216.18,-130 224.58,-130"/>
<polygon fill="midnightblue" stroke="midnightblue" points="224.74,-133.5 234.74,-130 224.74,-126.5 224.74,-133.5"/>
</g>
<!-- Node5&#45;&gt;Node6 -->
<g id="edge6" class="edge">
<title>Node5&#45;&gt;Node6</title>
<path fill="none" stroke="midnightblue" d="M350.33,-119.26C358.95,-117.7 367.62,-116.13 375.63,-114.68"/>
<polygon fill="midnightblue" stroke="midnightblue" points="376.5,-118.08 385.72,-112.85 375.26,-111.19 376.5,-118.08"/>
<path fill="none" stroke="midnightblue" d="M360.14,-119.06C368.94,-117.5 377.75,-115.94 385.87,-114.5"/>
<polygon fill="midnightblue" stroke="midnightblue" points="386.48,-117.95 395.72,-112.75 385.26,-111.05 386.48,-117.95"/>
</g>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 7.1 KiB

After

Width:  |  Height:  |  Size: 7.1 KiB

View File

@@ -1,12 +0,0 @@
var classdata__structure_1_1trie =
[
[ "trie", "d0/d6e/classdata__structure_1_1trie.html#a36a41761149fd541850834aef29f9b7f", null ],
[ "char_to_int", "d0/d6e/classdata__structure_1_1trie.html#aeb479dcc88415154fb61c2fbb589d6d0", null ],
[ "deleteString", "d0/d6e/classdata__structure_1_1trie.html#a98a0d54a781a680903eac14085fcbc2e", null ],
[ "insert", "d0/d6e/classdata__structure_1_1trie.html#a8b9a51c90291a3402904c8cd16bbe30d", null ],
[ "search", "d0/d6e/classdata__structure_1_1trie.html#ae9c45cbd4b52db9a39d27e12ca912abc", null ],
[ "search", "d0/d6e/classdata__structure_1_1trie.html#adff53199439d06776ebbaf917741774f", null ],
[ "arr", "d0/d6e/classdata__structure_1_1trie.html#aa5b8dc9452c3f7a805a4cb17034d6549", null ],
[ "isEndofWord", "d0/d6e/classdata__structure_1_1trie.html#a0bc4f25351be960f3570e562cfb4a070", null ],
[ "NUM_CHARS", "d0/d6e/classdata__structure_1_1trie.html#a3c243c5c7221799ea5edae04c9c45129", null ]
];

View File

@@ -1,6 +0,0 @@
<map id="data_structure::trie::deleteString" name="data_structure::trie::deleteString">
<area shape="rect" id="node1" title=" " alt="" coords="5,35,136,76"/>
<area shape="rect" id="node2" href="$d0/d6e/classdata__structure_1_1trie.html#aeb479dcc88415154fb61c2fbb589d6d0" title="Convert a character to integer for indexing." alt="" coords="184,5,315,47"/>
<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/size.html#" title=" " alt="" coords="188,71,311,98"/>
<area shape="rect" id="node3" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/utility/program/exit.html#" title=" " alt="" coords="363,13,432,39"/>
</map>

View File

@@ -1 +0,0 @@
938276236d7343d4070cdd4c6f5f75df

View File

@@ -1,69 +0,0 @@
<?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 2.44.1 (20200629.0846)
-->
<!-- Title: data_structure::trie::deleteString Pages: 1 -->
<svg width="328pt" height="78pt"
viewBox="0.00 0.00 328.00 77.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 73.5)">
<title>data_structure::trie::deleteString</title>
<polygon fill="white" stroke="transparent" points="-4,4 -4,-73.5 324,-73.5 324,4 -4,4"/>
<!-- Node1 -->
<g id="node1" class="node">
<title>Node1</title>
<g id="a_node1"><a xlink:title=" ">
<polygon fill="#bfbfbf" stroke="black" points="0,-17 0,-47 98,-47 98,-17 0,-17"/>
<text text-anchor="start" x="8" y="-35" font-family="Helvetica,sans-Serif" font-size="10.00">data_structure::trie</text>
<text text-anchor="middle" x="49" y="-24" font-family="Helvetica,sans-Serif" font-size="10.00">::deleteString</text>
</a>
</g>
</g>
<!-- Node2 -->
<g id="node2" class="node">
<title>Node2</title>
<g id="a_node2"><a xlink:href="../../d0/d6e/classdata__structure_1_1trie.html#aeb479dcc88415154fb61c2fbb589d6d0" target="_top" xlink:title="Convert a character to integer for indexing.">
<polygon fill="white" stroke="black" points="134,-39 134,-69 232,-69 232,-39 134,-39"/>
<text text-anchor="start" x="142" y="-57" font-family="Helvetica,sans-Serif" font-size="10.00">data_structure::trie</text>
<text text-anchor="middle" x="183" y="-46" font-family="Helvetica,sans-Serif" font-size="10.00">::char_to_int</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node2 -->
<g id="edge1" class="edge">
<title>Node1&#45;&gt;Node2</title>
<path fill="none" stroke="midnightblue" d="M98.03,-40C106.4,-41.4 115.19,-42.86 123.8,-44.3"/>
<polygon fill="midnightblue" stroke="midnightblue" points="123.35,-47.77 133.79,-45.96 124.5,-40.87 123.35,-47.77"/>
</g>
<!-- Node4 -->
<g id="node4" class="node">
<title>Node4</title>
<g id="a_node4"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/string/basic_string/size.html#" target="_top" xlink:title=" ">
<polygon fill="white" stroke="black" points="137,-0.5 137,-19.5 229,-19.5 229,-0.5 137,-0.5"/>
<text text-anchor="middle" x="183" y="-7.5" font-family="Helvetica,sans-Serif" font-size="10.00">std::string::length</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node4 -->
<g id="edge3" class="edge">
<title>Node1&#45;&gt;Node4</title>
<path fill="none" stroke="midnightblue" d="M98.03,-24C107.44,-22.43 117.38,-20.77 126.99,-19.17"/>
<polygon fill="midnightblue" stroke="midnightblue" points="127.58,-22.62 136.86,-17.52 126.43,-15.71 127.58,-22.62"/>
</g>
<!-- Node3 -->
<g id="node3" class="node">
<title>Node3</title>
<g id="a_node3"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/utility/program/exit.html#" target="_top" xlink:title=" ">
<polygon fill="white" stroke="black" points="268,-44.5 268,-63.5 320,-63.5 320,-44.5 268,-44.5"/>
<text text-anchor="middle" x="294" y="-51.5" font-family="Helvetica,sans-Serif" font-size="10.00">std::exit</text>
</a>
</g>
</g>
<!-- Node2&#45;&gt;Node3 -->
<g id="edge2" class="edge">
<title>Node2&#45;&gt;Node3</title>
<path fill="none" stroke="midnightblue" d="M232.13,-54C240.69,-54 249.47,-54 257.6,-54"/>
<polygon fill="midnightblue" stroke="midnightblue" points="257.84,-57.5 267.84,-54 257.84,-50.5 257.84,-57.5"/>
</g>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 3.4 KiB

View File

@@ -1,7 +0,0 @@
<map id="data_structure::trie::search" name="data_structure::trie::search">
<area shape="rect" id="node1" title=" " alt="" coords="5,64,136,105"/>
<area shape="rect" id="node2" href="$d0/d6e/classdata__structure_1_1trie.html#aeb479dcc88415154fb61c2fbb589d6d0" title="Convert a character to integer for indexing." alt="" coords="184,5,315,47"/>
<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/size.html#" title=" " alt="" coords="188,71,311,98"/>
<area shape="rect" id="node5" href="$d0/d6e/classdata__structure_1_1trie.html#ae9c45cbd4b52db9a39d27e12ca912abc" title=" " alt="" coords="184,123,315,164"/>
<area shape="rect" id="node3" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/utility/program/exit.html#" title=" " alt="" coords="363,13,432,39"/>
</map>

View File

@@ -1 +0,0 @@
8ecfbaaeb321e17060b4a3859f9d477c

View File

@@ -1,85 +0,0 @@
<?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 2.44.1 (20200629.0846)
-->
<!-- Title: data_structure::trie::search Pages: 1 -->
<svg width="328pt" height="127pt"
viewBox="0.00 0.00 328.00 127.00" 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 123)">
<title>data_structure::trie::search</title>
<polygon fill="white" stroke="transparent" points="-4,4 -4,-123 324,-123 324,4 -4,4"/>
<!-- Node1 -->
<g id="node1" class="node">
<title>Node1</title>
<g id="a_node1"><a xlink:title=" ">
<polygon fill="#bfbfbf" stroke="black" points="0,-44.5 0,-74.5 98,-74.5 98,-44.5 0,-44.5"/>
<text text-anchor="start" x="8" y="-62.5" font-family="Helvetica,sans-Serif" font-size="10.00">data_structure::trie</text>
<text text-anchor="middle" x="49" y="-51.5" font-family="Helvetica,sans-Serif" font-size="10.00">::search</text>
</a>
</g>
</g>
<!-- Node2 -->
<g id="node2" class="node">
<title>Node2</title>
<g id="a_node2"><a xlink:href="../../d0/d6e/classdata__structure_1_1trie.html#aeb479dcc88415154fb61c2fbb589d6d0" target="_top" xlink:title="Convert a character to integer for indexing.">
<polygon fill="white" stroke="black" points="134,-88.5 134,-118.5 232,-118.5 232,-88.5 134,-88.5"/>
<text text-anchor="start" x="142" y="-106.5" font-family="Helvetica,sans-Serif" font-size="10.00">data_structure::trie</text>
<text text-anchor="middle" x="183" y="-95.5" font-family="Helvetica,sans-Serif" font-size="10.00">::char_to_int</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node2 -->
<g id="edge1" class="edge">
<title>Node1&#45;&gt;Node2</title>
<path fill="none" stroke="midnightblue" d="M95.06,-74.52C105.35,-77.95 116.4,-81.63 127.06,-85.19"/>
<polygon fill="midnightblue" stroke="midnightblue" points="126.1,-88.56 136.7,-88.4 128.32,-81.92 126.1,-88.56"/>
</g>
<!-- Node4 -->
<g id="node4" class="node">
<title>Node4</title>
<g id="a_node4"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/string/basic_string/size.html#" target="_top" xlink:title=" ">
<polygon fill="white" stroke="black" points="137,-50 137,-69 229,-69 229,-50 137,-50"/>
<text text-anchor="middle" x="183" y="-57" font-family="Helvetica,sans-Serif" font-size="10.00">std::string::length</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node4 -->
<g id="edge3" class="edge">
<title>Node1&#45;&gt;Node4</title>
<path fill="none" stroke="midnightblue" d="M98.03,-59.5C107.34,-59.5 117.17,-59.5 126.69,-59.5"/>
<polygon fill="midnightblue" stroke="midnightblue" points="126.86,-63 136.86,-59.5 126.86,-56 126.86,-63"/>
</g>
<!-- Node5 -->
<g id="node5" class="node">
<title>Node5</title>
<g id="a_node5"><a xlink:href="../../d0/d6e/classdata__structure_1_1trie.html#ae9c45cbd4b52db9a39d27e12ca912abc" target="_top" xlink:title=" ">
<polygon fill="white" stroke="black" points="134,-0.5 134,-30.5 232,-30.5 232,-0.5 134,-0.5"/>
<text text-anchor="start" x="142" y="-18.5" font-family="Helvetica,sans-Serif" font-size="10.00">data_structure::trie</text>
<text text-anchor="middle" x="183" y="-7.5" font-family="Helvetica,sans-Serif" font-size="10.00">::search</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node5 -->
<g id="edge4" class="edge">
<title>Node1&#45;&gt;Node5</title>
<path fill="none" stroke="midnightblue" d="M95.06,-44.48C105.35,-41.05 116.4,-37.37 127.06,-33.81"/>
<polygon fill="midnightblue" stroke="midnightblue" points="128.32,-37.08 136.7,-30.6 126.1,-30.44 128.32,-37.08"/>
</g>
<!-- Node3 -->
<g id="node3" class="node">
<title>Node3</title>
<g id="a_node3"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/utility/program/exit.html#" target="_top" xlink:title=" ">
<polygon fill="white" stroke="black" points="268,-94 268,-113 320,-113 320,-94 268,-94"/>
<text text-anchor="middle" x="294" y="-101" font-family="Helvetica,sans-Serif" font-size="10.00">std::exit</text>
</a>
</g>
</g>
<!-- Node2&#45;&gt;Node3 -->
<g id="edge2" class="edge">
<title>Node2&#45;&gt;Node3</title>
<path fill="none" stroke="midnightblue" d="M232.13,-103.5C240.69,-103.5 249.47,-103.5 257.6,-103.5"/>
<polygon fill="midnightblue" stroke="midnightblue" points="257.84,-107 267.84,-103.5 257.84,-100 257.84,-107"/>
</g>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 4.2 KiB

View File

@@ -1 +0,0 @@
8466c1f590b1394cd5c528672ec4f52d

View File

@@ -1,11 +0,0 @@
var classdata__structure_1_1_skip_list =
[
[ "SkipList", "d1/d46/classdata__structure_1_1_skip_list.html#aed414cf88cfacb9554ecfd184b03fe04", null ],
[ "deleteElement", "d1/d46/classdata__structure_1_1_skip_list.html#a4b8eb18c9ca24f53e9de91b74febd666", null ],
[ "displayList", "d1/d46/classdata__structure_1_1_skip_list.html#a1574d62ca0a5a821601d246c07215335", null ],
[ "insertElement", "d1/d46/classdata__structure_1_1_skip_list.html#a1c6c04c0fb45ea2e2378de7ab9cb465b", null ],
[ "randomLevel", "d1/d46/classdata__structure_1_1_skip_list.html#a10800369c9efa08dd86de0ce552c874e", null ],
[ "searchElement", "d1/d46/classdata__structure_1_1_skip_list.html#a7cda6370f8bd2b6d1db28bd5ca586a21", null ],
[ "header", "d1/d46/classdata__structure_1_1_skip_list.html#a7aed753e3b47953229f5ac94f0fc9aad", null ],
[ "level", "d1/d46/classdata__structure_1_1_skip_list.html#ae0c022174510fd9ca1b84d8e996cd1a5", null ]
];

View File

@@ -1,4 +0,0 @@
<map id="data_structure::SkipList::randomLevel" name="data_structure::SkipList::randomLevel">
<area shape="rect" id="node1" title=" " alt="" coords="5,5,165,47"/>
<area shape="rect" id="node2" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/numeric/random/rand.html#" title=" " alt="" coords="213,13,287,39"/>
</map>

View File

@@ -1 +0,0 @@
83b5bd70fa45f33df8b3c516402635dc

View File

@@ -1,4 +0,0 @@
<map id="data_structure::SkipList::displayList" name="data_structure::SkipList::displayList">
<area shape="rect" id="node1" title=" " alt="" coords="5,5,165,47"/>
<area shape="rect" id="node2" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/io/manip/endl.html#" title=" " alt="" coords="213,13,285,39"/>
</map>

View File

@@ -1 +0,0 @@
a0ccb603cd0c7a1086a1bc8eccb44115

View File

@@ -1,6 +0,0 @@
<map id="data_structure::SkipList::insertElement" name="data_structure::SkipList::insertElement">
<area shape="rect" id="node1" title=" " alt="" coords="5,27,165,69"/>
<area shape="rect" id="node2" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/io/manip/endl.html#" title=" " alt="" coords="257,5,329,32"/>
<area shape="rect" id="node3" href="$d1/d46/classdata__structure_1_1_skip_list.html#a10800369c9efa08dd86de0ce552c874e" title=" " alt="" coords="213,57,373,98"/>
<area shape="rect" id="node4" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/numeric/random/rand.html#" title=" " alt="" coords="421,64,495,91"/>
</map>

View File

@@ -1 +0,0 @@
1819086166412bb9a546b7afa1812f6e

View File

@@ -1,69 +0,0 @@
<?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 2.44.1 (20200629.0846)
-->
<!-- Title: data_structure::SkipList::insertElement Pages: 1 -->
<svg width="375pt" height="78pt"
viewBox="0.00 0.00 375.00 77.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 73.5)">
<title>data_structure::SkipList::insertElement</title>
<polygon fill="white" stroke="transparent" points="-4,4 -4,-73.5 371,-73.5 371,4 -4,4"/>
<!-- Node1 -->
<g id="node1" class="node">
<title>Node1</title>
<g id="a_node1"><a xlink:title=" ">
<polygon fill="#bfbfbf" stroke="black" points="0,-22.5 0,-52.5 120,-52.5 120,-22.5 0,-22.5"/>
<text text-anchor="start" x="8" y="-40.5" font-family="Helvetica,sans-Serif" font-size="10.00">data_structure::SkipList</text>
<text text-anchor="middle" x="60" y="-29.5" font-family="Helvetica,sans-Serif" font-size="10.00">::insertElement</text>
</a>
</g>
</g>
<!-- Node2 -->
<g id="node2" class="node">
<title>Node2</title>
<g id="a_node2"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/io/manip/endl.html#" target="_top" xlink:title=" ">
<polygon fill="white" stroke="black" points="189,-50 189,-69 243,-69 243,-50 189,-50"/>
<text text-anchor="middle" x="216" y="-57" font-family="Helvetica,sans-Serif" font-size="10.00">std::endl</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node2 -->
<g id="edge1" class="edge">
<title>Node1&#45;&gt;Node2</title>
<path fill="none" stroke="midnightblue" d="M120.1,-45.94C139.77,-48.75 161.09,-51.8 178.52,-54.29"/>
<polygon fill="midnightblue" stroke="midnightblue" points="178.44,-57.81 188.83,-55.76 179.43,-50.88 178.44,-57.81"/>
</g>
<!-- Node3 -->
<g id="node3" class="node">
<title>Node3</title>
<g id="a_node3"><a xlink:href="../../d1/d46/classdata__structure_1_1_skip_list.html#a10800369c9efa08dd86de0ce552c874e" target="_top" xlink:title=" ">
<polygon fill="white" stroke="black" points="156,-0.5 156,-30.5 276,-30.5 276,-0.5 156,-0.5"/>
<text text-anchor="start" x="164" y="-18.5" font-family="Helvetica,sans-Serif" font-size="10.00">data_structure::SkipList</text>
<text text-anchor="middle" x="216" y="-7.5" font-family="Helvetica,sans-Serif" font-size="10.00">::randomLevel</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node3 -->
<g id="edge2" class="edge">
<title>Node1&#45;&gt;Node3</title>
<path fill="none" stroke="midnightblue" d="M120.1,-29.06C128.51,-27.86 137.23,-26.61 145.81,-25.38"/>
<polygon fill="midnightblue" stroke="midnightblue" points="146.4,-28.84 155.8,-23.96 145.41,-21.91 146.4,-28.84"/>
</g>
<!-- Node4 -->
<g id="node4" class="node">
<title>Node4</title>
<g id="a_node4"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/numeric/random/rand.html#" target="_top" xlink:title=" ">
<polygon fill="white" stroke="black" points="312,-6 312,-25 367,-25 367,-6 312,-6"/>
<text text-anchor="middle" x="339.5" y="-13" font-family="Helvetica,sans-Serif" font-size="10.00">std::rand</text>
</a>
</g>
</g>
<!-- Node3&#45;&gt;Node4 -->
<g id="edge3" class="edge">
<title>Node3&#45;&gt;Node4</title>
<path fill="none" stroke="midnightblue" d="M276.33,-15.5C284.95,-15.5 293.62,-15.5 301.63,-15.5"/>
<polygon fill="midnightblue" stroke="midnightblue" points="301.72,-19 311.72,-15.5 301.72,-12 301.72,-19"/>
</g>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 3.4 KiB

View File

@@ -1,4 +0,0 @@
<map id="data_structure::SkipList::deleteElement" name="data_structure::SkipList::deleteElement">
<area shape="rect" id="node1" title=" " alt="" coords="5,5,165,47"/>
<area shape="rect" id="node2" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/io/manip/endl.html#" title=" " alt="" coords="213,13,285,39"/>
</map>

View File

@@ -1 +0,0 @@
69be29eb2682e10fc2266112f583cad4

View File

@@ -1,4 +0,0 @@
<map id="data_structure::SkipList::searchElement" name="data_structure::SkipList::searchElement">
<area shape="rect" id="node1" title=" " alt="" coords="5,5,165,47"/>
<area shape="rect" id="node2" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/io/manip/endl.html#" title=" " alt="" coords="213,13,285,39"/>
</map>

View File

@@ -1 +0,0 @@
c7af159577d8f1dd08481128feef5dc8

View File

@@ -71,7 +71,7 @@ $(function() {
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('d0/d6e/classdata__structure_1_1trie.html','../../'); initResizable(); });
$(document).ready(function(){initNavTree('d0/d3e/classdata__structures_1_1trie.html','../../'); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
@@ -91,21 +91,21 @@ $(document).ready(function(){initNavTree('d0/d6e/classdata__structure_1_1trie.ht
<div class="header">
<div class="headertitle">
<div class="title">data_structure::trie Member List</div> </div>
<div class="title">data_structures::trie Member List</div> </div>
</div><!--header-->
<div class="contents">
<p>This is the complete list of members for <a class="el" href="../../d0/d6e/classdata__structure_1_1trie.html">data_structure::trie</a>, including all inherited members.</p>
<p>This is the complete list of members for <a class="el" href="../../d0/d3e/classdata__structures_1_1trie.html">data_structures::trie</a>, including all inherited members.</p>
<table class="directory">
<tr class="even"><td class="entry"><a class="el" href="../../d0/d6e/classdata__structure_1_1trie.html#aa5b8dc9452c3f7a805a4cb17034d6549">arr</a></td><td class="entry"><a class="el" href="../../d0/d6e/classdata__structure_1_1trie.html">data_structure::trie</a></td><td class="entry"><span class="mlabel">private</span></td></tr>
<tr><td class="entry"><a class="el" href="../../d0/d6e/classdata__structure_1_1trie.html#aeb479dcc88415154fb61c2fbb589d6d0">char_to_int</a>(const char &amp;ch) const</td><td class="entry"><a class="el" href="../../d0/d6e/classdata__structure_1_1trie.html">data_structure::trie</a></td><td class="entry"><span class="mlabel">inline</span><span class="mlabel">private</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="../../d0/d6e/classdata__structure_1_1trie.html#a98a0d54a781a680903eac14085fcbc2e">deleteString</a>(const std::string &amp;str, int index)</td><td class="entry"><a class="el" href="../../d0/d6e/classdata__structure_1_1trie.html">data_structure::trie</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr><td class="entry"><a class="el" href="../../d0/d6e/classdata__structure_1_1trie.html#a8b9a51c90291a3402904c8cd16bbe30d">insert</a>(const std::string &amp;str)</td><td class="entry"><a class="el" href="../../d0/d6e/classdata__structure_1_1trie.html">data_structure::trie</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="../../d0/d6e/classdata__structure_1_1trie.html#a0bc4f25351be960f3570e562cfb4a070">isEndofWord</a></td><td class="entry"><a class="el" href="../../d0/d6e/classdata__structure_1_1trie.html">data_structure::trie</a></td><td class="entry"><span class="mlabel">private</span></td></tr>
<tr><td class="entry"><a class="el" href="../../d0/d6e/classdata__structure_1_1trie.html#a3c243c5c7221799ea5edae04c9c45129">NUM_CHARS</a></td><td class="entry"><a class="el" href="../../d0/d6e/classdata__structure_1_1trie.html">data_structure::trie</a></td><td class="entry"><span class="mlabel">private</span><span class="mlabel">static</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="../../d0/d6e/classdata__structure_1_1trie.html#ae9c45cbd4b52db9a39d27e12ca912abc">search</a>(const std::shared_ptr&lt; trie &gt; &amp;root, const std::string &amp;str, int index)</td><td class="entry"><a class="el" href="../../d0/d6e/classdata__structure_1_1trie.html">data_structure::trie</a></td><td class="entry"><span class="mlabel">inline</span><span class="mlabel">private</span></td></tr>
<tr><td class="entry"><a class="el" href="../../d0/d6e/classdata__structure_1_1trie.html#adff53199439d06776ebbaf917741774f">search</a>(const std::string &amp;str, int index)</td><td class="entry"><a class="el" href="../../d0/d6e/classdata__structure_1_1trie.html">data_structure::trie</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="../../d0/d6e/classdata__structure_1_1trie.html#a36a41761149fd541850834aef29f9b7f">trie</a>()=default</td><td class="entry"><a class="el" href="../../d0/d6e/classdata__structure_1_1trie.html">data_structure::trie</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="../../d0/d3e/classdata__structures_1_1trie.html#a362dd78748a1f01ab019e55fd6098a8b">arr</a></td><td class="entry"><a class="el" href="../../d0/d3e/classdata__structures_1_1trie.html">data_structures::trie</a></td><td class="entry"><span class="mlabel">private</span></td></tr>
<tr><td class="entry"><a class="el" href="../../d0/d3e/classdata__structures_1_1trie.html#aab373beb3f618b90922528c68797d988">char_to_int</a>(const char &amp;ch) const</td><td class="entry"><a class="el" href="../../d0/d3e/classdata__structures_1_1trie.html">data_structures::trie</a></td><td class="entry"><span class="mlabel">inline</span><span class="mlabel">private</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="../../d0/d3e/classdata__structures_1_1trie.html#aeac27cfd397d2dd3f2f519efffafeeab">deleteString</a>(const std::string &amp;str, int index)</td><td class="entry"><a class="el" href="../../d0/d3e/classdata__structures_1_1trie.html">data_structures::trie</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr><td class="entry"><a class="el" href="../../d0/d3e/classdata__structures_1_1trie.html#a0ab94bc6417e3f59fab33cea5b64d546">insert</a>(const std::string &amp;str)</td><td class="entry"><a class="el" href="../../d0/d3e/classdata__structures_1_1trie.html">data_structures::trie</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="../../d0/d3e/classdata__structures_1_1trie.html#a4cb0f775b5a4bc14a6d39b5c93883eb6">isEndofWord</a></td><td class="entry"><a class="el" href="../../d0/d3e/classdata__structures_1_1trie.html">data_structures::trie</a></td><td class="entry"><span class="mlabel">private</span></td></tr>
<tr><td class="entry"><a class="el" href="../../d0/d3e/classdata__structures_1_1trie.html#a4bfac4be6ed1a34c7159eddb42469191">NUM_CHARS</a></td><td class="entry"><a class="el" href="../../d0/d3e/classdata__structures_1_1trie.html">data_structures::trie</a></td><td class="entry"><span class="mlabel">private</span><span class="mlabel">static</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="../../d0/d3e/classdata__structures_1_1trie.html#a961eb5d576d2420f2036009154397c63">search</a>(const std::shared_ptr&lt; trie &gt; &amp;root, const std::string &amp;str, int index)</td><td class="entry"><a class="el" href="../../d0/d3e/classdata__structures_1_1trie.html">data_structures::trie</a></td><td class="entry"><span class="mlabel">inline</span><span class="mlabel">private</span></td></tr>
<tr><td class="entry"><a class="el" href="../../d0/d3e/classdata__structures_1_1trie.html#a499f87fd833203ef9492b4870aa6d42d">search</a>(const std::string &amp;str, int index)</td><td class="entry"><a class="el" href="../../d0/d3e/classdata__structures_1_1trie.html">data_structures::trie</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="../../d0/d3e/classdata__structures_1_1trie.html#a87d8bf99aea936f9381141753f1e90a8">trie</a>()=default</td><td class="entry"><a class="el" href="../../d0/d3e/classdata__structures_1_1trie.html">data_structures::trie</a></td><td class="entry"></td></tr>
</table></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->

View File

@@ -1,6 +0,0 @@
var namespacedata__structure =
[
[ "Node", "d3/d6f/structdata__structure_1_1_node.html", "d3/d6f/structdata__structure_1_1_node" ],
[ "SkipList", "d1/d46/classdata__structure_1_1_skip_list.html", "d1/d46/classdata__structure_1_1_skip_list" ],
[ "trie", "d0/d6e/classdata__structure_1_1trie.html", "d0/d6e/classdata__structure_1_1trie" ]
];

View File

@@ -1,5 +1,5 @@
<map id="data_structure::trie" name="data_structure::trie">
<area shape="rect" id="node1" title="Trie implementation for small&#45;case English alphabets a&#45;z" alt="" coords="104,5,235,32"/>
<map id="data_structures::trie" name="data_structures::trie">
<area shape="rect" id="node1" title="Trie implementation for small&#45;case English alphabets a&#45;z" alt="" coords="100,5,239,32"/>
<area shape="rect" id="node3" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/memory/shared_ptr.html" title=" " alt="" coords="5,95,152,136"/>
<area shape="rect" id="node2" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/array.html" title=" " alt="" coords="61,199,219,255"/>
<area shape="rect" id="node2" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/array.html" title=" " alt="" coords="65,199,215,255"/>
</map>

View File

@@ -0,0 +1 @@
b5b59746154af1ad1fc8e5780f67df66

View File

@@ -3,18 +3,18 @@
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<!-- Generated by graphviz version 2.44.1 (20200629.0846)
-->
<!-- Title: data_structure::trie Pages: 1 -->
<svg width="180pt" height="195pt"
viewBox="0.00 0.00 180.00 195.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<!-- Title: data_structures::trie Pages: 1 -->
<svg width="183pt" height="195pt"
viewBox="0.00 0.00 183.00 195.00" 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 191)">
<title>data_structure::trie</title>
<polygon fill="white" stroke="transparent" points="-4,4 -4,-191 176,-191 176,4 -4,4"/>
<title>data_structures::trie</title>
<polygon fill="white" stroke="transparent" points="-4,4 -4,-191 179,-191 179,4 -4,4"/>
<!-- Node1 -->
<g id="node1" class="node">
<title>Node1</title>
<g id="a_node1"><a xlink:title="Trie implementation for small&#45;case English alphabets a&#45;z">
<polygon fill="#bfbfbf" stroke="black" points="74,-167.5 74,-186.5 172,-186.5 172,-167.5 74,-167.5"/>
<text text-anchor="middle" x="123" y="-174.5" font-family="Helvetica,sans-Serif" font-size="10.00">data_structure::trie</text>
<polygon fill="#bfbfbf" stroke="black" points="71,-167.5 71,-186.5 175,-186.5 175,-167.5 71,-167.5"/>
<text text-anchor="middle" x="123" y="-174.5" font-family="Helvetica,sans-Serif" font-size="10.00">data_structures::trie</text>
</a>
</g>
</g>
@@ -24,7 +24,7 @@
<g id="a_node3"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html" target="_top" xlink:title=" ">
<polygon fill="white" stroke="black" points="0,-89.5 0,-119.5 110,-119.5 110,-89.5 0,-89.5"/>
<text text-anchor="start" x="8" y="-107.5" font-family="Helvetica,sans-Serif" font-size="10.00">std::shared_ptr&lt; data</text>
<text text-anchor="middle" x="55" y="-96.5" font-family="Helvetica,sans-Serif" font-size="10.00">_structure::trie &gt;</text>
<text text-anchor="middle" x="55" y="-96.5" font-family="Helvetica,sans-Serif" font-size="10.00">_structures::trie &gt;</text>
</a>
</g>
</g>
@@ -39,10 +39,10 @@
<g id="node2" class="node">
<title>Node2</title>
<g id="a_node2"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/array.html" target="_top" xlink:title=" ">
<polygon fill="white" stroke="black" points="42,-0.5 42,-41.5 160,-41.5 160,-0.5 42,-0.5"/>
<text text-anchor="start" x="50" y="-29.5" font-family="Helvetica,sans-Serif" font-size="10.00">std::shared_ptr&lt; data</text>
<text text-anchor="start" x="50" y="-18.5" font-family="Helvetica,sans-Serif" font-size="10.00">_structure::trie &gt;, NUM</text>
<text text-anchor="middle" x="101" y="-7.5" font-family="Helvetica,sans-Serif" font-size="10.00">_CHARS&lt;&lt; 1 &gt;</text>
<polygon fill="white" stroke="black" points="44.5,-0.5 44.5,-41.5 157.5,-41.5 157.5,-0.5 44.5,-0.5"/>
<text text-anchor="start" x="52.5" y="-29.5" font-family="Helvetica,sans-Serif" font-size="10.00">std::shared_ptr&lt; data</text>
<text text-anchor="start" x="52.5" y="-18.5" font-family="Helvetica,sans-Serif" font-size="10.00">_structures::trie &gt;,</text>
<text text-anchor="middle" x="101" y="-7.5" font-family="Helvetica,sans-Serif" font-size="10.00"> NUM_CHARS&lt;&lt; 1 &gt;</text>
</a>
</g>
</g>

Before

Width:  |  Height:  |  Size: 3.5 KiB

After

Width:  |  Height:  |  Size: 3.6 KiB

View File

@@ -1,7 +0,0 @@
var structdata__structure_1_1_node =
[
[ "Node", "d3/d6f/structdata__structure_1_1_node.html#af7f19e61975f1362b22d1488bee87077", null ],
[ "forward", "d3/d6f/structdata__structure_1_1_node.html#a0e80ff706591f718f763c5a7feaa2394", null ],
[ "key", "d3/d6f/structdata__structure_1_1_node.html#a089ebc844c81777652d4e577be0739c8", null ],
[ "value", "d3/d6f/structdata__structure_1_1_node.html#a24580ec4e79f7bb82e55a9c4d8369a6e", null ]
];

View File

@@ -1,4 +0,0 @@
<map id="data_structure::Node::Node" name="data_structure::Node::Node">
<area shape="rect" id="node1" title=" " alt="" coords="5,5,149,47"/>
<area shape="rect" id="node2" 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="197,13,352,39"/>
</map>

View File

@@ -1 +0,0 @@
972af60cf6a7627e3c8c8de3ee19f0d5

View File

@@ -5,7 +5,7 @@
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.19"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Algorithms_in_C++: data_structure::SkipList Class Reference</title>
<title>Algorithms_in_C++: data_structures::SkipList Class Reference</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
@@ -71,7 +71,7 @@ $(function() {
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('d1/d46/classdata__structure_1_1_skip_list.html','../../'); initResizable(); });
$(document).ready(function(){initNavTree('d4/d90/classdata__structures_1_1_skip_list.html','../../'); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
@@ -93,49 +93,49 @@ $(document).ready(function(){initNavTree('d1/d46/classdata__structure_1_1_skip_l
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pri-attribs">Private Attributes</a> &#124;
<a href="../../d9/db3/classdata__structure_1_1_skip_list-members.html">List of all members</a> </div>
<a href="../../d6/db7/classdata__structures_1_1_skip_list-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">data_structure::SkipList Class Reference</div> </div>
<div class="title">data_structures::SkipList Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<div class="dynheader">
Collaboration diagram for data_structure::SkipList:</div>
Collaboration diagram for data_structures::SkipList:</div>
<div class="dyncontent">
<div class="center"><iframe scrolling="no" frameborder="0" src="../../d9/dda/classdata__structure_1_1_skip_list__coll__graph.svg" width="463" height="246"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe>
<div class="center"><iframe scrolling="no" frameborder="0" src="../../d7/d0b/classdata__structures_1_1_skip_list__coll__graph.svg" width="422" height="260"><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 name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:aed414cf88cfacb9554ecfd184b03fe04"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/d46/classdata__structure_1_1_skip_list.html#aed414cf88cfacb9554ecfd184b03fe04">SkipList</a> ()</td></tr>
<tr class="separator:aed414cf88cfacb9554ecfd184b03fe04"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a10800369c9efa08dd86de0ce552c874e"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/d46/classdata__structure_1_1_skip_list.html#a10800369c9efa08dd86de0ce552c874e">randomLevel</a> ()</td></tr>
<tr class="separator:a10800369c9efa08dd86de0ce552c874e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1c6c04c0fb45ea2e2378de7ab9cb465b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/d46/classdata__structure_1_1_skip_list.html#a1c6c04c0fb45ea2e2378de7ab9cb465b">insertElement</a> (int key, void *value)</td></tr>
<tr class="separator:a1c6c04c0fb45ea2e2378de7ab9cb465b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4b8eb18c9ca24f53e9de91b74febd666"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/d46/classdata__structure_1_1_skip_list.html#a4b8eb18c9ca24f53e9de91b74febd666">deleteElement</a> (int key)</td></tr>
<tr class="separator:a4b8eb18c9ca24f53e9de91b74febd666"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7cda6370f8bd2b6d1db28bd5ca586a21"><td class="memItemLeft" align="right" valign="top">void *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/d46/classdata__structure_1_1_skip_list.html#a7cda6370f8bd2b6d1db28bd5ca586a21">searchElement</a> (int key)</td></tr>
<tr class="separator:a7cda6370f8bd2b6d1db28bd5ca586a21"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1574d62ca0a5a821601d246c07215335"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/d46/classdata__structure_1_1_skip_list.html#a1574d62ca0a5a821601d246c07215335">displayList</a> ()</td></tr>
<tr class="separator:a1574d62ca0a5a821601d246c07215335"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7ffc3688725b9d1ec6e5bb881a6e2ae4"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/d90/classdata__structures_1_1_skip_list.html#a7ffc3688725b9d1ec6e5bb881a6e2ae4">SkipList</a> ()</td></tr>
<tr class="separator:a7ffc3688725b9d1ec6e5bb881a6e2ae4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa3f3813e9896792fc86b296547689ba4"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/d90/classdata__structures_1_1_skip_list.html#aa3f3813e9896792fc86b296547689ba4">randomLevel</a> ()</td></tr>
<tr class="separator:aa3f3813e9896792fc86b296547689ba4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a40a4042bdf0b6683b5f21ae7854de8a9"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/d90/classdata__structures_1_1_skip_list.html#a40a4042bdf0b6683b5f21ae7854de8a9">insertElement</a> (int key, void *value)</td></tr>
<tr class="separator:a40a4042bdf0b6683b5f21ae7854de8a9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a86925c53e139cc6c3f7df1e9003bb0b0"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/d90/classdata__structures_1_1_skip_list.html#a86925c53e139cc6c3f7df1e9003bb0b0">deleteElement</a> (int key)</td></tr>
<tr class="separator:a86925c53e139cc6c3f7df1e9003bb0b0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2249e3ab2f8a0f2334b90635202de4f2"><td class="memItemLeft" align="right" valign="top">void *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/d90/classdata__structures_1_1_skip_list.html#a2249e3ab2f8a0f2334b90635202de4f2">searchElement</a> (int key)</td></tr>
<tr class="separator:a2249e3ab2f8a0f2334b90635202de4f2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a812611f80b8079268dbb19cc4e9bee5c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/d90/classdata__structures_1_1_skip_list.html#a812611f80b8079268dbb19cc4e9bee5c">displayList</a> ()</td></tr>
<tr class="separator:a812611f80b8079268dbb19cc4e9bee5c"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a>
Private Attributes</h2></td></tr>
<tr class="memitem:ae0c022174510fd9ca1b84d8e996cd1a5"><td class="memItemLeft" align="right" valign="top"><a id="ae0c022174510fd9ca1b84d8e996cd1a5"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/d46/classdata__structure_1_1_skip_list.html#ae0c022174510fd9ca1b84d8e996cd1a5">level</a></td></tr>
<tr class="memdesc:ae0c022174510fd9ca1b84d8e996cd1a5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Maximum level of the skiplist. <br /></td></tr>
<tr class="separator:ae0c022174510fd9ca1b84d8e996cd1a5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7aed753e3b47953229f5ac94f0fc9aad"><td class="memItemLeft" align="right" valign="top"><a id="a7aed753e3b47953229f5ac94f0fc9aad"></a>
<a class="elRef" target="_blank" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr</a>&lt; <a class="el" href="../../d3/d6f/structdata__structure_1_1_node.html">Node</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/d46/classdata__structure_1_1_skip_list.html#a7aed753e3b47953229f5ac94f0fc9aad">header</a></td></tr>
<tr class="memdesc:a7aed753e3b47953229f5ac94f0fc9aad"><td class="mdescLeft">&#160;</td><td class="mdescRight">Pointer to the header node. <br /></td></tr>
<tr class="separator:a7aed753e3b47953229f5ac94f0fc9aad"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3e249c2c35a8b7f5ffd2d77fee60d650"><td class="memItemLeft" align="right" valign="top"><a id="a3e249c2c35a8b7f5ffd2d77fee60d650"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/d90/classdata__structures_1_1_skip_list.html#a3e249c2c35a8b7f5ffd2d77fee60d650">level</a></td></tr>
<tr class="memdesc:a3e249c2c35a8b7f5ffd2d77fee60d650"><td class="mdescLeft">&#160;</td><td class="mdescRight">Maximum level of the skiplist. <br /></td></tr>
<tr class="separator:a3e249c2c35a8b7f5ffd2d77fee60d650"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad7e392386d7db622185d6f7c718e4f16"><td class="memItemLeft" align="right" valign="top"><a id="ad7e392386d7db622185d6f7c718e4f16"></a>
<a class="elRef" target="_blank" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr</a>&lt; <a class="el" href="../../d9/d49/structdata__structures_1_1_node.html">Node</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/d90/classdata__structures_1_1_skip_list.html#ad7e392386d7db622185d6f7c718e4f16">header</a></td></tr>
<tr class="memdesc:ad7e392386d7db622185d6f7c718e4f16"><td class="mdescLeft">&#160;</td><td class="mdescRight">Pointer to the header node. <br /></td></tr>
<tr class="separator:ad7e392386d7db622185d6f7c718e4f16"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p><a class="el" href="../../d1/d46/classdata__structure_1_1_skip_list.html">SkipList</a> class implementation with basic methods </p>
<div class="textblock"><p><a class="el" href="../../d4/d90/classdata__structures_1_1_skip_list.html">SkipList</a> class implementation with basic methods </p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="aed414cf88cfacb9554ecfd184b03fe04"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aed414cf88cfacb9554ecfd184b03fe04">&#9670;&nbsp;</a></span>SkipList()</h2>
<a id="a7ffc3688725b9d1ec6e5bb881a6e2ae4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7ffc3688725b9d1ec6e5bb881a6e2ae4">&#9670;&nbsp;</a></span>SkipList()</h2>
<div class="memitem">
<div class="memproto">
@@ -144,7 +144,7 @@ int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../..
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">data_structure::SkipList::SkipList </td>
<td class="memname">data_structures::SkipList::SkipList </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
@@ -156,18 +156,18 @@ int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../..
</tr>
</table>
</div><div class="memdoc">
<p>Skip List constructor. Initializes header, start <a class="el" href="../../d3/d6f/structdata__structure_1_1_node.html">Node</a> for searching in the list </p>
<p>Skip List constructor. Initializes header, start <a class="el" href="../../d9/d49/structdata__structures_1_1_node.html">Node</a> for searching in the list </p>
<div class="fragment"><div class="line"><a name="l00064"></a><span class="lineno"> 64</span>&#160; {</div>
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>&#160; <a class="code" href="../../d1/d46/classdata__structure_1_1_skip_list.html#ae0c022174510fd9ca1b84d8e996cd1a5">level</a> = 0;</div>
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>&#160; <a class="code" href="../../d4/d90/classdata__structures_1_1_skip_list.html#a3e249c2c35a8b7f5ffd2d77fee60d650">level</a> = 0;</div>
<div class="line"><a name="l00066"></a><span class="lineno"> 66</span>&#160; <span class="comment">// Header initialization</span></div>
<div class="line"><a name="l00067"></a><span class="lineno"> 67</span>&#160; <a class="code" href="../../d1/d46/classdata__structure_1_1_skip_list.html#a7aed753e3b47953229f5ac94f0fc9aad">header</a> = <a class="codeRef" target="_blank" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr&lt;Node&gt;</a>(<span class="keyword">new</span> <a class="code" href="../../db/d8b/struct_node.html">Node</a>(-1, <a class="code" href="../../d1/db4/namespacedata__structure.html#a039855c4d1684de1fec104057df9f26d">MAX_LEVEL</a>));</div>
<div class="line"><a name="l00067"></a><span class="lineno"> 67</span>&#160; <a class="code" href="../../d4/d90/classdata__structures_1_1_skip_list.html#ad7e392386d7db622185d6f7c718e4f16">header</a> = <a class="codeRef" target="_blank" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr&lt;Node&gt;</a>(<span class="keyword">new</span> <a class="code" href="../../db/d8b/struct_node.html">Node</a>(-1, <a class="code" href="../../d5/d3c/namespacedata__structures.html#ac0d7e0be24da9f41bcb19745873c436a">MAX_LEVEL</a>));</div>
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span>&#160; }</div>
</div><!-- fragment -->
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a4b8eb18c9ca24f53e9de91b74febd666"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4b8eb18c9ca24f53e9de91b74febd666">&#9670;&nbsp;</a></span>deleteElement()</h2>
<a id="a86925c53e139cc6c3f7df1e9003bb0b0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a86925c53e139cc6c3f7df1e9003bb0b0">&#9670;&nbsp;</a></span>deleteElement()</h2>
<div class="memitem">
<div class="memproto">
@@ -176,7 +176,7 @@ int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../..
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void data_structure::SkipList::deleteElement </td>
<td class="memname">void data_structures::SkipList::deleteElement </td>
<td>(</td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>key</em></td><td>)</td>
@@ -196,12 +196,12 @@ int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../..
</dd>
</dl>
<div class="fragment"><div class="line"><a name="l00131"></a><span class="lineno"> 131</span>&#160; {</div>
<div class="line"><a name="l00132"></a><span class="lineno"> 132</span>&#160; <a class="codeRef" target="_blank" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr&lt;Node&gt;</a> x = <a class="code" href="../../d1/d46/classdata__structure_1_1_skip_list.html#a7aed753e3b47953229f5ac94f0fc9aad">header</a>;</div>
<div class="line"><a name="l00132"></a><span class="lineno"> 132</span>&#160; <a class="codeRef" target="_blank" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr&lt;Node&gt;</a> x = <a class="code" href="../../d4/d90/classdata__structures_1_1_skip_list.html#ad7e392386d7db622185d6f7c718e4f16">header</a>;</div>
<div class="line"><a name="l00133"></a><span class="lineno"> 133</span>&#160; </div>
<div class="line"><a name="l00134"></a><span class="lineno"> 134</span>&#160; <a class="codeRef" target="_blank" href="http://en.cppreference.com/w/cpp/container/array.html">std::array&lt;std::shared_ptr&lt;Node&gt;</a>, <a class="code" href="../../d1/db4/namespacedata__structure.html#a039855c4d1684de1fec104057df9f26d">MAX_LEVEL</a> + 1&gt; update;</div>
<div class="line"><a name="l00134"></a><span class="lineno"> 134</span>&#160; <a class="codeRef" target="_blank" href="http://en.cppreference.com/w/cpp/container/array.html">std::array&lt;std::shared_ptr&lt;Node&gt;</a>, <a class="code" href="../../d5/d3c/namespacedata__structures.html#ac0d7e0be24da9f41bcb19745873c436a">MAX_LEVEL</a> + 1&gt; update;</div>
<div class="line"><a name="l00135"></a><span class="lineno"> 135</span>&#160; update.fill(<span class="keyword">nullptr</span>);</div>
<div class="line"><a name="l00136"></a><span class="lineno"> 136</span>&#160; </div>
<div class="line"><a name="l00137"></a><span class="lineno"> 137</span>&#160; <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = <a class="code" href="../../d1/d46/classdata__structure_1_1_skip_list.html#ae0c022174510fd9ca1b84d8e996cd1a5">level</a>; i &gt;= 0; i--) {</div>
<div class="line"><a name="l00137"></a><span class="lineno"> 137</span>&#160; <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = <a class="code" href="../../d4/d90/classdata__structures_1_1_skip_list.html#a3e249c2c35a8b7f5ffd2d77fee60d650">level</a>; i &gt;= 0; i--) {</div>
<div class="line"><a name="l00138"></a><span class="lineno"> 138</span>&#160; <span class="keywordflow">while</span> (x-&gt;forward[i] != <span class="keyword">nullptr</span> &amp;&amp; x-&gt;forward[i]-&gt;key &lt; key)</div>
<div class="line"><a name="l00139"></a><span class="lineno"> 139</span>&#160; x = x-&gt;forward[i];</div>
<div class="line"><a name="l00140"></a><span class="lineno"> 140</span>&#160; update[i] = x;</div>
@@ -212,13 +212,13 @@ int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../..
<div class="line"><a name="l00145"></a><span class="lineno"> 145</span>&#160; <span class="keywordtype">bool</span> doesnt_exist = (x == <span class="keyword">nullptr</span> || x-&gt;key != key);</div>
<div class="line"><a name="l00146"></a><span class="lineno"> 146</span>&#160; </div>
<div class="line"><a name="l00147"></a><span class="lineno"> 147</span>&#160; <span class="keywordflow">if</span> (!doesnt_exist) {</div>
<div class="line"><a name="l00148"></a><span class="lineno"> 148</span>&#160; <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i &lt;= <a class="code" href="../../d1/d46/classdata__structure_1_1_skip_list.html#ae0c022174510fd9ca1b84d8e996cd1a5">level</a>; i++) {</div>
<div class="line"><a name="l00148"></a><span class="lineno"> 148</span>&#160; <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i &lt;= <a class="code" href="../../d4/d90/classdata__structures_1_1_skip_list.html#a3e249c2c35a8b7f5ffd2d77fee60d650">level</a>; i++) {</div>
<div class="line"><a name="l00149"></a><span class="lineno"> 149</span>&#160; <span class="keywordflow">if</span> (update[i]-&gt;forward[i] != x)</div>
<div class="line"><a name="l00150"></a><span class="lineno"> 150</span>&#160; <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00151"></a><span class="lineno"> 151</span>&#160; update[i]-&gt;forward[i] = x-&gt;forward[i];</div>
<div class="line"><a name="l00152"></a><span class="lineno"> 152</span>&#160; }</div>
<div class="line"><a name="l00153"></a><span class="lineno"> 153</span>&#160; <span class="comment">/* Remove empty levels*/</span></div>
<div class="line"><a name="l00154"></a><span class="lineno"> 154</span>&#160; <span class="keywordflow">while</span> (<a class="code" href="../../d1/d46/classdata__structure_1_1_skip_list.html#ae0c022174510fd9ca1b84d8e996cd1a5">level</a> &gt; 0 &amp;&amp; <a class="code" href="../../d1/d46/classdata__structure_1_1_skip_list.html#a7aed753e3b47953229f5ac94f0fc9aad">header</a>-&gt;forward[<a class="code" href="../../d1/d46/classdata__structure_1_1_skip_list.html#ae0c022174510fd9ca1b84d8e996cd1a5">level</a>] == <span class="keyword">nullptr</span>) <a class="code" href="../../d1/d46/classdata__structure_1_1_skip_list.html#ae0c022174510fd9ca1b84d8e996cd1a5">level</a>--;</div>
<div class="line"><a name="l00154"></a><span class="lineno"> 154</span>&#160; <span class="keywordflow">while</span> (<a class="code" href="../../d4/d90/classdata__structures_1_1_skip_list.html#a3e249c2c35a8b7f5ffd2d77fee60d650">level</a> &gt; 0 &amp;&amp; <a class="code" href="../../d4/d90/classdata__structures_1_1_skip_list.html#ad7e392386d7db622185d6f7c718e4f16">header</a>-&gt;forward[<a class="code" href="../../d4/d90/classdata__structures_1_1_skip_list.html#a3e249c2c35a8b7f5ffd2d77fee60d650">level</a>] == <span class="keyword">nullptr</span>) <a class="code" href="../../d4/d90/classdata__structures_1_1_skip_list.html#a3e249c2c35a8b7f5ffd2d77fee60d650">level</a>--;</div>
<div class="line"><a name="l00155"></a><span class="lineno"> 155</span>&#160; <a class="codeRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> &lt;&lt; <span class="stringliteral">&quot;Deleted&quot;</span> &lt;&lt; <a class="codeRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/manip/endl.html">std::endl</a>;</div>
<div class="line"><a name="l00156"></a><span class="lineno"> 156</span>&#160; } <span class="keywordflow">else</span> {</div>
<div class="line"><a name="l00157"></a><span class="lineno"> 157</span>&#160; <a class="codeRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> &lt;&lt; <span class="stringliteral">&quot;Doesn&#39;t exist&quot;</span> &lt;&lt; <a class="codeRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/manip/endl.html">std::endl</a>;</div>
@@ -227,14 +227,14 @@ int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../..
</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="../../d1/d46/classdata__structure_1_1_skip_list_a4b8eb18c9ca24f53e9de91b74febd666_cgraph.svg" width="291" height="52"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe>
<div class="center"><iframe scrolling="no" frameborder="0" src="../../d4/d90/classdata__structures_1_1_skip_list_a86925c53e139cc6c3f7df1e9003bb0b0_cgraph.svg" width="298" height="52"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe>
</div>
</div>
</div>
</div>
<a id="a1574d62ca0a5a821601d246c07215335"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1574d62ca0a5a821601d246c07215335">&#9670;&nbsp;</a></span>displayList()</h2>
<a id="a812611f80b8079268dbb19cc4e9bee5c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a812611f80b8079268dbb19cc4e9bee5c">&#9670;&nbsp;</a></span>displayList()</h2>
<div class="memitem">
<div class="memproto">
@@ -243,7 +243,7 @@ Here is the call graph for this function:</div>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void data_structure::SkipList::displayList </td>
<td class="memname">void data_structures::SkipList::displayList </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
@@ -258,8 +258,8 @@ Here is the call graph for this function:</div>
<p>Display skip list level </p>
<div class="fragment"><div class="line"><a name="l00187"></a><span class="lineno"> 187</span>&#160; {</div>
<div class="line"><a name="l00188"></a><span class="lineno"> 188</span>&#160; <a class="codeRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> &lt;&lt; <span class="stringliteral">&quot;Displaying list:\n&quot;</span>;</div>
<div class="line"><a name="l00189"></a><span class="lineno"> 189</span>&#160; <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i &lt;= <a class="code" href="../../d1/d46/classdata__structure_1_1_skip_list.html#ae0c022174510fd9ca1b84d8e996cd1a5">level</a>; i++) {</div>
<div class="line"><a name="l00190"></a><span class="lineno"> 190</span>&#160; <a class="codeRef" target="_blank" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr&lt;Node&gt;</a> <a class="code" href="../../d5/da1/structnode.html">node</a> = <a class="code" href="../../d1/d46/classdata__structure_1_1_skip_list.html#a7aed753e3b47953229f5ac94f0fc9aad">header</a>-&gt;forward[i];</div>
<div class="line"><a name="l00189"></a><span class="lineno"> 189</span>&#160; <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i &lt;= <a class="code" href="../../d4/d90/classdata__structures_1_1_skip_list.html#a3e249c2c35a8b7f5ffd2d77fee60d650">level</a>; i++) {</div>
<div class="line"><a name="l00190"></a><span class="lineno"> 190</span>&#160; <a class="codeRef" target="_blank" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr&lt;Node&gt;</a> <a class="code" href="../../d5/da1/structnode.html">node</a> = <a class="code" href="../../d4/d90/classdata__structures_1_1_skip_list.html#ad7e392386d7db622185d6f7c718e4f16">header</a>-&gt;forward[i];</div>
<div class="line"><a name="l00191"></a><span class="lineno"> 191</span>&#160; <a class="codeRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> &lt;&lt; <span class="stringliteral">&quot;Level &quot;</span> &lt;&lt; (i) &lt;&lt; <span class="stringliteral">&quot;: &quot;</span>;</div>
<div class="line"><a name="l00192"></a><span class="lineno"> 192</span>&#160; <span class="keywordflow">while</span> (<a class="code" href="../../d5/da1/structnode.html">node</a> != <span class="keyword">nullptr</span>) {</div>
<div class="line"><a name="l00193"></a><span class="lineno"> 193</span>&#160; <a class="codeRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> &lt;&lt; <a class="code" href="../../d5/da1/structnode.html">node</a>-&gt;key &lt;&lt; <span class="stringliteral">&quot; &quot;</span>;</div>
@@ -271,14 +271,14 @@ Here is the call graph for this function:</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="../../d1/d46/classdata__structure_1_1_skip_list_a1574d62ca0a5a821601d246c07215335_cgraph.svg" width="291" height="52"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe>
<div class="center"><iframe scrolling="no" frameborder="0" src="../../d4/d90/classdata__structures_1_1_skip_list_a812611f80b8079268dbb19cc4e9bee5c_cgraph.svg" width="298" height="52"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe>
</div>
</div>
</div>
</div>
<a id="a1c6c04c0fb45ea2e2378de7ab9cb465b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1c6c04c0fb45ea2e2378de7ab9cb465b">&#9670;&nbsp;</a></span>insertElement()</h2>
<a id="a40a4042bdf0b6683b5f21ae7854de8a9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a40a4042bdf0b6683b5f21ae7854de8a9">&#9670;&nbsp;</a></span>insertElement()</h2>
<div class="memitem">
<div class="memproto">
@@ -287,7 +287,7 @@ Here is the call graph for this function:</div>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void data_structure::SkipList::insertElement </td>
<td class="memname">void data_structures::SkipList::insertElement </td>
<td>(</td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>key</em>, </td>
@@ -310,7 +310,7 @@ Here is the call graph for this function:</div>
</tr>
</table>
</div><div class="memdoc">
<p>Inserts elements with given key and value; It's level is computed by <a class="el" href="../../d1/d46/classdata__structure_1_1_skip_list.html#a10800369c9efa08dd86de0ce552c874e">randomLevel()</a> function. </p><dl class="params"><dt>Parameters</dt><dd>
<p>Inserts elements with given key and value; It's level is computed by <a class="el" href="../../d4/d90/classdata__structures_1_1_skip_list.html#aa3f3813e9896792fc86b296547689ba4">randomLevel()</a> function. </p><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">key</td><td>is number that is used for comparision </td></tr>
<tr><td class="paramname">value</td><td>pointer to a value, that can be any type </td></tr>
@@ -319,11 +319,11 @@ Here is the call graph for this function:</div>
</dl>
<div class="fragment"><div class="line"><a name="l00089"></a><span class="lineno"> 89</span>&#160; {</div>
<div class="line"><a name="l00090"></a><span class="lineno"> 90</span>&#160; <a class="codeRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> &lt;&lt; <span class="stringliteral">&quot;Inserting&quot;</span> &lt;&lt; key &lt;&lt; <span class="stringliteral">&quot;...&quot;</span>;</div>
<div class="line"><a name="l00091"></a><span class="lineno"> 91</span>&#160; <a class="codeRef" target="_blank" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr&lt;Node&gt;</a> x = <a class="code" href="../../d1/d46/classdata__structure_1_1_skip_list.html#a7aed753e3b47953229f5ac94f0fc9aad">header</a>;</div>
<div class="line"><a name="l00092"></a><span class="lineno"> 92</span>&#160; <a class="codeRef" target="_blank" href="http://en.cppreference.com/w/cpp/container/array.html">std::array&lt;std::shared_ptr&lt;Node&gt;</a>, <a class="code" href="../../d1/db4/namespacedata__structure.html#a039855c4d1684de1fec104057df9f26d">MAX_LEVEL</a> + 1&gt; update;</div>
<div class="line"><a name="l00091"></a><span class="lineno"> 91</span>&#160; <a class="codeRef" target="_blank" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr&lt;Node&gt;</a> x = <a class="code" href="../../d4/d90/classdata__structures_1_1_skip_list.html#ad7e392386d7db622185d6f7c718e4f16">header</a>;</div>
<div class="line"><a name="l00092"></a><span class="lineno"> 92</span>&#160; <a class="codeRef" target="_blank" href="http://en.cppreference.com/w/cpp/container/array.html">std::array&lt;std::shared_ptr&lt;Node&gt;</a>, <a class="code" href="../../d5/d3c/namespacedata__structures.html#ac0d7e0be24da9f41bcb19745873c436a">MAX_LEVEL</a> + 1&gt; update;</div>
<div class="line"><a name="l00093"></a><span class="lineno"> 93</span>&#160; update.fill(<span class="keyword">nullptr</span>);</div>
<div class="line"><a name="l00094"></a><span class="lineno"> 94</span>&#160; </div>
<div class="line"><a name="l00095"></a><span class="lineno"> 95</span>&#160; <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = <a class="code" href="../../d1/d46/classdata__structure_1_1_skip_list.html#ae0c022174510fd9ca1b84d8e996cd1a5">level</a>; i &gt;= 0; i--) {</div>
<div class="line"><a name="l00095"></a><span class="lineno"> 95</span>&#160; <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = <a class="code" href="../../d4/d90/classdata__structures_1_1_skip_list.html#a3e249c2c35a8b7f5ffd2d77fee60d650">level</a>; i &gt;= 0; i--) {</div>
<div class="line"><a name="l00096"></a><span class="lineno"> 96</span>&#160; <span class="keywordflow">while</span> (x-&gt;forward[i] != <span class="keyword">nullptr</span> &amp;&amp; x-&gt;forward[i]-&gt;key &lt; key)</div>
<div class="line"><a name="l00097"></a><span class="lineno"> 97</span>&#160; x = x-&gt;forward[i];</div>
<div class="line"><a name="l00098"></a><span class="lineno"> 98</span>&#160; update[i] = x;</div>
@@ -333,13 +333,13 @@ Here is the call graph for this function:</div>
<div class="line"><a name="l00102"></a><span class="lineno"> 102</span>&#160; </div>
<div class="line"><a name="l00103"></a><span class="lineno"> 103</span>&#160; <span class="keywordtype">bool</span> doesnt_exist = (x == <span class="keyword">nullptr</span> || x-&gt;key != key);</div>
<div class="line"><a name="l00104"></a><span class="lineno"> 104</span>&#160; <span class="keywordflow">if</span> (doesnt_exist) {</div>
<div class="line"><a name="l00105"></a><span class="lineno"> 105</span>&#160; <span class="keywordtype">int</span> rlevel = <a class="code" href="../../d1/d46/classdata__structure_1_1_skip_list.html#a10800369c9efa08dd86de0ce552c874e">randomLevel</a>();</div>
<div class="line"><a name="l00105"></a><span class="lineno"> 105</span>&#160; <span class="keywordtype">int</span> rlevel = <a class="code" href="../../d4/d90/classdata__structures_1_1_skip_list.html#aa3f3813e9896792fc86b296547689ba4">randomLevel</a>();</div>
<div class="line"><a name="l00106"></a><span class="lineno"> 106</span>&#160; </div>
<div class="line"><a name="l00107"></a><span class="lineno"> 107</span>&#160; <span class="keywordflow">if</span> (rlevel &gt; <a class="code" href="../../d1/d46/classdata__structure_1_1_skip_list.html#ae0c022174510fd9ca1b84d8e996cd1a5">level</a>) {</div>
<div class="line"><a name="l00108"></a><span class="lineno"> 108</span>&#160; <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = <a class="code" href="../../d1/d46/classdata__structure_1_1_skip_list.html#ae0c022174510fd9ca1b84d8e996cd1a5">level</a> + 1; i &lt; rlevel + 1; i++) update[i] = <a class="code" href="../../d1/d46/classdata__structure_1_1_skip_list.html#a7aed753e3b47953229f5ac94f0fc9aad">header</a>;</div>
<div class="line"><a name="l00107"></a><span class="lineno"> 107</span>&#160; <span class="keywordflow">if</span> (rlevel &gt; <a class="code" href="../../d4/d90/classdata__structures_1_1_skip_list.html#a3e249c2c35a8b7f5ffd2d77fee60d650">level</a>) {</div>
<div class="line"><a name="l00108"></a><span class="lineno"> 108</span>&#160; <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = <a class="code" href="../../d4/d90/classdata__structures_1_1_skip_list.html#a3e249c2c35a8b7f5ffd2d77fee60d650">level</a> + 1; i &lt; rlevel + 1; i++) update[i] = <a class="code" href="../../d4/d90/classdata__structures_1_1_skip_list.html#ad7e392386d7db622185d6f7c718e4f16">header</a>;</div>
<div class="line"><a name="l00109"></a><span class="lineno"> 109</span>&#160; </div>
<div class="line"><a name="l00110"></a><span class="lineno"> 110</span>&#160; <span class="comment">// Update current level</span></div>
<div class="line"><a name="l00111"></a><span class="lineno"> 111</span>&#160; <a class="code" href="../../d1/d46/classdata__structure_1_1_skip_list.html#ae0c022174510fd9ca1b84d8e996cd1a5">level</a> = rlevel;</div>
<div class="line"><a name="l00111"></a><span class="lineno"> 111</span>&#160; <a class="code" href="../../d4/d90/classdata__structures_1_1_skip_list.html#a3e249c2c35a8b7f5ffd2d77fee60d650">level</a> = rlevel;</div>
<div class="line"><a name="l00112"></a><span class="lineno"> 112</span>&#160; }</div>
<div class="line"><a name="l00113"></a><span class="lineno"> 113</span>&#160; </div>
<div class="line"><a name="l00114"></a><span class="lineno"> 114</span>&#160; <a class="codeRef" target="_blank" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr&lt;Node&gt;</a> n =</div>
@@ -357,14 +357,14 @@ Here is the call graph for this function:</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="../../d1/d46/classdata__structure_1_1_skip_list_a1c6c04c0fb45ea2e2378de7ab9cb465b_cgraph.svg" width="500" height="104"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe>
<div class="center"><iframe scrolling="no" frameborder="0" src="../../d4/d90/classdata__structures_1_1_skip_list_a40a4042bdf0b6683b5f21ae7854de8a9_cgraph.svg" width="514" height="104"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe>
</div>
</div>
</div>
</div>
<a id="a10800369c9efa08dd86de0ce552c874e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a10800369c9efa08dd86de0ce552c874e">&#9670;&nbsp;</a></span>randomLevel()</h2>
<a id="aa3f3813e9896792fc86b296547689ba4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa3f3813e9896792fc86b296547689ba4">&#9670;&nbsp;</a></span>randomLevel()</h2>
<div class="memitem">
<div class="memproto">
@@ -373,7 +373,7 @@ Here is the call graph for this function:</div>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">int data_structure::SkipList::randomLevel </td>
<td class="memname">int data_structures::SkipList::randomLevel </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
@@ -388,22 +388,22 @@ Here is the call graph for this function:</div>
<p>Returns random level of the skip list. Every higher level is 2 times less likely. </p><dl class="section return"><dt>Returns</dt><dd>random level for skip list </dd></dl>
<div class="fragment"><div class="line"><a name="l00075"></a><span class="lineno"> 75</span>&#160; {</div>
<div class="line"><a name="l00076"></a><span class="lineno"> 76</span>&#160; <span class="keywordtype">int</span> lvl = 0;</div>
<div class="line"><a name="l00077"></a><span class="lineno"> 77</span>&#160; <span class="keywordflow">while</span> (<span class="keyword">static_cast&lt;</span><span class="keywordtype">float</span><span class="keyword">&gt;</span>(<a class="codeRef" target="_blank" href="http://en.cppreference.com/w/cpp/numeric/random/rand.html">std::rand</a>()) / RAND_MAX &lt; <a class="code" href="../../d1/db4/namespacedata__structure.html#a38234f668624bca86341240f34a95193">PROBABILITY</a> &amp;&amp;</div>
<div class="line"><a name="l00078"></a><span class="lineno"> 78</span>&#160; lvl &lt; <a class="code" href="../../d1/db4/namespacedata__structure.html#a039855c4d1684de1fec104057df9f26d">MAX_LEVEL</a>)</div>
<div class="line"><a name="l00077"></a><span class="lineno"> 77</span>&#160; <span class="keywordflow">while</span> (<span class="keyword">static_cast&lt;</span><span class="keywordtype">float</span><span class="keyword">&gt;</span>(<a class="codeRef" target="_blank" href="http://en.cppreference.com/w/cpp/numeric/random/rand.html">std::rand</a>()) / RAND_MAX &lt; <a class="code" href="../../d5/d3c/namespacedata__structures.html#a903639d8e6f955dd8d5c263781455d61">PROBABILITY</a> &amp;&amp;</div>
<div class="line"><a name="l00078"></a><span class="lineno"> 78</span>&#160; lvl &lt; <a class="code" href="../../d5/d3c/namespacedata__structures.html#ac0d7e0be24da9f41bcb19745873c436a">MAX_LEVEL</a>)</div>
<div class="line"><a name="l00079"></a><span class="lineno"> 79</span>&#160; lvl++;</div>
<div class="line"><a name="l00080"></a><span class="lineno"> 80</span>&#160; <span class="keywordflow">return</span> lvl;</div>
<div class="line"><a name="l00081"></a><span class="lineno"> 81</span>&#160; }</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="../../d1/d46/classdata__structure_1_1_skip_list_a10800369c9efa08dd86de0ce552c874e_cgraph.svg" width="292" height="52"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe>
<div class="center"><iframe scrolling="no" frameborder="0" src="../../d4/d90/classdata__structures_1_1_skip_list_aa3f3813e9896792fc86b296547689ba4_cgraph.svg" width="299" height="52"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe>
</div>
</div>
</div>
</div>
<a id="a7cda6370f8bd2b6d1db28bd5ca586a21"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7cda6370f8bd2b6d1db28bd5ca586a21">&#9670;&nbsp;</a></span>searchElement()</h2>
<a id="a2249e3ab2f8a0f2334b90635202de4f2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2249e3ab2f8a0f2334b90635202de4f2">&#9670;&nbsp;</a></span>searchElement()</h2>
<div class="memitem">
<div class="memproto">
@@ -412,7 +412,7 @@ Here is the call graph for this function:</div>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void* data_structure::SkipList::searchElement </td>
<td class="memname">void* data_structures::SkipList::searchElement </td>
<td>(</td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>key</em></td><td>)</td>
@@ -433,10 +433,10 @@ Here is the call graph for this function:</div>
</dl>
<dl class="section return"><dt>Returns</dt><dd>pointer to the value of the node </dd></dl>
<div class="fragment"><div class="line"><a name="l00166"></a><span class="lineno"> 166</span>&#160; {</div>
<div class="line"><a name="l00167"></a><span class="lineno"> 167</span>&#160; <a class="codeRef" target="_blank" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr&lt;Node&gt;</a> x = <a class="code" href="../../d1/d46/classdata__structure_1_1_skip_list.html#a7aed753e3b47953229f5ac94f0fc9aad">header</a>;</div>
<div class="line"><a name="l00167"></a><span class="lineno"> 167</span>&#160; <a class="codeRef" target="_blank" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr&lt;Node&gt;</a> x = <a class="code" href="../../d4/d90/classdata__structures_1_1_skip_list.html#ad7e392386d7db622185d6f7c718e4f16">header</a>;</div>
<div class="line"><a name="l00168"></a><span class="lineno"> 168</span>&#160; <a class="codeRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> &lt;&lt; <span class="stringliteral">&quot;Searching for &quot;</span> &lt;&lt; key &lt;&lt; <a class="codeRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/manip/endl.html">std::endl</a>;</div>
<div class="line"><a name="l00169"></a><span class="lineno"> 169</span>&#160; </div>
<div class="line"><a name="l00170"></a><span class="lineno"> 170</span>&#160; <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = <a class="code" href="../../d1/d46/classdata__structure_1_1_skip_list.html#ae0c022174510fd9ca1b84d8e996cd1a5">level</a>; i &gt;= 0; i--) {</div>
<div class="line"><a name="l00170"></a><span class="lineno"> 170</span>&#160; <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = <a class="code" href="../../d4/d90/classdata__structures_1_1_skip_list.html#a3e249c2c35a8b7f5ffd2d77fee60d650">level</a>; i &gt;= 0; i--) {</div>
<div class="line"><a name="l00171"></a><span class="lineno"> 171</span>&#160; <span class="keywordflow">while</span> (x-&gt;forward[i] &amp;&amp; x-&gt;forward[i]-&gt;key &lt; key) x = x-&gt;forward[i];</div>
<div class="line"><a name="l00172"></a><span class="lineno"> 172</span>&#160; }</div>
<div class="line"><a name="l00173"></a><span class="lineno"> 173</span>&#160; </div>
@@ -452,7 +452,7 @@ Here is the call graph for this function:</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="../../d1/d46/classdata__structure_1_1_skip_list_a7cda6370f8bd2b6d1db28bd5ca586a21_cgraph.svg" width="291" height="52"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe>
<div class="center"><iframe scrolling="no" frameborder="0" src="../../d4/d90/classdata__structures_1_1_skip_list_a2249e3ab2f8a0f2334b90635202de4f2_cgraph.svg" width="298" height="52"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe>
</div>
</div>
@@ -463,22 +463,22 @@ Here is the call graph for this function:</div>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<div class="ttc" id="anamespacedata__structure_html_a38234f668624bca86341240f34a95193"><div class="ttname"><a href="../../d1/db4/namespacedata__structure.html#a38234f668624bca86341240f34a95193">data_structure::PROBABILITY</a></div><div class="ttdeci">constexpr float PROBABILITY</div><div class="ttdoc">Current probability for &quot;coin toss&quot;.</div><div class="ttdef"><b>Definition:</b> skip_list.cpp:28</div></div>
<div class="ttc" id="ashared_ptr_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr&lt; Node &gt;</a></div></div>
<div class="ttc" id="aclassdata__structure_1_1_skip_list_html_ae0c022174510fd9ca1b84d8e996cd1a5"><div class="ttname"><a href="../../d1/d46/classdata__structure_1_1_skip_list.html#ae0c022174510fd9ca1b84d8e996cd1a5">data_structure::SkipList::level</a></div><div class="ttdeci">int level</div><div class="ttdoc">Maximum level of the skiplist.</div><div class="ttdef"><b>Definition:</b> skip_list.cpp:56</div></div>
<div class="ttc" id="aclassdata__structures_1_1_skip_list_html_a3e249c2c35a8b7f5ffd2d77fee60d650"><div class="ttname"><a href="../../d4/d90/classdata__structures_1_1_skip_list.html#a3e249c2c35a8b7f5ffd2d77fee60d650">data_structures::SkipList::level</a></div><div class="ttdeci">int level</div><div class="ttdoc">Maximum level of the skiplist.</div><div class="ttdef"><b>Definition:</b> skip_list.cpp:56</div></div>
<div class="ttc" id="anamespacedata__structures_html_ac0d7e0be24da9f41bcb19745873c436a"><div class="ttname"><a href="../../d5/d3c/namespacedata__structures.html#ac0d7e0be24da9f41bcb19745873c436a">data_structures::MAX_LEVEL</a></div><div class="ttdeci">constexpr int MAX_LEVEL</div><div class="ttdoc">Maximum level of skip list.</div><div class="ttdef"><b>Definition:</b> skip_list.cpp:27</div></div>
<div class="ttc" id="astructnode_html"><div class="ttname"><a href="../../d5/da1/structnode.html">node</a></div><div class="ttdef"><b>Definition:</b> avltree.cpp:13</div></div>
<div class="ttc" id="astruct_node_html"><div class="ttname"><a href="../../db/d8b/struct_node.html">Node</a></div><div class="ttdef"><b>Definition:</b> linkedlist_implentation_usingarray.cpp:14</div></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="aarray_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/container/array.html">std::array</a></div><div class="ttdoc">STL class.</div></div>
<div class="ttc" id="aclassdata__structure_1_1_skip_list_html_a10800369c9efa08dd86de0ce552c874e"><div class="ttname"><a href="../../d1/d46/classdata__structure_1_1_skip_list.html#a10800369c9efa08dd86de0ce552c874e">data_structure::SkipList::randomLevel</a></div><div class="ttdeci">int randomLevel()</div><div class="ttdef"><b>Definition:</b> skip_list.cpp:75</div></div>
<div class="ttc" id="arand_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/numeric/random/rand.html">std::rand</a></div><div class="ttdeci">T rand(T... args)</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="aclassdata__structure_1_1_skip_list_html_a7aed753e3b47953229f5ac94f0fc9aad"><div class="ttname"><a href="../../d1/d46/classdata__structure_1_1_skip_list.html#a7aed753e3b47953229f5ac94f0fc9aad">data_structure::SkipList::header</a></div><div class="ttdeci">std::shared_ptr&lt; Node &gt; header</div><div class="ttdoc">Pointer to the header node.</div><div class="ttdef"><b>Definition:</b> skip_list.cpp:57</div></div>
<div class="ttc" id="anamespacedata__structure_html_a039855c4d1684de1fec104057df9f26d"><div class="ttname"><a href="../../d1/db4/namespacedata__structure.html#a039855c4d1684de1fec104057df9f26d">data_structure::MAX_LEVEL</a></div><div class="ttdeci">constexpr int MAX_LEVEL</div><div class="ttdoc">Maximum level of skip list.</div><div class="ttdef"><b>Definition:</b> skip_list.cpp:27</div></div>
<div class="ttc" id="aclassdata__structures_1_1_skip_list_html_aa3f3813e9896792fc86b296547689ba4"><div class="ttname"><a href="../../d4/d90/classdata__structures_1_1_skip_list.html#aa3f3813e9896792fc86b296547689ba4">data_structures::SkipList::randomLevel</a></div><div class="ttdeci">int randomLevel()</div><div class="ttdef"><b>Definition:</b> skip_list.cpp:75</div></div>
<div class="ttc" id="aclassdata__structures_1_1_skip_list_html_ad7e392386d7db622185d6f7c718e4f16"><div class="ttname"><a href="../../d4/d90/classdata__structures_1_1_skip_list.html#ad7e392386d7db622185d6f7c718e4f16">data_structures::SkipList::header</a></div><div class="ttdeci">std::shared_ptr&lt; Node &gt; header</div><div class="ttdoc">Pointer to the header node.</div><div class="ttdef"><b>Definition:</b> skip_list.cpp:57</div></div>
<div class="ttc" id="anamespacedata__structures_html_a903639d8e6f955dd8d5c263781455d61"><div class="ttname"><a href="../../d5/d3c/namespacedata__structures.html#a903639d8e6f955dd8d5c263781455d61">data_structures::PROBABILITY</a></div><div class="ttdeci">constexpr float PROBABILITY</div><div class="ttdoc">Current probability for &quot;coin toss&quot;.</div><div class="ttdef"><b>Definition:</b> skip_list.cpp:28</div></div>
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="../../d1/db4/namespacedata__structure.html">data_structure</a></li><li class="navelem"><a class="el" href="../../d1/d46/classdata__structure_1_1_skip_list.html">SkipList</a></li>
<li class="navelem"><a class="el" href="../../d5/d3c/namespacedata__structures.html">data_structures</a></li><li class="navelem"><a class="el" href="../../d4/d90/classdata__structures_1_1_skip_list.html">SkipList</a></li>
<li class="footer">Generated by <a href="http://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.8.19 </li>
</ul>
</div>

View File

@@ -0,0 +1,11 @@
var classdata__structures_1_1_skip_list =
[
[ "SkipList", "d4/d90/classdata__structures_1_1_skip_list.html#a7ffc3688725b9d1ec6e5bb881a6e2ae4", null ],
[ "deleteElement", "d4/d90/classdata__structures_1_1_skip_list.html#a86925c53e139cc6c3f7df1e9003bb0b0", null ],
[ "displayList", "d4/d90/classdata__structures_1_1_skip_list.html#a812611f80b8079268dbb19cc4e9bee5c", null ],
[ "insertElement", "d4/d90/classdata__structures_1_1_skip_list.html#a40a4042bdf0b6683b5f21ae7854de8a9", null ],
[ "randomLevel", "d4/d90/classdata__structures_1_1_skip_list.html#aa3f3813e9896792fc86b296547689ba4", null ],
[ "searchElement", "d4/d90/classdata__structures_1_1_skip_list.html#a2249e3ab2f8a0f2334b90635202de4f2", null ],
[ "header", "d4/d90/classdata__structures_1_1_skip_list.html#ad7e392386d7db622185d6f7c718e4f16", null ],
[ "level", "d4/d90/classdata__structures_1_1_skip_list.html#a3e249c2c35a8b7f5ffd2d77fee60d650", null ]
];

View File

@@ -0,0 +1,4 @@
<map id="data_structures::SkipList::searchElement" name="data_structures::SkipList::searchElement">
<area shape="rect" id="node1" title=" " alt="" coords="5,5,172,47"/>
<area shape="rect" id="node2" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/io/manip/endl.html#" title=" " alt="" coords="220,13,292,39"/>
</map>

View File

@@ -0,0 +1 @@
b4d16cc29f7e2e6f699ffdda1e704acd

View File

@@ -3,19 +3,19 @@
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<!-- Generated by graphviz version 2.44.1 (20200629.0846)
-->
<!-- Title: data_structure::SkipList::deleteElement Pages: 1 -->
<svg width="218pt" height="39pt"
viewBox="0.00 0.00 218.00 39.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<!-- Title: data_structures::SkipList::searchElement Pages: 1 -->
<svg width="223pt" height="39pt"
viewBox="0.00 0.00 223.00 39.00" 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 35)">
<title>data_structure::SkipList::deleteElement</title>
<polygon fill="white" stroke="transparent" points="-4,4 -4,-35 214,-35 214,4 -4,4"/>
<title>data_structures::SkipList::searchElement</title>
<polygon fill="white" stroke="transparent" points="-4,4 -4,-35 219,-35 219,4 -4,4"/>
<!-- Node1 -->
<g id="node1" class="node">
<title>Node1</title>
<g id="a_node1"><a xlink:title=" ">
<polygon fill="#bfbfbf" stroke="black" points="0,-0.5 0,-30.5 120,-30.5 120,-0.5 0,-0.5"/>
<text text-anchor="start" x="8" y="-18.5" font-family="Helvetica,sans-Serif" font-size="10.00">data_structure::SkipList</text>
<text text-anchor="middle" x="60" y="-7.5" font-family="Helvetica,sans-Serif" font-size="10.00">::deleteElement</text>
<polygon fill="#bfbfbf" stroke="black" points="0,-0.5 0,-30.5 125,-30.5 125,-0.5 0,-0.5"/>
<text text-anchor="start" x="8" y="-18.5" font-family="Helvetica,sans-Serif" font-size="10.00">data_structures::SkipList</text>
<text text-anchor="middle" x="62.5" y="-7.5" font-family="Helvetica,sans-Serif" font-size="10.00">::searchElement</text>
</a>
</g>
</g>
@@ -23,16 +23,16 @@
<g id="node2" class="node">
<title>Node2</title>
<g id="a_node2"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/io/manip/endl.html#" target="_top" xlink:title=" ">
<polygon fill="white" stroke="black" points="156,-6 156,-25 210,-25 210,-6 156,-6"/>
<text text-anchor="middle" x="183" y="-13" font-family="Helvetica,sans-Serif" font-size="10.00">std::endl</text>
<polygon fill="white" stroke="black" points="161,-6 161,-25 215,-25 215,-6 161,-6"/>
<text text-anchor="middle" x="188" y="-13" font-family="Helvetica,sans-Serif" font-size="10.00">std::endl</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node2 -->
<g id="edge1" class="edge">
<title>Node1&#45;&gt;Node2</title>
<path fill="none" stroke="midnightblue" d="M120.08,-15.5C128.84,-15.5 137.64,-15.5 145.74,-15.5"/>
<polygon fill="midnightblue" stroke="midnightblue" points="145.94,-19 155.94,-15.5 145.94,-12 145.94,-19"/>
<path fill="none" stroke="midnightblue" d="M125.25,-15.5C133.97,-15.5 142.69,-15.5 150.72,-15.5"/>
<polygon fill="midnightblue" stroke="midnightblue" points="150.81,-19 160.81,-15.5 150.81,-12 150.81,-19"/>
</g>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 1.8 KiB

After

Width:  |  Height:  |  Size: 1.8 KiB

View File

@@ -0,0 +1,6 @@
<map id="data_structures::SkipList::insertElement" name="data_structures::SkipList::insertElement">
<area shape="rect" id="node1" title=" " alt="" coords="5,27,172,69"/>
<area shape="rect" id="node2" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/io/manip/endl.html#" title=" " alt="" coords="267,5,339,32"/>
<area shape="rect" id="node3" href="$d4/d90/classdata__structures_1_1_skip_list.html#aa3f3813e9896792fc86b296547689ba4" title=" " alt="" coords="220,57,387,98"/>
<area shape="rect" id="node4" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/numeric/random/rand.html#" title=" " alt="" coords="435,64,508,91"/>
</map>

View File

@@ -0,0 +1 @@
4d2d7fdb4639b7eb2e6b9f9cb3052f5e

View File

@@ -0,0 +1,69 @@
<?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 2.44.1 (20200629.0846)
-->
<!-- Title: data_structures::SkipList::insertElement Pages: 1 -->
<svg width="385pt" height="78pt"
viewBox="0.00 0.00 385.00 77.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 73.5)">
<title>data_structures::SkipList::insertElement</title>
<polygon fill="white" stroke="transparent" points="-4,4 -4,-73.5 381,-73.5 381,4 -4,4"/>
<!-- Node1 -->
<g id="node1" class="node">
<title>Node1</title>
<g id="a_node1"><a xlink:title=" ">
<polygon fill="#bfbfbf" stroke="black" points="0,-22.5 0,-52.5 125,-52.5 125,-22.5 0,-22.5"/>
<text text-anchor="start" x="8" y="-40.5" font-family="Helvetica,sans-Serif" font-size="10.00">data_structures::SkipList</text>
<text text-anchor="middle" x="62.5" y="-29.5" font-family="Helvetica,sans-Serif" font-size="10.00">::insertElement</text>
</a>
</g>
</g>
<!-- Node2 -->
<g id="node2" class="node">
<title>Node2</title>
<g id="a_node2"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/io/manip/endl.html#" target="_top" xlink:title=" ">
<polygon fill="white" stroke="black" points="196.5,-50 196.5,-69 250.5,-69 250.5,-50 196.5,-50"/>
<text text-anchor="middle" x="223.5" y="-57" font-family="Helvetica,sans-Serif" font-size="10.00">std::endl</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node2 -->
<g id="edge1" class="edge">
<title>Node1&#45;&gt;Node2</title>
<path fill="none" stroke="midnightblue" d="M125.43,-46.07C145.98,-48.91 168.19,-51.99 186.17,-54.47"/>
<polygon fill="midnightblue" stroke="midnightblue" points="185.83,-57.96 196.22,-55.86 186.79,-51.03 185.83,-57.96"/>
</g>
<!-- Node3 -->
<g id="node3" class="node">
<title>Node3</title>
<g id="a_node3"><a xlink:href="../../d4/d90/classdata__structures_1_1_skip_list.html#aa3f3813e9896792fc86b296547689ba4" target="_top" xlink:title=" ">
<polygon fill="white" stroke="black" points="161,-0.5 161,-30.5 286,-30.5 286,-0.5 161,-0.5"/>
<text text-anchor="start" x="169" y="-18.5" font-family="Helvetica,sans-Serif" font-size="10.00">data_structures::SkipList</text>
<text text-anchor="middle" x="223.5" y="-7.5" font-family="Helvetica,sans-Serif" font-size="10.00">::randomLevel</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node3 -->
<g id="edge2" class="edge">
<title>Node1&#45;&gt;Node3</title>
<path fill="none" stroke="midnightblue" d="M125.43,-28.93C133.67,-27.79 142.18,-26.61 150.58,-25.45"/>
<polygon fill="midnightblue" stroke="midnightblue" points="151.31,-28.88 160.74,-24.05 150.35,-21.95 151.31,-28.88"/>
</g>
<!-- Node4 -->
<g id="node4" class="node">
<title>Node4</title>
<g id="a_node4"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/numeric/random/rand.html#" target="_top" xlink:title=" ">
<polygon fill="white" stroke="black" points="322,-6 322,-25 377,-25 377,-6 322,-6"/>
<text text-anchor="middle" x="349.5" y="-13" font-family="Helvetica,sans-Serif" font-size="10.00">std::rand</text>
</a>
</g>
</g>
<!-- Node3&#45;&gt;Node4 -->
<g id="edge3" class="edge">
<title>Node3&#45;&gt;Node4</title>
<path fill="none" stroke="midnightblue" d="M286.14,-15.5C294.84,-15.5 303.56,-15.5 311.6,-15.5"/>
<polygon fill="midnightblue" stroke="midnightblue" points="311.72,-19 321.72,-15.5 311.72,-12 311.72,-19"/>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 3.4 KiB

View File

@@ -0,0 +1,4 @@
<map id="data_structures::SkipList::displayList" name="data_structures::SkipList::displayList">
<area shape="rect" id="node1" title=" " alt="" coords="5,5,172,47"/>
<area shape="rect" id="node2" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/io/manip/endl.html#" title=" " alt="" coords="220,13,292,39"/>
</map>

View File

@@ -0,0 +1 @@
9c68af3fe9df1b385708afc0787061d8

View File

@@ -3,19 +3,19 @@
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<!-- Generated by graphviz version 2.44.1 (20200629.0846)
-->
<!-- Title: data_structure::SkipList::displayList Pages: 1 -->
<svg width="218pt" height="39pt"
viewBox="0.00 0.00 218.00 39.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<!-- Title: data_structures::SkipList::displayList Pages: 1 -->
<svg width="223pt" height="39pt"
viewBox="0.00 0.00 223.00 39.00" 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 35)">
<title>data_structure::SkipList::displayList</title>
<polygon fill="white" stroke="transparent" points="-4,4 -4,-35 214,-35 214,4 -4,4"/>
<title>data_structures::SkipList::displayList</title>
<polygon fill="white" stroke="transparent" points="-4,4 -4,-35 219,-35 219,4 -4,4"/>
<!-- Node1 -->
<g id="node1" class="node">
<title>Node1</title>
<g id="a_node1"><a xlink:title=" ">
<polygon fill="#bfbfbf" stroke="black" points="0,-0.5 0,-30.5 120,-30.5 120,-0.5 0,-0.5"/>
<text text-anchor="start" x="8" y="-18.5" font-family="Helvetica,sans-Serif" font-size="10.00">data_structure::SkipList</text>
<text text-anchor="middle" x="60" y="-7.5" font-family="Helvetica,sans-Serif" font-size="10.00">::displayList</text>
<polygon fill="#bfbfbf" stroke="black" points="0,-0.5 0,-30.5 125,-30.5 125,-0.5 0,-0.5"/>
<text text-anchor="start" x="8" y="-18.5" font-family="Helvetica,sans-Serif" font-size="10.00">data_structures::SkipList</text>
<text text-anchor="middle" x="62.5" y="-7.5" font-family="Helvetica,sans-Serif" font-size="10.00">::displayList</text>
</a>
</g>
</g>
@@ -23,16 +23,16 @@
<g id="node2" class="node">
<title>Node2</title>
<g id="a_node2"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/io/manip/endl.html#" target="_top" xlink:title=" ">
<polygon fill="white" stroke="black" points="156,-6 156,-25 210,-25 210,-6 156,-6"/>
<text text-anchor="middle" x="183" y="-13" font-family="Helvetica,sans-Serif" font-size="10.00">std::endl</text>
<polygon fill="white" stroke="black" points="161,-6 161,-25 215,-25 215,-6 161,-6"/>
<text text-anchor="middle" x="188" y="-13" font-family="Helvetica,sans-Serif" font-size="10.00">std::endl</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node2 -->
<g id="edge1" class="edge">
<title>Node1&#45;&gt;Node2</title>
<path fill="none" stroke="midnightblue" d="M120.08,-15.5C128.84,-15.5 137.64,-15.5 145.74,-15.5"/>
<polygon fill="midnightblue" stroke="midnightblue" points="145.94,-19 155.94,-15.5 145.94,-12 145.94,-19"/>
<path fill="none" stroke="midnightblue" d="M125.25,-15.5C133.97,-15.5 142.69,-15.5 150.72,-15.5"/>
<polygon fill="midnightblue" stroke="midnightblue" points="150.81,-19 160.81,-15.5 150.81,-12 150.81,-19"/>
</g>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 1.8 KiB

After

Width:  |  Height:  |  Size: 1.8 KiB

View File

@@ -0,0 +1,4 @@
<map id="data_structures::SkipList::deleteElement" name="data_structures::SkipList::deleteElement">
<area shape="rect" id="node1" title=" " alt="" coords="5,5,172,47"/>
<area shape="rect" id="node2" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/io/manip/endl.html#" title=" " alt="" coords="220,13,292,39"/>
</map>

View File

@@ -0,0 +1 @@
95cab6fb91495582002f6254d98cb111

View File

@@ -3,19 +3,19 @@
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<!-- Generated by graphviz version 2.44.1 (20200629.0846)
-->
<!-- Title: data_structure::SkipList::searchElement Pages: 1 -->
<svg width="218pt" height="39pt"
viewBox="0.00 0.00 218.00 39.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<!-- Title: data_structures::SkipList::deleteElement Pages: 1 -->
<svg width="223pt" height="39pt"
viewBox="0.00 0.00 223.00 39.00" 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 35)">
<title>data_structure::SkipList::searchElement</title>
<polygon fill="white" stroke="transparent" points="-4,4 -4,-35 214,-35 214,4 -4,4"/>
<title>data_structures::SkipList::deleteElement</title>
<polygon fill="white" stroke="transparent" points="-4,4 -4,-35 219,-35 219,4 -4,4"/>
<!-- Node1 -->
<g id="node1" class="node">
<title>Node1</title>
<g id="a_node1"><a xlink:title=" ">
<polygon fill="#bfbfbf" stroke="black" points="0,-0.5 0,-30.5 120,-30.5 120,-0.5 0,-0.5"/>
<text text-anchor="start" x="8" y="-18.5" font-family="Helvetica,sans-Serif" font-size="10.00">data_structure::SkipList</text>
<text text-anchor="middle" x="60" y="-7.5" font-family="Helvetica,sans-Serif" font-size="10.00">::searchElement</text>
<polygon fill="#bfbfbf" stroke="black" points="0,-0.5 0,-30.5 125,-30.5 125,-0.5 0,-0.5"/>
<text text-anchor="start" x="8" y="-18.5" font-family="Helvetica,sans-Serif" font-size="10.00">data_structures::SkipList</text>
<text text-anchor="middle" x="62.5" y="-7.5" font-family="Helvetica,sans-Serif" font-size="10.00">::deleteElement</text>
</a>
</g>
</g>
@@ -23,16 +23,16 @@
<g id="node2" class="node">
<title>Node2</title>
<g id="a_node2"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/io/manip/endl.html#" target="_top" xlink:title=" ">
<polygon fill="white" stroke="black" points="156,-6 156,-25 210,-25 210,-6 156,-6"/>
<text text-anchor="middle" x="183" y="-13" font-family="Helvetica,sans-Serif" font-size="10.00">std::endl</text>
<polygon fill="white" stroke="black" points="161,-6 161,-25 215,-25 215,-6 161,-6"/>
<text text-anchor="middle" x="188" y="-13" font-family="Helvetica,sans-Serif" font-size="10.00">std::endl</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node2 -->
<g id="edge1" class="edge">
<title>Node1&#45;&gt;Node2</title>
<path fill="none" stroke="midnightblue" d="M120.08,-15.5C128.84,-15.5 137.64,-15.5 145.74,-15.5"/>
<polygon fill="midnightblue" stroke="midnightblue" points="145.94,-19 155.94,-15.5 145.94,-12 145.94,-19"/>
<path fill="none" stroke="midnightblue" d="M125.25,-15.5C133.97,-15.5 142.69,-15.5 150.72,-15.5"/>
<polygon fill="midnightblue" stroke="midnightblue" points="150.81,-19 160.81,-15.5 150.81,-12 150.81,-19"/>
</g>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 1.8 KiB

After

Width:  |  Height:  |  Size: 1.8 KiB

View File

@@ -0,0 +1,4 @@
<map id="data_structures::SkipList::randomLevel" name="data_structures::SkipList::randomLevel">
<area shape="rect" id="node1" title=" " alt="" coords="5,5,172,47"/>
<area shape="rect" id="node2" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/numeric/random/rand.html#" title=" " alt="" coords="220,13,293,39"/>
</map>

View File

@@ -0,0 +1 @@
2396e3846fb3588fb1ef809da653a27c

View File

@@ -3,19 +3,19 @@
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<!-- Generated by graphviz version 2.44.1 (20200629.0846)
-->
<!-- Title: data_structure::SkipList::randomLevel Pages: 1 -->
<svg width="219pt" height="39pt"
viewBox="0.00 0.00 219.00 39.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<!-- Title: data_structures::SkipList::randomLevel Pages: 1 -->
<svg width="224pt" height="39pt"
viewBox="0.00 0.00 224.00 39.00" 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 35)">
<title>data_structure::SkipList::randomLevel</title>
<polygon fill="white" stroke="transparent" points="-4,4 -4,-35 215,-35 215,4 -4,4"/>
<title>data_structures::SkipList::randomLevel</title>
<polygon fill="white" stroke="transparent" points="-4,4 -4,-35 220,-35 220,4 -4,4"/>
<!-- Node1 -->
<g id="node1" class="node">
<title>Node1</title>
<g id="a_node1"><a xlink:title=" ">
<polygon fill="#bfbfbf" stroke="black" points="0,-0.5 0,-30.5 120,-30.5 120,-0.5 0,-0.5"/>
<text text-anchor="start" x="8" y="-18.5" font-family="Helvetica,sans-Serif" font-size="10.00">data_structure::SkipList</text>
<text text-anchor="middle" x="60" y="-7.5" font-family="Helvetica,sans-Serif" font-size="10.00">::randomLevel</text>
<polygon fill="#bfbfbf" stroke="black" points="0,-0.5 0,-30.5 125,-30.5 125,-0.5 0,-0.5"/>
<text text-anchor="start" x="8" y="-18.5" font-family="Helvetica,sans-Serif" font-size="10.00">data_structures::SkipList</text>
<text text-anchor="middle" x="62.5" y="-7.5" font-family="Helvetica,sans-Serif" font-size="10.00">::randomLevel</text>
</a>
</g>
</g>
@@ -23,16 +23,16 @@
<g id="node2" class="node">
<title>Node2</title>
<g id="a_node2"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/numeric/random/rand.html#" target="_top" xlink:title=" ">
<polygon fill="white" stroke="black" points="156,-6 156,-25 211,-25 211,-6 156,-6"/>
<text text-anchor="middle" x="183.5" y="-13" font-family="Helvetica,sans-Serif" font-size="10.00">std::rand</text>
<polygon fill="white" stroke="black" points="161,-6 161,-25 216,-25 216,-6 161,-6"/>
<text text-anchor="middle" x="188.5" y="-13" font-family="Helvetica,sans-Serif" font-size="10.00">std::rand</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node2 -->
<g id="edge1" class="edge">
<title>Node1&#45;&gt;Node2</title>
<path fill="none" stroke="midnightblue" d="M120.33,-15.5C128.95,-15.5 137.62,-15.5 145.63,-15.5"/>
<polygon fill="midnightblue" stroke="midnightblue" points="145.72,-19 155.72,-15.5 145.72,-12 145.72,-19"/>
<path fill="none" stroke="midnightblue" d="M125.14,-15.5C133.84,-15.5 142.56,-15.5 150.6,-15.5"/>
<polygon fill="midnightblue" stroke="midnightblue" points="150.72,-19 160.72,-15.5 150.72,-12 150.72,-19"/>
</g>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 1.8 KiB

After

Width:  |  Height:  |  Size: 1.8 KiB

View File

@@ -1 +0,0 @@
7eb528aa30a27208c82a461fef52dfc4

View File

@@ -1,63 +0,0 @@
<?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 2.44.1 (20200629.0846)
-->
<!-- Title: data_structure::Node Pages: 1 -->
<svg width="185pt" height="184pt"
viewBox="0.00 0.00 185.00 184.00" 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 180)">
<title>data_structure::Node</title>
<polygon fill="white" stroke="transparent" points="-4,4 -4,-180 181,-180 181,4 -4,4"/>
<!-- Node1 -->
<g id="node1" class="node">
<title>Node1</title>
<g id="a_node1"><a xlink:title=" ">
<polygon fill="#bfbfbf" stroke="black" points="69,-156.5 69,-175.5 177,-175.5 177,-156.5 69,-156.5"/>
<text text-anchor="middle" x="123" y="-163.5" font-family="Helvetica,sans-Serif" font-size="10.00">data_structure::Node</text>
</a>
</g>
</g>
<!-- Node3 -->
<g id="node3" class="node">
<title>Node3</title>
<g id="a_node3"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html" target="_top" xlink:title=" ">
<polygon fill="white" stroke="black" points="0,-78.5 0,-108.5 110,-108.5 110,-78.5 0,-78.5"/>
<text text-anchor="start" x="8" y="-96.5" font-family="Helvetica,sans-Serif" font-size="10.00">std::shared_ptr&lt; data</text>
<text text-anchor="middle" x="55" y="-85.5" font-family="Helvetica,sans-Serif" font-size="10.00">_structure::Node &gt;</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node3 -->
<g id="edge3" class="edge">
<title>Node1&#45;&gt;Node3</title>
<path fill="none" stroke="#9a32cd" stroke-dasharray="5,2" d="M107.66,-149.09C95.91,-136.91 79.86,-120.27 68.58,-108.58"/>
<polygon fill="#9a32cd" stroke="#9a32cd" points="105.2,-151.59 114.66,-156.36 110.24,-146.73 105.2,-151.59"/>
<text text-anchor="middle" x="103.5" y="-130" font-family="Helvetica,sans-Serif" font-size="10.00"> ptr</text>
</g>
<!-- Node2 -->
<g id="node2" class="node">
<title>Node2</title>
<g id="a_node2"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/vector.html" target="_top" xlink:title=" ">
<polygon fill="white" stroke="black" points="25,-0.5 25,-30.5 177,-30.5 177,-0.5 25,-0.5"/>
<text text-anchor="start" x="33" y="-18.5" font-family="Helvetica,sans-Serif" font-size="10.00">std::vector&lt; std::shared</text>
<text text-anchor="middle" x="101" y="-7.5" font-family="Helvetica,sans-Serif" font-size="10.00">_ptr&lt; data_structure::Node &gt; &gt;</text>
</a>
</g>
</g>
<!-- Node2&#45;&gt;Node1 -->
<g id="edge1" class="edge">
<title>Node2&#45;&gt;Node1</title>
<path fill="none" stroke="#9a32cd" stroke-dasharray="5,2" d="M122.63,-38.68C124.82,-41.93 126.7,-45.41 128,-49 141.7,-86.92 130.94,-136.39 125.58,-156.22"/>
<polygon fill="#9a32cd" stroke="#9a32cd" points="125.27,-36.37 116.37,-30.63 119.75,-40.67 125.27,-36.37"/>
<text text-anchor="middle" x="152" y="-91" font-family="Helvetica,sans-Serif" font-size="10.00"> forward</text>
</g>
<!-- Node3&#45;&gt;Node2 -->
<g id="edge2" class="edge">
<title>Node3&#45;&gt;Node2</title>
<path fill="none" stroke="#9a32cd" stroke-dasharray="5,2" d="M68.88,-69.57C76.52,-56.94 85.78,-41.65 92.39,-30.73"/>
<polygon fill="#9a32cd" stroke="#9a32cd" points="65.84,-67.84 63.65,-78.2 71.82,-71.46 65.84,-67.84"/>
<text text-anchor="middle" x="102.5" y="-52" font-family="Helvetica,sans-Serif" font-size="10.00"> elements</text>
</g>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 3.4 KiB

View File

@@ -5,7 +5,7 @@
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.19"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Algorithms_in_C++: data_structure Namespace Reference</title>
<title>Algorithms_in_C++: data_structures Namespace Reference</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
@@ -71,7 +71,7 @@ $(function() {
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('d1/db4/namespacedata__structure.html','../../'); initResizable(); });
$(document).ready(function(){initNavTree('d5/d3c/namespacedata__structures.html','../../'); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
@@ -94,33 +94,33 @@ $(document).ready(function(){initNavTree('d1/db4/namespacedata__structure.html',
<a href="#nested-classes">Classes</a> &#124;
<a href="#var-members">Variables</a> </div>
<div class="headertitle">
<div class="title">data_structure Namespace Reference</div> </div>
<div class="title">data_structures Namespace Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>Data-structure algorithms.
<a href="../../d1/db4/namespacedata__structure.html#details">More...</a></p>
<a href="../../d5/d3c/namespacedata__structures.html#details">More...</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/d6f/structdata__structure_1_1_node.html">Node</a></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d49/structdata__structures_1_1_node.html">Node</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/d46/classdata__structure_1_1_skip_list.html">SkipList</a></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/d90/classdata__structures_1_1_skip_list.html">SkipList</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d6e/classdata__structure_1_1trie.html">trie</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight"><a href="https://en.wikipedia.org/wiki/Trie">Trie</a> implementation for small-case English alphabets <code>a-z</code> <a href="../../d0/d6e/classdata__structure_1_1trie.html#details">More...</a><br /></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d3e/classdata__structures_1_1trie.html">trie</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight"><a href="https://en.wikipedia.org/wiki/Trie">Trie</a> implementation for small-case English alphabets <code>a-z</code> <a href="../../d0/d3e/classdata__structures_1_1trie.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="var-members"></a>
Variables</h2></td></tr>
<tr class="memitem:a039855c4d1684de1fec104057df9f26d"><td class="memItemLeft" align="right" valign="top"><a id="a039855c4d1684de1fec104057df9f26d"></a>
constexpr int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/db4/namespacedata__structure.html#a039855c4d1684de1fec104057df9f26d">MAX_LEVEL</a> = 2</td></tr>
<tr class="memdesc:a039855c4d1684de1fec104057df9f26d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Maximum level of skip list. <br /></td></tr>
<tr class="separator:a039855c4d1684de1fec104057df9f26d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a38234f668624bca86341240f34a95193"><td class="memItemLeft" align="right" valign="top"><a id="a38234f668624bca86341240f34a95193"></a>
constexpr float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/db4/namespacedata__structure.html#a38234f668624bca86341240f34a95193">PROBABILITY</a> = 0.5</td></tr>
<tr class="memdesc:a38234f668624bca86341240f34a95193"><td class="mdescLeft">&#160;</td><td class="mdescRight">Current probability for "coin toss". <br /></td></tr>
<tr class="separator:a38234f668624bca86341240f34a95193"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac0d7e0be24da9f41bcb19745873c436a"><td class="memItemLeft" align="right" valign="top"><a id="ac0d7e0be24da9f41bcb19745873c436a"></a>
constexpr int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d5/d3c/namespacedata__structures.html#ac0d7e0be24da9f41bcb19745873c436a">MAX_LEVEL</a> = 2</td></tr>
<tr class="memdesc:ac0d7e0be24da9f41bcb19745873c436a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Maximum level of skip list. <br /></td></tr>
<tr class="separator:ac0d7e0be24da9f41bcb19745873c436a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a903639d8e6f955dd8d5c263781455d61"><td class="memItemLeft" align="right" valign="top"><a id="a903639d8e6f955dd8d5c263781455d61"></a>
constexpr float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d5/d3c/namespacedata__structures.html#a903639d8e6f955dd8d5c263781455d61">PROBABILITY</a> = 0.5</td></tr>
<tr class="memdesc:a903639d8e6f955dd8d5c263781455d61"><td class="mdescLeft">&#160;</td><td class="mdescRight">Current probability for "coin toss". <br /></td></tr>
<tr class="separator:a903639d8e6f955dd8d5c263781455d61"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Data-structure algorithms. </p>
@@ -129,7 +129,7 @@ constexpr float&#160;</td><td class="memItemRight" valign="bottom"><a class="el"
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="../../d1/db4/namespacedata__structure.html">data_structure</a></li>
<li class="navelem"><a class="el" href="../../d5/d3c/namespacedata__structures.html">data_structures</a></li>
<li class="footer">Generated by <a href="http://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.8.19 </li>
</ul>
</div>

6
d5/d3c/namespacedata__structures.js vendored Normal file
View File

@@ -0,0 +1,6 @@
var namespacedata__structures =
[
[ "Node", "d9/d49/structdata__structures_1_1_node.html", "d9/d49/structdata__structures_1_1_node" ],
[ "SkipList", "d4/d90/classdata__structures_1_1_skip_list.html", "d4/d90/classdata__structures_1_1_skip_list" ],
[ "trie", "d0/d3e/classdata__structures_1_1trie.html", "d0/d3e/classdata__structures_1_1trie" ]
];

View File

@@ -1,5 +1,5 @@
<map id="data_structure::Node" name="data_structure::Node">
<area shape="rect" id="node1" title=" " alt="" coords="97,5,241,32"/>
<map id="data_structures::Node" name="data_structures::Node">
<area shape="rect" id="node1" title=" " alt="" coords="94,5,245,32"/>
<area shape="rect" id="node3" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/memory/shared_ptr.html" title=" " alt="" coords="5,95,152,136"/>
<area shape="rect" id="node2" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/vector.html" title=" " alt="" coords="39,199,241,240"/>
<area shape="rect" id="node2" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/vector.html" title=" " alt="" coords="59,199,221,255"/>
</map>

View File

@@ -0,0 +1 @@
bf1ac314b294fc19ac77a97ee64b03cf

View File

@@ -0,0 +1,64 @@
<?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 2.44.1 (20200629.0846)
-->
<!-- Title: data_structures::Node Pages: 1 -->
<svg width="188pt" height="195pt"
viewBox="0.00 0.00 187.50 195.00" 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 191)">
<title>data_structures::Node</title>
<polygon fill="white" stroke="transparent" points="-4,4 -4,-191 183.5,-191 183.5,4 -4,4"/>
<!-- Node1 -->
<g id="node1" class="node">
<title>Node1</title>
<g id="a_node1"><a xlink:title=" ">
<polygon fill="#bfbfbf" stroke="black" points="66.5,-167.5 66.5,-186.5 179.5,-186.5 179.5,-167.5 66.5,-167.5"/>
<text text-anchor="middle" x="123" y="-174.5" font-family="Helvetica,sans-Serif" font-size="10.00">data_structures::Node</text>
</a>
</g>
</g>
<!-- Node3 -->
<g id="node3" class="node">
<title>Node3</title>
<g id="a_node3"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html" target="_top" xlink:title=" ">
<polygon fill="white" stroke="black" points="0,-89.5 0,-119.5 110,-119.5 110,-89.5 0,-89.5"/>
<text text-anchor="start" x="8" y="-107.5" font-family="Helvetica,sans-Serif" font-size="10.00">std::shared_ptr&lt; data</text>
<text text-anchor="middle" x="55" y="-96.5" font-family="Helvetica,sans-Serif" font-size="10.00">_structures::Node &gt;</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node3 -->
<g id="edge3" class="edge">
<title>Node1&#45;&gt;Node3</title>
<path fill="none" stroke="#9a32cd" stroke-dasharray="5,2" d="M107.66,-160.09C95.91,-147.91 79.86,-131.27 68.58,-119.58"/>
<polygon fill="#9a32cd" stroke="#9a32cd" points="105.2,-162.59 114.66,-167.36 110.24,-157.73 105.2,-162.59"/>
<text text-anchor="middle" x="103.5" y="-141" font-family="Helvetica,sans-Serif" font-size="10.00"> ptr</text>
</g>
<!-- Node2 -->
<g id="node2" class="node">
<title>Node2</title>
<g id="a_node2"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/vector.html" target="_top" xlink:title=" ">
<polygon fill="white" stroke="black" points="40.5,-0.5 40.5,-41.5 161.5,-41.5 161.5,-0.5 40.5,-0.5"/>
<text text-anchor="start" x="48.5" y="-29.5" font-family="Helvetica,sans-Serif" font-size="10.00">std::vector&lt; std::shared</text>
<text text-anchor="start" x="48.5" y="-18.5" font-family="Helvetica,sans-Serif" font-size="10.00">_ptr&lt; data_structures::</text>
<text text-anchor="middle" x="101" y="-7.5" font-family="Helvetica,sans-Serif" font-size="10.00">Node &gt; &gt;</text>
</a>
</g>
</g>
<!-- Node2&#45;&gt;Node1 -->
<g id="edge1" class="edge">
<title>Node2&#45;&gt;Node1</title>
<path fill="none" stroke="#9a32cd" stroke-dasharray="5,2" d="M123.05,-50.54C124.64,-53.61 126.01,-56.79 127,-60 138.91,-98.5 129.77,-147.65 125.2,-167.3"/>
<polygon fill="#9a32cd" stroke="#9a32cd" points="125.9,-48.49 117.75,-41.72 119.9,-52.1 125.9,-48.49"/>
<text text-anchor="middle" x="150" y="-102" font-family="Helvetica,sans-Serif" font-size="10.00"> forward</text>
</g>
<!-- Node3&#45;&gt;Node2 -->
<g id="edge2" class="edge">
<title>Node3&#45;&gt;Node2</title>
<path fill="none" stroke="#9a32cd" stroke-dasharray="5,2" d="M67.97,-80.52C74.91,-68.23 83.36,-53.25 89.98,-41.53"/>
<polygon fill="#9a32cd" stroke="#9a32cd" points="64.88,-78.87 63.01,-89.3 70.98,-82.32 64.88,-78.87"/>
<text text-anchor="middle" x="101.5" y="-63" font-family="Helvetica,sans-Serif" font-size="10.00"> elements</text>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 3.5 KiB

View File

@@ -71,7 +71,7 @@ $(function() {
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('d1/d46/classdata__structure_1_1_skip_list.html','../../'); initResizable(); });
$(document).ready(function(){initNavTree('d4/d90/classdata__structures_1_1_skip_list.html','../../'); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
@@ -91,20 +91,20 @@ $(document).ready(function(){initNavTree('d1/d46/classdata__structure_1_1_skip_l
<div class="header">
<div class="headertitle">
<div class="title">data_structure::SkipList Member List</div> </div>
<div class="title">data_structures::SkipList Member List</div> </div>
</div><!--header-->
<div class="contents">
<p>This is the complete list of members for <a class="el" href="../../d1/d46/classdata__structure_1_1_skip_list.html">data_structure::SkipList</a>, including all inherited members.</p>
<p>This is the complete list of members for <a class="el" href="../../d4/d90/classdata__structures_1_1_skip_list.html">data_structures::SkipList</a>, including all inherited members.</p>
<table class="directory">
<tr class="even"><td class="entry"><a class="el" href="../../d1/d46/classdata__structure_1_1_skip_list.html#a4b8eb18c9ca24f53e9de91b74febd666">deleteElement</a>(int key)</td><td class="entry"><a class="el" href="../../d1/d46/classdata__structure_1_1_skip_list.html">data_structure::SkipList</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr><td class="entry"><a class="el" href="../../d1/d46/classdata__structure_1_1_skip_list.html#a1574d62ca0a5a821601d246c07215335">displayList</a>()</td><td class="entry"><a class="el" href="../../d1/d46/classdata__structure_1_1_skip_list.html">data_structure::SkipList</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="../../d1/d46/classdata__structure_1_1_skip_list.html#a7aed753e3b47953229f5ac94f0fc9aad">header</a></td><td class="entry"><a class="el" href="../../d1/d46/classdata__structure_1_1_skip_list.html">data_structure::SkipList</a></td><td class="entry"><span class="mlabel">private</span></td></tr>
<tr><td class="entry"><a class="el" href="../../d1/d46/classdata__structure_1_1_skip_list.html#a1c6c04c0fb45ea2e2378de7ab9cb465b">insertElement</a>(int key, void *value)</td><td class="entry"><a class="el" href="../../d1/d46/classdata__structure_1_1_skip_list.html">data_structure::SkipList</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="../../d1/d46/classdata__structure_1_1_skip_list.html#ae0c022174510fd9ca1b84d8e996cd1a5">level</a></td><td class="entry"><a class="el" href="../../d1/d46/classdata__structure_1_1_skip_list.html">data_structure::SkipList</a></td><td class="entry"><span class="mlabel">private</span></td></tr>
<tr><td class="entry"><a class="el" href="../../d1/d46/classdata__structure_1_1_skip_list.html#a10800369c9efa08dd86de0ce552c874e">randomLevel</a>()</td><td class="entry"><a class="el" href="../../d1/d46/classdata__structure_1_1_skip_list.html">data_structure::SkipList</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="../../d1/d46/classdata__structure_1_1_skip_list.html#a7cda6370f8bd2b6d1db28bd5ca586a21">searchElement</a>(int key)</td><td class="entry"><a class="el" href="../../d1/d46/classdata__structure_1_1_skip_list.html">data_structure::SkipList</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr><td class="entry"><a class="el" href="../../d1/d46/classdata__structure_1_1_skip_list.html#aed414cf88cfacb9554ecfd184b03fe04">SkipList</a>()</td><td class="entry"><a class="el" href="../../d1/d46/classdata__structure_1_1_skip_list.html">data_structure::SkipList</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="../../d4/d90/classdata__structures_1_1_skip_list.html#a86925c53e139cc6c3f7df1e9003bb0b0">deleteElement</a>(int key)</td><td class="entry"><a class="el" href="../../d4/d90/classdata__structures_1_1_skip_list.html">data_structures::SkipList</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr><td class="entry"><a class="el" href="../../d4/d90/classdata__structures_1_1_skip_list.html#a812611f80b8079268dbb19cc4e9bee5c">displayList</a>()</td><td class="entry"><a class="el" href="../../d4/d90/classdata__structures_1_1_skip_list.html">data_structures::SkipList</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="../../d4/d90/classdata__structures_1_1_skip_list.html#ad7e392386d7db622185d6f7c718e4f16">header</a></td><td class="entry"><a class="el" href="../../d4/d90/classdata__structures_1_1_skip_list.html">data_structures::SkipList</a></td><td class="entry"><span class="mlabel">private</span></td></tr>
<tr><td class="entry"><a class="el" href="../../d4/d90/classdata__structures_1_1_skip_list.html#a40a4042bdf0b6683b5f21ae7854de8a9">insertElement</a>(int key, void *value)</td><td class="entry"><a class="el" href="../../d4/d90/classdata__structures_1_1_skip_list.html">data_structures::SkipList</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="../../d4/d90/classdata__structures_1_1_skip_list.html#a3e249c2c35a8b7f5ffd2d77fee60d650">level</a></td><td class="entry"><a class="el" href="../../d4/d90/classdata__structures_1_1_skip_list.html">data_structures::SkipList</a></td><td class="entry"><span class="mlabel">private</span></td></tr>
<tr><td class="entry"><a class="el" href="../../d4/d90/classdata__structures_1_1_skip_list.html#aa3f3813e9896792fc86b296547689ba4">randomLevel</a>()</td><td class="entry"><a class="el" href="../../d4/d90/classdata__structures_1_1_skip_list.html">data_structures::SkipList</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="../../d4/d90/classdata__structures_1_1_skip_list.html#a2249e3ab2f8a0f2334b90635202de4f2">searchElement</a>(int key)</td><td class="entry"><a class="el" href="../../d4/d90/classdata__structures_1_1_skip_list.html">data_structures::SkipList</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr><td class="entry"><a class="el" href="../../d4/d90/classdata__structures_1_1_skip_list.html#a7ffc3688725b9d1ec6e5bb881a6e2ae4">SkipList</a>()</td><td class="entry"><a class="el" href="../../d4/d90/classdata__structures_1_1_skip_list.html">data_structures::SkipList</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
</table></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->

View File

@@ -0,0 +1,6 @@
<map id="data_structures::SkipList" name="data_structures::SkipList">
<area shape="rect" id="node1" title=" " alt="" coords="5,124,172,151"/>
<area shape="rect" id="node2" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/memory/shared_ptr.html" title=" " alt="" coords="203,5,350,47"/>
<area shape="rect" id="node4" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/vector.html" title=" " alt="" coords="196,109,357,165"/>
<area shape="rect" id="node3" href="$d9/d49/structdata__structures_1_1_node.html" title=" " alt="" coords="265,228,416,255"/>
</map>

View File

@@ -0,0 +1 @@
420c91bfeb321807384867db8e195404

View File

@@ -0,0 +1,80 @@
<?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 2.44.1 (20200629.0846)
-->
<!-- Title: data_structures::SkipList Pages: 1 -->
<svg width="316pt" height="195pt"
viewBox="0.00 0.00 316.00 195.00" 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 191)">
<title>data_structures::SkipList</title>
<polygon fill="white" stroke="transparent" points="-4,4 -4,-191 312,-191 312,4 -4,4"/>
<!-- Node1 -->
<g id="node1" class="node">
<title>Node1</title>
<g id="a_node1"><a xlink:title=" ">
<polygon fill="#bfbfbf" stroke="black" points="0,-78.5 0,-97.5 125,-97.5 125,-78.5 0,-78.5"/>
<text text-anchor="middle" x="62.5" y="-85.5" font-family="Helvetica,sans-Serif" font-size="10.00">data_structures::SkipList</text>
</a>
</g>
</g>
<!-- Node2 -->
<g id="node2" class="node">
<title>Node2</title>
<g id="a_node2"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html" target="_top" xlink:title=" ">
<polygon fill="white" stroke="black" points="148.5,-156.5 148.5,-186.5 258.5,-186.5 258.5,-156.5 148.5,-156.5"/>
<text text-anchor="start" x="156.5" y="-174.5" font-family="Helvetica,sans-Serif" font-size="10.00">std::shared_ptr&lt; data</text>
<text text-anchor="middle" x="203.5" y="-163.5" font-family="Helvetica,sans-Serif" font-size="10.00">_structures::Node &gt;</text>
</a>
</g>
</g>
<!-- Node2&#45;&gt;Node1 -->
<g id="edge1" class="edge">
<title>Node2&#45;&gt;Node1</title>
<path fill="none" stroke="#9a32cd" stroke-dasharray="5,2" d="M170.56,-151.46C141.11,-134.44 99.33,-110.29 77.35,-97.58"/>
<polygon fill="#9a32cd" stroke="#9a32cd" points="168.85,-154.52 179.26,-156.49 172.35,-148.46 168.85,-154.52"/>
<text text-anchor="middle" x="163" y="-130" font-family="Helvetica,sans-Serif" font-size="10.00"> header</text>
</g>
<!-- Node4 -->
<g id="node4" class="node">
<title>Node4</title>
<g id="a_node4"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/vector.html" target="_top" xlink:title=" ">
<polygon fill="white" stroke="black" points="143,-67.5 143,-108.5 264,-108.5 264,-67.5 143,-67.5"/>
<text text-anchor="start" x="151" y="-96.5" font-family="Helvetica,sans-Serif" font-size="10.00">std::vector&lt; std::shared</text>
<text text-anchor="start" x="151" y="-85.5" font-family="Helvetica,sans-Serif" font-size="10.00">_ptr&lt; data_structures::</text>
<text text-anchor="middle" x="203.5" y="-74.5" font-family="Helvetica,sans-Serif" font-size="10.00">Node &gt; &gt;</text>
</a>
</g>
</g>
<!-- Node2&#45;&gt;Node4 -->
<g id="edge4" class="edge">
<title>Node2&#45;&gt;Node4</title>
<path fill="none" stroke="#9a32cd" stroke-dasharray="5,2" d="M203.5,-146.07C203.5,-134.06 203.5,-119.79 203.5,-108.53"/>
<polygon fill="#9a32cd" stroke="#9a32cd" points="200,-146.3 203.5,-156.3 207,-146.3 200,-146.3"/>
<text text-anchor="middle" x="225" y="-130" font-family="Helvetica,sans-Serif" font-size="10.00"> elements</text>
</g>
<!-- Node3 -->
<g id="node3" class="node">
<title>Node3</title>
<g id="a_node3"><a xlink:href="../../d9/d49/structdata__structures_1_1_node.html" target="_top" xlink:title=" ">
<polygon fill="white" stroke="black" points="195,-0.5 195,-19.5 308,-19.5 308,-0.5 195,-0.5"/>
<text text-anchor="middle" x="251.5" y="-7.5" font-family="Helvetica,sans-Serif" font-size="10.00">data_structures::Node</text>
</a>
</g>
</g>
<!-- Node3&#45;&gt;Node2 -->
<g id="edge2" class="edge">
<title>Node3&#45;&gt;Node2</title>
<path fill="none" stroke="#9a32cd" stroke-dasharray="5,2" d="M267.9,-27.67C270.19,-30.87 272.21,-34.37 273.5,-38 284.08,-67.73 282.81,-79.17 272.5,-109 265.32,-129.78 246.06,-145.93 229.71,-156.46"/>
<polygon fill="#9a32cd" stroke="#9a32cd" points="270.57,-25.4 261.47,-19.98 265.2,-29.89 270.57,-25.4"/>
<text text-anchor="middle" x="289" y="-85.5" font-family="Helvetica,sans-Serif" font-size="10.00"> ptr</text>
</g>
<!-- Node4&#45;&gt;Node3 -->
<g id="edge3" class="edge">
<title>Node4&#45;&gt;Node3</title>
<path fill="none" stroke="#9a32cd" stroke-dasharray="5,2" d="M221.41,-58.65C230.18,-44.75 240.13,-29.01 246.1,-19.55"/>
<polygon fill="#9a32cd" stroke="#9a32cd" points="218.24,-57.1 215.86,-67.43 224.16,-60.84 218.24,-57.1"/>
<text text-anchor="middle" x="251.5" y="-41" font-family="Helvetica,sans-Serif" font-size="10.00"> forward</text>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 4.4 KiB

View File

@@ -116,14 +116,14 @@ Include dependency graph for trie_tree.cpp:</div>
</div><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d6e/classdata__structure_1_1trie.html">data_structure::trie</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight"><a href="https://en.wikipedia.org/wiki/Trie">Trie</a> implementation for small-case English alphabets <code>a-z</code> <a href="../../d0/d6e/classdata__structure_1_1trie.html#details">More...</a><br /></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d3e/classdata__structures_1_1trie.html">data_structures::trie</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight"><a href="https://en.wikipedia.org/wiki/Trie">Trie</a> implementation for small-case English alphabets <code>a-z</code> <a href="../../d0/d3e/classdata__structures_1_1trie.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="namespaces"></a>
Namespaces</h2></td></tr>
<tr class="memitem:d1/db4/namespacedata__structure"><td class="memItemLeft" align="right" valign="top"> &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/db4/namespacedata__structure.html">data_structure</a></td></tr>
<tr class="memdesc:d1/db4/namespacedata__structure"><td class="mdescLeft">&#160;</td><td class="mdescRight">Data-structure algorithms. <br /></td></tr>
<tr class="memitem:d5/d3c/namespacedata__structures"><td class="memItemLeft" align="right" valign="top"> &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d5/d3c/namespacedata__structures.html">data_structures</a></td></tr>
<tr class="memdesc:d5/d3c/namespacedata__structures"><td class="mdescLeft">&#160;</td><td class="mdescRight">Data-structure algorithms. <br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
@@ -140,7 +140,7 @@ Functions</h2></td></tr>
<dl class="section author"><dt>Author</dt><dd><a href="https://github.com/Arctic2333">@Arctic2333</a> </dd>
<dd>
<a href="https://github.com/kvedala">Krishna Vedala</a> </dd></dl>
<dl class="section note"><dt>Note</dt><dd>the function <a class="el" href="../../d0/d6e/classdata__structure_1_1trie.html#a98a0d54a781a680903eac14085fcbc2e">data_structure::trie::deleteString</a> might be erroneous </dd></dl>
<dl class="section note"><dt>Note</dt><dd>the function ::data_structure::trie::deleteString might be erroneous </dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="../../dc/d93/trie__modern_8cpp.html" title="A basic implementation of trie class to store only lower-case strings.">trie_modern.cpp</a> </dd></dl>
</div><h2 class="groupheader">Function Documentation</h2>
<a id="ae66f6b31b5ad750f1fe042a706a4e3d4"></a>
@@ -201,7 +201,7 @@ Here is the call graph for this function:</div>
<p>Testing function. </p>
<dl class="section return"><dt>Returns</dt><dd>void </dd></dl>
<div class="fragment"><div class="line"><a name="l00178"></a><span class="lineno"> 178</span>&#160; {</div>
<div class="line"><a name="l00179"></a><span class="lineno"> 179</span>&#160; <a class="code" href="../../d0/d6e/classdata__structure_1_1trie.html">data_structure::trie</a> root;</div>
<div class="line"><a name="l00179"></a><span class="lineno"> 179</span>&#160; <a class="code" href="../../d0/d3e/classdata__structures_1_1trie.html">data_structures::trie</a> root;</div>
<div class="line"><a name="l00180"></a><span class="lineno"> 180</span>&#160; root.<a class="codeRef" target="_blank" href="http://en.cppreference.com/w/cpp/container/vector/insert.html">insert</a>(<span class="stringliteral">&quot;Hello&quot;</span>);</div>
<div class="line"><a name="l00181"></a><span class="lineno"> 181</span>&#160; root.<a class="codeRef" target="_blank" href="http://en.cppreference.com/w/cpp/container/vector/insert.html">insert</a>(<span class="stringliteral">&quot;World&quot;</span>);</div>
<div class="line"><a name="l00182"></a><span class="lineno"> 182</span>&#160; </div>
@@ -227,7 +227,7 @@ Here is the call graph for this function:</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<div class="ttc" id="aclassdata__structure_1_1trie_html"><div class="ttname"><a href="../../d0/d6e/classdata__structure_1_1trie.html">data_structure::trie</a></div><div class="ttdoc">Trie implementation for small-case English alphabets a-z</div><div class="ttdef"><b>Definition:</b> trie_tree.cpp:25</div></div>
<div class="ttc" id="aclassdata__structures_1_1trie_html"><div class="ttname"><a href="../../d0/d3e/classdata__structures_1_1trie.html">data_structures::trie</a></div><div class="ttdoc">Trie implementation for small-case English alphabets a-z</div><div class="ttdef"><b>Definition:</b> trie_tree.cpp:25</div></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="ainsert_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/container/vector/insert.html">std::vector::insert</a></div><div class="ttdeci">T insert(T... args)</div></div>
<div class="ttc" id="atrie__tree_8cpp_html_aa8dca7b867074164d5f45b0f3851269d"><div class="ttname"><a href="../../d7/d83/trie__tree_8cpp.html#aa8dca7b867074164d5f45b0f3851269d">test</a></div><div class="ttdeci">static void test()</div><div class="ttdoc">Testing function.</div><div class="ttdef"><b>Definition:</b> trie_tree.cpp:178</div></div>

View File

@@ -1,6 +1,6 @@
var trie__tree_8cpp =
[
[ "trie", "d0/d6e/classdata__structure_1_1trie.html", "d0/d6e/classdata__structure_1_1trie" ],
[ "trie", "d0/d3e/classdata__structures_1_1trie.html", "d0/d3e/classdata__structures_1_1trie" ],
[ "main", "d7/d83/trie__tree_8cpp.html#ae66f6b31b5ad750f1fe042a706a4e3d4", null ],
[ "test", "d7/d83/trie__tree_8cpp.html#aa8dca7b867074164d5f45b0f3851269d", null ]
];

View File

@@ -1 +0,0 @@
92491b71d4f48aa7fd78c8c5420df4e9

View File

@@ -248,60 +248,60 @@ $(document).ready(function(){initNavTree('d7/de0/stack_8h_source.html','../../')
</div><!-- doc-content -->
<div class="ttc" id="aclassstack_html_a6cd4b95d5de00d41b2491392338384dc"><div class="ttname"><a href="../../d1/dc2/classstack.html#a6cd4b95d5de00d41b2491392338384dc">stack::pop</a></div><div class="ttdeci">void pop()</div><div class="ttdef"><b>Definition:</b> stack.h:99</div></div>
<div class="ttc" id="asrand_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/numeric/random/srand.html">std::srand</a></div><div class="ttdeci">T srand(T... args)</div></div>
<div class="ttc" id="astructdata__structure_1_1_node_html_af7f19e61975f1362b22d1488bee87077"><div class="ttname"><a href="../../d3/d6f/structdata__structure_1_1_node.html#af7f19e61975f1362b22d1488bee87077">data_structure::Node::Node</a></div><div class="ttdeci">Node(int key, int level, void *value=nullptr)</div><div class="ttdef"><b>Definition:</b> skip_list.cpp:44</div></div>
<div class="ttc" id="aclassstack_html_ae8547e097cc753d5eab0207ed23d8920"><div class="ttname"><a href="../../d1/dc2/classstack.html#ae8547e097cc753d5eab0207ed23d8920">stack::stack</a></div><div class="ttdeci">stack(const stack&lt; Type &gt; &amp;otherStack)</div><div class="ttdef"><b>Definition:</b> stack.h:47</div></div>
<div class="ttc" id="aclassdata__structure_1_1_skip_list_html_a1c6c04c0fb45ea2e2378de7ab9cb465b"><div class="ttname"><a href="../../d1/d46/classdata__structure_1_1_skip_list.html#a1c6c04c0fb45ea2e2378de7ab9cb465b">data_structure::SkipList::insertElement</a></div><div class="ttdeci">void insertElement(int key, void *value)</div><div class="ttdef"><b>Definition:</b> skip_list.cpp:89</div></div>
<div class="ttc" id="astructdata__structure_1_1_node_html"><div class="ttname"><a href="../../d3/d6f/structdata__structure_1_1_node.html">data_structure::Node</a></div><div class="ttdef"><b>Definition:</b> skip_list.cpp:33</div></div>
<div class="ttc" id="anamespacedata__structure_html_a38234f668624bca86341240f34a95193"><div class="ttname"><a href="../../d1/db4/namespacedata__structure.html#a38234f668624bca86341240f34a95193">data_structure::PROBABILITY</a></div><div class="ttdeci">constexpr float PROBABILITY</div><div class="ttdoc">Current probability for &quot;coin toss&quot;.</div><div class="ttdef"><b>Definition:</b> skip_list.cpp:28</div></div>
<div class="ttc" id="astructdata__structures_1_1_node_html_a54a6777e72b639c3ee6446a541db8e78"><div class="ttname"><a href="../../d9/d49/structdata__structures_1_1_node.html#a54a6777e72b639c3ee6446a541db8e78">data_structures::Node::Node</a></div><div class="ttdeci">Node(int key, int level, void *value=nullptr)</div><div class="ttdef"><b>Definition:</b> skip_list.cpp:44</div></div>
<div class="ttc" id="ashared_ptr_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr&lt; Node &gt;</a></div></div>
<div class="ttc" id="aclassdata__structure_1_1_skip_list_html_a7cda6370f8bd2b6d1db28bd5ca586a21"><div class="ttname"><a href="../../d1/d46/classdata__structure_1_1_skip_list.html#a7cda6370f8bd2b6d1db28bd5ca586a21">data_structure::SkipList::searchElement</a></div><div class="ttdeci">void * searchElement(int key)</div><div class="ttdef"><b>Definition:</b> skip_list.cpp:166</div></div>
<div class="ttc" id="aclassdata__structure_1_1_skip_list_html_a1574d62ca0a5a821601d246c07215335"><div class="ttname"><a href="../../d1/d46/classdata__structure_1_1_skip_list.html#a1574d62ca0a5a821601d246c07215335">data_structure::SkipList::displayList</a></div><div class="ttdeci">void displayList()</div><div class="ttdef"><b>Definition:</b> skip_list.cpp:187</div></div>
<div class="ttc" id="anamespacedata__structure_html"><div class="ttname"><a href="../../d1/db4/namespacedata__structure.html">data_structure</a></div><div class="ttdoc">Data-structure algorithms.</div></div>
<div class="ttc" id="aclassdata__structures_1_1_skip_list_html_a812611f80b8079268dbb19cc4e9bee5c"><div class="ttname"><a href="../../d4/d90/classdata__structures_1_1_skip_list.html#a812611f80b8079268dbb19cc4e9bee5c">data_structures::SkipList::displayList</a></div><div class="ttdeci">void displayList()</div><div class="ttdef"><b>Definition:</b> skip_list.cpp:187</div></div>
<div class="ttc" id="aclassdata__structures_1_1_skip_list_html_a3e249c2c35a8b7f5ffd2d77fee60d650"><div class="ttname"><a href="../../d4/d90/classdata__structures_1_1_skip_list.html#a3e249c2c35a8b7f5ffd2d77fee60d650">data_structures::SkipList::level</a></div><div class="ttdeci">int level</div><div class="ttdoc">Maximum level of the skiplist.</div><div class="ttdef"><b>Definition:</b> skip_list.cpp:56</div></div>
<div class="ttc" id="anamespacedata__structures_html_ac0d7e0be24da9f41bcb19745873c436a"><div class="ttname"><a href="../../d5/d3c/namespacedata__structures.html#ac0d7e0be24da9f41bcb19745873c436a">data_structures::MAX_LEVEL</a></div><div class="ttdeci">constexpr int MAX_LEVEL</div><div class="ttdoc">Maximum level of skip list.</div><div class="ttdef"><b>Definition:</b> skip_list.cpp:27</div></div>
<div class="ttc" id="aclassdata__structures_1_1_skip_list_html"><div class="ttname"><a href="../../d4/d90/classdata__structures_1_1_skip_list.html">data_structures::SkipList</a></div><div class="ttdef"><b>Definition:</b> skip_list.cpp:55</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 class="ttdoc">STL class.</div></div>
<div class="ttc" id="aclassdata__structure_1_1_skip_list_html_a4b8eb18c9ca24f53e9de91b74febd666"><div class="ttname"><a href="../../d1/d46/classdata__structure_1_1_skip_list.html#a4b8eb18c9ca24f53e9de91b74febd666">data_structure::SkipList::deleteElement</a></div><div class="ttdeci">void deleteElement(int key)</div><div class="ttdef"><b>Definition:</b> skip_list.cpp:131</div></div>
<div class="ttc" id="astack_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/container/stack.html">std::stack</a></div><div class="ttdoc">STL class.</div></div>
<div class="ttc" id="aclassdata__structure_1_1_skip_list_html_ae0c022174510fd9ca1b84d8e996cd1a5"><div class="ttname"><a href="../../d1/d46/classdata__structure_1_1_skip_list.html#ae0c022174510fd9ca1b84d8e996cd1a5">data_structure::SkipList::level</a></div><div class="ttdeci">int level</div><div class="ttdoc">Maximum level of the skiplist.</div><div class="ttdef"><b>Definition:</b> skip_list.cpp:56</div></div>
<div class="ttc" id="astructnode_html"><div class="ttname"><a href="../../d5/da1/structnode.html">node</a></div><div class="ttdef"><b>Definition:</b> avltree.cpp:13</div></div>
<div class="ttc" id="ahash__search_8cpp_html_a8ca8dcb494104d273679e219e53d0555"><div class="ttname"><a href="../../d1/df3/hash__search_8cpp.html#a8ca8dcb494104d273679e219e53d0555">node</a></div><div class="ttdeci">struct list node</div></div>
<div class="ttc" id="aclassdata__structure_1_1_skip_list_html"><div class="ttname"><a href="../../d1/d46/classdata__structure_1_1_skip_list.html">data_structure::SkipList</a></div><div class="ttdef"><b>Definition:</b> skip_list.cpp:55</div></div>
<div class="ttc" id="aqueue_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/container/queue.html">std::queue</a></div><div class="ttdoc">STL class.</div></div>
<div class="ttc" id="astructdata__structure_1_1_node_html_a089ebc844c81777652d4e577be0739c8"><div class="ttname"><a href="../../d3/d6f/structdata__structure_1_1_node.html#a089ebc844c81777652d4e577be0739c8">data_structure::Node::key</a></div><div class="ttdeci">int key</div><div class="ttdoc">key integer</div><div class="ttdef"><b>Definition:</b> skip_list.cpp:34</div></div>
<div class="ttc" id="askip__list_8cpp_html_ae66f6b31b5ad750f1fe042a706a4e3d4"><div class="ttname"><a href="../../d0/d5a/skip__list_8cpp.html#ae66f6b31b5ad750f1fe042a706a4e3d4">main</a></div><div class="ttdeci">int main()</div><div class="ttdef"><b>Definition:</b> skip_list.cpp:208</div></div>
<div class="ttc" id="apush_back_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/container/vector/push_back.html">std::vector::push_back</a></div><div class="ttdeci">T push_back(T... args)</div></div>
<div class="ttc" id="aclassdata__structure_1_1_skip_list_html_aed414cf88cfacb9554ecfd184b03fe04"><div class="ttname"><a href="../../d1/d46/classdata__structure_1_1_skip_list.html#aed414cf88cfacb9554ecfd184b03fe04">data_structure::SkipList::SkipList</a></div><div class="ttdeci">SkipList()</div><div class="ttdef"><b>Definition:</b> skip_list.cpp:64</div></div>
<div class="ttc" id="astructdata__structures_1_1_node_html"><div class="ttname"><a href="../../d9/d49/structdata__structures_1_1_node.html">data_structures::Node</a></div><div class="ttdef"><b>Definition:</b> skip_list.cpp:33</div></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="astructdata__structures_1_1_node_html_a6b973b0bded99b0c0bd84e887bf8c731"><div class="ttname"><a href="../../d9/d49/structdata__structures_1_1_node.html#a6b973b0bded99b0c0bd84e887bf8c731">data_structures::Node::value</a></div><div class="ttdeci">void * value</div><div class="ttdoc">pointer of value</div><div class="ttdef"><b>Definition:</b> skip_list.cpp:35</div></div>
<div class="ttc" id="aclassstack__linked_list_html"><div class="ttname"><a href="../../d2/dc4/classstack__linked_list.html">stack_linkedList</a></div><div class="ttdef"><b>Definition:</b> queue_using_linkedlist.cpp:10</div></div>
<div class="ttc" id="aqueue__using__two__stacks_8cpp_html_a831ded10ecad88c14a8e22b96f4c1863"><div class="ttname"><a href="../../df/dd0/queue__using__two__stacks_8cpp.html#a831ded10ecad88c14a8e22b96f4c1863">queue_test</a></div><div class="ttdeci">void queue_test()</div><div class="ttdef"><b>Definition:</b> queue_using_two_stacks.cpp:101</div></div>
<div class="ttc" id="aarray_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/container/array.html">std::array</a></div><div class="ttdoc">STL class.</div></div>
<div class="ttc" id="astructlinkedlist_html"><div class="ttname"><a href="../../d0/dff/structlinkedlist.html">linkedlist</a></div><div class="ttdef"><b>Definition:</b> queue_using_linkedlist.cpp:6</div></div>
<div class="ttc" id="astructdata__structure_1_1_node_html_a24580ec4e79f7bb82e55a9c4d8369a6e"><div class="ttname"><a href="../../d3/d6f/structdata__structure_1_1_node.html#a24580ec4e79f7bb82e55a9c4d8369a6e">data_structure::Node::value</a></div><div class="ttdeci">void * value</div><div class="ttdoc">pointer of value</div><div class="ttdef"><b>Definition:</b> skip_list.cpp:35</div></div>
<div class="ttc" id="astructdata__structure_1_1_node_html_a0e80ff706591f718f763c5a7feaa2394"><div class="ttname"><a href="../../d3/d6f/structdata__structure_1_1_node.html#a0e80ff706591f718f763c5a7feaa2394">data_structure::Node::forward</a></div><div class="ttdeci">std::vector&lt; std::shared_ptr&lt; Node &gt; &gt; forward</div><div class="ttdoc">nodes of the given one in all levels</div><div class="ttdef"><b>Definition:</b> skip_list.cpp:37</div></div>
<div class="ttc" id="aclassdata__structure_1_1_skip_list_html_a10800369c9efa08dd86de0ce552c874e"><div class="ttname"><a href="../../d1/d46/classdata__structure_1_1_skip_list.html#a10800369c9efa08dd86de0ce552c874e">data_structure::SkipList::randomLevel</a></div><div class="ttdeci">int randomLevel()</div><div class="ttdef"><b>Definition:</b> skip_list.cpp:75</div></div>
<div class="ttc" id="anamespacedata__structures_html"><div class="ttname"><a href="../../d5/d3c/namespacedata__structures.html">data_structures</a></div><div class="ttdoc">Data-structure algorithms.</div></div>
<div class="ttc" id="aclassstack_html_a5705c3926dcf5fd3f9c964467a50b81d"><div class="ttname"><a href="../../d1/dc2/classstack.html#a5705c3926dcf5fd3f9c964467a50b81d">stack::push</a></div><div class="ttdeci">void push(Type item)</div><div class="ttdef"><b>Definition:</b> stack.h:83</div></div>
<div class="ttc" id="astructdata__structures_1_1_node_html_ac75aa86a598357c5c882ec6a1174aa68"><div class="ttname"><a href="../../d9/d49/structdata__structures_1_1_node.html#ac75aa86a598357c5c882ec6a1174aa68">data_structures::Node::key</a></div><div class="ttdeci">int key</div><div class="ttdoc">key integer</div><div class="ttdef"><b>Definition:</b> skip_list.cpp:34</div></div>
<div class="ttc" id="aclassstack_html_ac512a3efdc84a5f5c9f53905c8e219b0"><div class="ttname"><a href="../../d1/dc2/classstack.html#ac512a3efdc84a5f5c9f53905c8e219b0">stack::size</a></div><div class="ttdeci">int size</div><div class="ttdoc">size of stack</div><div class="ttdef"><b>Definition:</b> stack.h:147</div></div>
<div class="ttc" id="arand_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/numeric/random/rand.html">std::rand</a></div><div class="ttdeci">T rand(T... args)</div></div>
<div class="ttc" id="aclassdata__structures_1_1_skip_list_html_a7ffc3688725b9d1ec6e5bb881a6e2ae4"><div class="ttname"><a href="../../d4/d90/classdata__structures_1_1_skip_list.html#a7ffc3688725b9d1ec6e5bb881a6e2ae4">data_structures::SkipList::SkipList</a></div><div class="ttdeci">SkipList()</div><div class="ttdef"><b>Definition:</b> skip_list.cpp:64</div></div>
<div class="ttc" id="astructnode_html_a135f25acadfbba644f848f1aa18d8350"><div class="ttname"><a href="../../d5/da1/structnode.html#a135f25acadfbba644f848f1aa18d8350">node::next</a></div><div class="ttdeci">node&lt; Type &gt; * next</div><div class="ttdoc">pointer to the next node instance</div><div class="ttdef"><b>Definition:</b> stack.h:18</div></div>
<div class="ttc" id="aclassstack_html_a21c0bb6ce7dcfe445cc12031977ea344"><div class="ttname"><a href="../../d1/dc2/classstack.html#a21c0bb6ce7dcfe445cc12031977ea344">stack::top</a></div><div class="ttdeci">Type top()</div><div class="ttdef"><b>Definition:</b> stack.h:93</div></div>
<div class="ttc" id="ahash__search_8cpp_html_a6e1a77282bc65ad359d753d25df23243"><div class="ttname"><a href="../../d1/df3/hash__search_8cpp.html#a6e1a77282bc65ad359d753d25df23243">data</a></div><div class="ttdeci">int data[MAX]</div><div class="ttdoc">test data</div><div class="ttdef"><b>Definition:</b> hash_search.cpp:24</div></div>
<div class="ttc" id="aqueue__using__two__stacks_8cpp_html_ae66f6b31b5ad750f1fe042a706a4e3d4"><div class="ttname"><a href="../../df/dd0/queue__using__two__stacks_8cpp.html#ae66f6b31b5ad750f1fe042a706a4e3d4">main</a></div><div class="ttdeci">int main()</div><div class="ttdef"><b>Definition:</b> queue_using_two_stacks.cpp:141</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="aclassstack_html_a5b64337ec34b12e98458bb9b9d5f8f83"><div class="ttname"><a href="../../d1/dc2/classstack.html#a5b64337ec34b12e98458bb9b9d5f8f83">stack::stack</a></div><div class="ttdeci">stack()</div><div class="ttdef"><b>Definition:</b> stack.h:41</div></div>
<div class="ttc" id="astructdata__structures_1_1_node_html_ac916d833aad2b9c41f01a92db2f8c48e"><div class="ttname"><a href="../../d9/d49/structdata__structures_1_1_node.html#ac916d833aad2b9c41f01a92db2f8c48e">data_structures::Node::forward</a></div><div class="ttdeci">std::vector&lt; std::shared_ptr&lt; Node &gt; &gt; forward</div><div class="ttdoc">nodes of the given one in all levels</div><div class="ttdef"><b>Definition:</b> skip_list.cpp:37</div></div>
<div class="ttc" id="aclassstack_html_a61370d5fbaf9ec6bca4a8c114c1058e1"><div class="ttname"><a href="../../d1/dc2/classstack.html#a61370d5fbaf9ec6bca4a8c114c1058e1">stack::operator=</a></div><div class="ttdeci">stack&lt; Type &gt; &amp; operator=(const stack&lt; Type &gt; &amp;otherStack)</div><div class="ttdef"><b>Definition:</b> stack.h:115</div></div>
<div class="ttc" id="aclassdata__structure_1_1_skip_list_html_a7aed753e3b47953229f5ac94f0fc9aad"><div class="ttname"><a href="../../d1/d46/classdata__structure_1_1_skip_list.html#a7aed753e3b47953229f5ac94f0fc9aad">data_structure::SkipList::header</a></div><div class="ttdeci">std::shared_ptr&lt; Node &gt; header</div><div class="ttdoc">Pointer to the header node.</div><div class="ttdef"><b>Definition:</b> skip_list.cpp:57</div></div>
<div class="ttc" id="aclassdata__structures_1_1_skip_list_html_a86925c53e139cc6c3f7df1e9003bb0b0"><div class="ttname"><a href="../../d4/d90/classdata__structures_1_1_skip_list.html#a86925c53e139cc6c3f7df1e9003bb0b0">data_structures::SkipList::deleteElement</a></div><div class="ttdeci">void deleteElement(int key)</div><div class="ttdef"><b>Definition:</b> skip_list.cpp:131</div></div>
<div class="ttc" id="anamespacestd_html"><div class="ttname"><a href="../../d8/dcc/namespacestd.html">std</a></div><div class="ttdoc">STL namespace.</div></div>
<div class="ttc" id="atower__of__hanoi_8cpp_html_a746d9a3984bba88fd6dd91978f6931ed"><div class="ttname"><a href="../../db/d3c/tower__of__hanoi_8cpp.html#a746d9a3984bba88fd6dd91978f6931ed">show</a></div><div class="ttdeci">void show(const struct tower *const F, const struct tower *const T, const struct tower *const U)</div><div class="ttdef"><b>Definition:</b> tower_of_hanoi.cpp:19</div></div>
<div class="ttc" id="aclassdata__structures_1_1_skip_list_html_aa3f3813e9896792fc86b296547689ba4"><div class="ttname"><a href="../../d4/d90/classdata__structures_1_1_skip_list.html#aa3f3813e9896792fc86b296547689ba4">data_structures::SkipList::randomLevel</a></div><div class="ttdeci">int randomLevel()</div><div class="ttdef"><b>Definition:</b> skip_list.cpp:75</div></div>
<div class="ttc" id="aclassstack_html"><div class="ttname"><a href="../../d1/dc2/classstack.html">stack</a></div><div class="ttdef"><b>Definition:</b> stack.h:26</div></div>
<div class="ttc" id="aclass_queue___array_html"><div class="ttname"><a href="../../d0/dd2/class_queue___array.html">Queue_Array</a></div><div class="ttdef"><b>Definition:</b> queue_using_array.cpp:13</div></div>
<div class="ttc" id="anamespacedata__structure_html_a039855c4d1684de1fec104057df9f26d"><div class="ttname"><a href="../../d1/db4/namespacedata__structure.html#a039855c4d1684de1fec104057df9f26d">data_structure::MAX_LEVEL</a></div><div class="ttdeci">constexpr int MAX_LEVEL</div><div class="ttdoc">Maximum level of skip list.</div><div class="ttdef"><b>Definition:</b> skip_list.cpp:27</div></div>
<div class="ttc" id="aclassstack_html_a67f65710c376f67d1ba3bde45a9cb628"><div class="ttname"><a href="../../d1/dc2/classstack.html#a67f65710c376f67d1ba3bde45a9cb628">stack::display</a></div><div class="ttdeci">void display()</div><div class="ttdef"><b>Definition:</b> stack.h:29</div></div>
<div class="ttc" id="aclassstack_html_a066e4505155b009913c47b2648b1067a"><div class="ttname"><a href="../../d1/dc2/classstack.html#a066e4505155b009913c47b2648b1067a">stack::isEmptyStack</a></div><div class="ttdeci">bool isEmptyStack()</div><div class="ttdef"><b>Definition:</b> stack.h:80</div></div>
<div class="ttc" id="astructnode_html_a42309387b3fa0237ec200c025071ad37"><div class="ttname"><a href="../../d5/da1/structnode.html#a42309387b3fa0237ec200c025071ad37">node::data</a></div><div class="ttdeci">Type data</div><div class="ttdoc">data at current node</div><div class="ttdef"><b>Definition:</b> stack.h:17</div></div>
<div class="ttc" id="atime_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/chrono/c/time.html">std::time</a></div><div class="ttdeci">T time(T... args)</div></div>
<div class="ttc" id="aclassstack_html_a7289037c059aaad492b4d68e6bd54453"><div class="ttname"><a href="../../d1/dc2/classstack.html#a7289037c059aaad492b4d68e6bd54453">stack::stackTop</a></div><div class="ttdeci">node&lt; Type &gt; * stackTop</div><div class="ttdef"><b>Definition:</b> stack.h:146</div></div>
<div class="ttc" id="aclassdata__structures_1_1_skip_list_html_ad7e392386d7db622185d6f7c718e4f16"><div class="ttname"><a href="../../d4/d90/classdata__structures_1_1_skip_list.html#ad7e392386d7db622185d6f7c718e4f16">data_structures::SkipList::header</a></div><div class="ttdeci">std::shared_ptr&lt; Node &gt; header</div><div class="ttdoc">Pointer to the header node.</div><div class="ttdef"><b>Definition:</b> skip_list.cpp:57</div></div>
<div class="ttc" id="aclassstack_html_a0ac1dba9c7019acdc825b31d06eb0b71"><div class="ttname"><a href="../../d1/dc2/classstack.html#a0ac1dba9c7019acdc825b31d06eb0b71">stack::~stack</a></div><div class="ttdeci">~stack()</div><div class="ttdef"><b>Definition:</b> stack.h:77</div></div>
<div class="ttc" id="aparanthesis__matching_8cpp_html_aae41c72130114bf31204cde6873b6095"><div class="ttname"><a href="../../dc/dc5/paranthesis__matching_8cpp.html#aae41c72130114bf31204cde6873b6095">push</a></div><div class="ttdeci">void push(char ch)</div><div class="ttdoc">push byte to stack variable</div><div class="ttdef"><b>Definition:</b> paranthesis_matching.cpp:26</div></div>
<div class="ttc" id="aparanthesis__matching_8cpp_html_a6d25c7dfbfeb52c3cb9d1b56ab49b664"><div class="ttname"><a href="../../dc/dc5/paranthesis__matching_8cpp.html#a6d25c7dfbfeb52c3cb9d1b56ab49b664">pop</a></div><div class="ttdeci">char pop()</div><div class="ttdoc">pop a byte out of stack variable</div><div class="ttdef"><b>Definition:</b> paranthesis_matching.cpp:29</div></div>
<div class="ttc" id="abasic_istream_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/io/basic_istream.html">std::cin</a></div></div>
<div class="ttc" id="anamespacedata__structures_html_a903639d8e6f955dd8d5c263781455d61"><div class="ttname"><a href="../../d5/d3c/namespacedata__structures.html#a903639d8e6f955dd8d5c263781455d61">data_structures::PROBABILITY</a></div><div class="ttdeci">constexpr float PROBABILITY</div><div class="ttdoc">Current probability for &quot;coin toss&quot;.</div><div class="ttdef"><b>Definition:</b> skip_list.cpp:28</div></div>
<div class="ttc" id="aclassdata__structures_1_1_skip_list_html_a2249e3ab2f8a0f2334b90635202de4f2"><div class="ttname"><a href="../../d4/d90/classdata__structures_1_1_skip_list.html#a2249e3ab2f8a0f2334b90635202de4f2">data_structures::SkipList::searchElement</a></div><div class="ttdeci">void * searchElement(int key)</div><div class="ttdef"><b>Definition:</b> skip_list.cpp:166</div></div>
<div class="ttc" id="aclassdata__structures_1_1_skip_list_html_a40a4042bdf0b6683b5f21ae7854de8a9"><div class="ttname"><a href="../../d4/d90/classdata__structures_1_1_skip_list.html#a40a4042bdf0b6683b5f21ae7854de8a9">data_structures::SkipList::insertElement</a></div><div class="ttdeci">void insertElement(int key, void *value)</div><div class="ttdef"><b>Definition:</b> skip_list.cpp:89</div></div>
<div class="ttc" id="aexit_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/utility/program/exit.html">std::exit</a></div><div class="ttdeci">T exit(T... args)</div></div>
<div class="ttc" id="aclassstack_html_a5cc5efbbd4ea14b3e378580f1388423b"><div class="ttname"><a href="../../d1/dc2/classstack.html#a5cc5efbbd4ea14b3e378580f1388423b">stack::clear</a></div><div class="ttdeci">void clear()</div><div class="ttdef"><b>Definition:</b> stack.h:112</div></div>
<div class="ttc" id="anext_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/iterator/next.html">std::next</a></div><div class="ttdeci">T next(T... args)</div></div>

View File

@@ -657,7 +657,6 @@ $(document).ready(function(){initNavTree('d8/d95/vector__ops_8hpp_source.html','
<div class="ttc" id="amove_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/utility/move.html">std::move</a></div><div class="ttdeci">T move(T... args)</div></div>
<div class="ttc" id="anamespacemachine__learning_html_a2055c2f3a076b3d4146aade5eb35666d"><div class="ttname"><a href="../../d8/d77/namespacemachine__learning.html#a2055c2f3a076b3d4146aade5eb35666d">machine_learning::operator/</a></div><div class="ttdeci">std::vector&lt; std::valarray&lt; T &gt; &gt; operator/(const std::vector&lt; std::valarray&lt; T &gt;&gt; &amp;A, const T &amp;val)</div><div class="ttdef"><b>Definition:</b> vector_ops.hpp:365</div></div>
<div class="ttc" id="aordinary__least__squares__regressor_8cpp_html_a67249e31221231cf3aaf3cfd870372d0"><div class="ttname"><a href="../../dc/d38/ordinary__least__squares__regressor_8cpp.html#a67249e31221231cf3aaf3cfd870372d0">operator+</a></div><div class="ttdeci">std::vector&lt; T &gt; operator+(std::vector&lt; T &gt; const &amp;A, std::vector&lt; T &gt; const &amp;B)</div><div class="ttdef"><b>Definition:</b> ordinary_least_squares_regressor.cpp:204</div></div>
<div class="ttc" id="aclassdata__structure_1_1trie_html_a8b9a51c90291a3402904c8cd16bbe30d"><div class="ttname"><a href="../../d0/d6e/classdata__structure_1_1trie.html#a8b9a51c90291a3402904c8cd16bbe30d">data_structure::trie::insert</a></div><div class="ttdeci">void insert(const std::string &amp;str)</div><div class="ttdef"><b>Definition:</b> trie_tree.cpp:77</div></div>
<div class="ttc" id="anamespacelinear__probing_html_a75d779938df7ebc68581d922b60a2541"><div class="ttname"><a href="../../d8/d89/namespacelinear__probing.html#a75d779938df7ebc68581d922b60a2541">linear_probing::putProber</a></div><div class="ttdeci">bool putProber(const Entry &amp;entry, int key)</div><div class="ttdef"><b>Definition:</b> linear_probing_hash_table.cpp:98</div></div>
<div class="ttc" id="anamespacemachine__learning_html_ad9d119e7520fa5c2d2428433f578c0bc"><div class="ttname"><a href="../../d8/d77/namespacemachine__learning.html#ad9d119e7520fa5c2d2428433f578c0bc">machine_learning::pop_front</a></div><div class="ttdeci">std::valarray&lt; T &gt; pop_front(const std::valarray&lt; T &gt; &amp;A)</div><div class="ttdef"><b>Definition:</b> vector_ops.hpp:102</div></div>
<div class="ttc" id="anamespacedouble__hashing_html"><div class="ttname"><a href="../../d0/d65/namespacedouble__hashing.html">double_hashing</a></div><div class="ttdoc">An implementation of hash table using double hashing algorithm.</div></div>
@@ -666,11 +665,11 @@ $(document).ready(function(){initNavTree('d8/d95/vector__ops_8hpp_source.html','
<div class="ttc" id="apair_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/utility/pair.html">std::pair</a></div></div>
<div class="ttc" id="aclassmachine__learning_1_1neural__network_1_1_neural_network_html_a8973f687738ddd76f93b5562feae4027"><div class="ttname"><a href="../../d4/df4/classmachine__learning_1_1neural__network_1_1_neural_network.html#a8973f687738ddd76f93b5562feae4027">machine_learning::neural_network::NeuralNetwork::~NeuralNetwork</a></div><div class="ttdeci">~NeuralNetwork()=default</div></div>
<div class="ttc" id="aclassgraph_1_1_rooted_tree_html_a2ee3ad1161ac2532da30c3e22c265ad3"><div class="ttname"><a href="../../d0/d58/classgraph_1_1_rooted_tree.html#a2ee3ad1161ac2532da30c3e22c265ad3">graph::RootedTree::level</a></div><div class="ttdeci">std::vector&lt; int &gt; level</div><div class="ttdoc">Stores the distance from the root.</div><div class="ttdef"><b>Definition:</b> lowest_common_ancestor.cpp:106</div></div>
<div class="ttc" id="anamespacedata__structure_html"><div class="ttname"><a href="../../d1/db4/namespacedata__structure.html">data_structure</a></div><div class="ttdoc">Data-structure algorithms.</div></div>
<div class="ttc" id="anamespacedouble__hashing_html_a5d06e4598569526294f10104875f6824"><div class="ttname"><a href="../../d0/d65/namespacedouble__hashing.html#a5d06e4598569526294f10104875f6824">double_hashing::removalInfo</a></div><div class="ttdeci">void removalInfo(int key)</div><div class="ttdef"><b>Definition:</b> double_hash_hash_table.cpp:227</div></div>
<div class="ttc" id="aclasshash__chain_html_a55aa5c6753cb8853152d469c375d946a"><div class="ttname"><a href="../../dd/d1c/classhash__chain.html#a55aa5c6753cb8853152d469c375d946a">hash_chain::find</a></div><div class="ttdeci">bool find(int x, int h) const</div><div class="ttdoc">Find if a value and corresponding hash exist.</div><div class="ttdef"><b>Definition:</b> chaining.cpp:101</div></div>
<div class="ttc" id="acos_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/numeric/math/cos.html">std::cos</a></div><div class="ttdeci">T cos(T... args)</div></div>
<div class="ttc" id="aclassmachine__learning_1_1adaline_html_a0acbe32aaab897e7939e5b0454035b8c"><div class="ttname"><a href="../../d6/d30/classmachine__learning_1_1adaline.html#a0acbe32aaab897e7939e5b0454035b8c">machine_learning::adaline::adaline</a></div><div class="ttdeci">adaline(int num_features, const double eta=0.01f, const double accuracy=1e-5)</div><div class="ttdef"><b>Definition:</b> adaline_learning.cpp:55</div></div>
<div class="ttc" id="aclassdata__structures_1_1trie_html_a87d8bf99aea936f9381141753f1e90a8"><div class="ttname"><a href="../../d0/d3e/classdata__structures_1_1trie.html#a87d8bf99aea936f9381141753f1e90a8">data_structures::trie::trie</a></div><div class="ttdeci">trie()=default</div><div class="ttdoc">Class default constructor.</div></div>
<div class="ttc" id="anamespacegeometry_html"><div class="ttname"><a href="../../d5/d5f/namespacegeometry.html">geometry</a></div><div class="ttdoc">Geometry algorithms.</div></div>
<div class="ttc" id="aclass_trie_html"><div class="ttname"><a href="../../dd/d2f/class_trie.html">Trie</a></div><div class="ttdef"><b>Definition:</b> trie_modern.cpp:16</div></div>
<div class="ttc" id="anamespacelinear__probing_html_a6a082dc1426a79f866cee6b370df37b0"><div class="ttname"><a href="../../d8/d89/namespacelinear__probing.html#a6a082dc1426a79f866cee6b370df37b0">linear_probing::rehash</a></div><div class="ttdeci">void rehash()</div><div class="ttdef"><b>Definition:</b> linear_probing_hash_table.cpp:138</div></div>
@@ -680,6 +679,7 @@ $(document).ready(function(){initNavTree('d8/d95/vector__ops_8hpp_source.html','
<div class="ttc" id="anamespacequadratic__probing_html"><div class="ttname"><a href="../../d4/dd2/namespacequadratic__probing.html">quadratic_probing</a></div><div class="ttdoc">An implementation of hash table using quadratic probing algorithm.</div></div>
<div class="ttc" id="akohonen__som__topology_8cpp_html_a1440a7779ac56f47a3f355ce4a8c7da0"><div class="ttname"><a href="../../d4/def/kohonen__som__topology_8cpp.html#a1440a7779ac56f47a3f355ce4a8c7da0">test1</a></div><div class="ttdeci">void test1()</div><div class="ttdef"><b>Definition:</b> kohonen_som_topology.cpp:369</div></div>
<div class="ttc" id="asize_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/string/basic_string/size.html">std::string::size</a></div><div class="ttdeci">T size(T... args)</div></div>
<div class="ttc" id="aclassdata__structures_1_1trie_html_a0ab94bc6417e3f59fab33cea5b64d546"><div class="ttname"><a href="../../d0/d3e/classdata__structures_1_1trie.html#a0ab94bc6417e3f59fab33cea5b64d546">data_structures::trie::insert</a></div><div class="ttdeci">void insert(const std::string &amp;str)</div><div class="ttdef"><b>Definition:</b> trie_tree.cpp:77</div></div>
<div class="ttc" id="aclassmachine__learning_1_1adaline_html_a74e3c6c037b67895014414c5d75465e5"><div class="ttname"><a href="../../d6/d30/classmachine__learning_1_1adaline.html#a74e3c6c037b67895014414c5d75465e5">machine_learning::adaline::fit</a></div><div class="ttdeci">double fit(const std::vector&lt; double &gt; &amp;x, const int &amp;y)</div><div class="ttdef"><b>Definition:</b> adaline_learning.cpp:119</div></div>
<div class="ttc" id="adouble__hash__hash__table_8cpp_html_ae66f6b31b5ad750f1fe042a706a4e3d4"><div class="ttname"><a href="../../d6/d80/double__hash__hash__table_8cpp.html#ae66f6b31b5ad750f1fe042a706a4e3d4">main</a></div><div class="ttdeci">int main()</div><div class="ttdef"><b>Definition:</b> double_hash_hash_table.cpp:250</div></div>
<div class="ttc" id="aclassgeometry_1_1jarvis_1_1_convexhull_html_a8306e48040a8570e164c58d1c530f870"><div class="ttname"><a href="../../d4/dde/classgeometry_1_1jarvis_1_1_convexhull.html#a8306e48040a8570e164c58d1c530f870">geometry::jarvis::Convexhull::Convexhull</a></div><div class="ttdeci">Convexhull(const std::vector&lt; Point &gt; &amp;pointList)</div><div class="ttdef"><b>Definition:</b> jarvis_algorithm.cpp:66</div></div>
@@ -743,6 +743,7 @@ $(document).ready(function(){initNavTree('d8/d95/vector__ops_8hpp_source.html','
<div class="ttc" id="aclasshash__chain_html_ae8457d13620497fa2046ac566252c4b0"><div class="ttname"><a href="../../dd/d1c/classhash__chain.html#ae8457d13620497fa2046ac566252c4b0">hash_chain::head</a></div><div class="ttdeci">std::vector&lt; std::shared_ptr&lt; Node &gt; &gt; head</div><div class="ttdoc">array of nodes</div><div class="ttdef"><b>Definition:</b> chaining.cpp:24</div></div>
<div class="ttc" id="afront_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/container/queue/front.html">std::queue::front</a></div><div class="ttdeci">T front(T... args)</div></div>
<div class="ttc" id="aclassmachine__learning_1_1neural__network_1_1_neural_network_html_a173bb71780af6953ec2e307a4c74b025"><div class="ttname"><a href="../../d4/df4/classmachine__learning_1_1neural__network_1_1_neural_network.html#a173bb71780af6953ec2e307a4c74b025">machine_learning::neural_network::NeuralNetwork::NeuralNetwork</a></div><div class="ttdeci">NeuralNetwork(NeuralNetwork &amp;&amp;)=default</div></div>
<div class="ttc" id="aclassdata__structures_1_1trie_html"><div class="ttname"><a href="../../d0/d3e/classdata__structures_1_1trie.html">data_structures::trie</a></div><div class="ttdoc">Trie implementation for small-case English alphabets a-z</div><div class="ttdef"><b>Definition:</b> trie_tree.cpp:25</div></div>
<div class="ttc" id="asort_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/algorithm/sort.html">std::sort</a></div><div class="ttdeci">T sort(T... args)</div></div>
<div class="ttc" id="anamespacemachine__learning_html_a8e8b54aaa62ad7f906aec0756ca3a500"><div class="ttname"><a href="../../d8/d77/namespacemachine__learning.html#a8e8b54aaa62ad7f906aec0756ca3a500">machine_learning::operator&lt;&lt;</a></div><div class="ttdeci">std::ostream &amp; operator&lt;&lt;(std::ostream &amp;out, std::vector&lt; std::valarray&lt; T &gt;&gt; const &amp;A)</div><div class="ttdef"><b>Definition:</b> vector_ops.hpp:32</div></div>
<div class="ttc" id="aclassmachine__learning_1_1neural__network_1_1layers_1_1_dense_layer_html_a6385ad4d8186b8a74b17e4a8dc41da11"><div class="ttname"><a href="../../dc/d93/classmachine__learning_1_1neural__network_1_1layers_1_1_dense_layer.html#a6385ad4d8186b8a74b17e4a8dc41da11">machine_learning::neural_network::layers::DenseLayer::operator=</a></div><div class="ttdeci">DenseLayer &amp; operator=(DenseLayer &amp;&amp;)=default</div></div>
@@ -769,11 +770,10 @@ $(document).ready(function(){initNavTree('d8/d95/vector__ops_8hpp_source.html','
<div class="ttc" id="aneural__network_8cpp_html_aa8dca7b867074164d5f45b0f3851269d"><div class="ttname"><a href="../../d2/d58/neural__network_8cpp.html#aa8dca7b867074164d5f45b0f3851269d">test</a></div><div class="ttdeci">static void test()</div><div class="ttdef"><b>Definition:</b> neural_network.cpp:805</div></div>
<div class="ttc" id="aclock_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/chrono/c/clock.html">std::clock</a></div><div class="ttdeci">T clock(T... args)</div></div>
<div class="ttc" id="akohonen__som__trace_8cpp_html_a3c04138a5bfe5d72780bb7e82a18e627"><div class="ttname"><a href="../../d9/d49/kohonen__som__trace_8cpp.html#a3c04138a5bfe5d72780bb7e82a18e627">main</a></div><div class="ttdeci">int main(int argc, char **argv)</div><div class="ttdef"><b>Definition:</b> kohonen_som_trace.cpp:457</div></div>
<div class="ttc" id="aclassdata__structure_1_1trie_html"><div class="ttname"><a href="../../d0/d6e/classdata__structure_1_1trie.html">data_structure::trie</a></div><div class="ttdoc">Trie implementation for small-case English alphabets a-z</div><div class="ttdef"><b>Definition:</b> trie_tree.cpp:25</div></div>
<div class="ttc" id="aclassdata__structures_1_1trie_html_a4cb0f775b5a4bc14a6d39b5c93883eb6"><div class="ttname"><a href="../../d0/d3e/classdata__structures_1_1trie.html#a4cb0f775b5a4bc14a6d39b5c93883eb6">data_structures::trie::isEndofWord</a></div><div class="ttdeci">bool isEndofWord</div><div class="ttdoc">identifier if a node is terminal node</div><div class="ttdef"><b>Definition:</b> trie_tree.cpp:30</div></div>
<div class="ttc" id="aclass_trie_html_afd8b79959009b554e98ea7128b2886f2"><div class="ttname"><a href="../../dd/d2f/class_trie.html#afd8b79959009b554e98ea7128b2886f2">Trie::insert</a></div><div class="ttdeci">void insert(const std::string &amp;word)</div><div class="ttdef"><b>Definition:</b> trie_modern.cpp:109</div></div>
<div class="ttc" id="aordinary__least__squares__regressor_8cpp_html_a98eb5807f21b783c341cab402ced6732"><div class="ttname"><a href="../../dc/d38/ordinary__least__squares__regressor_8cpp.html#a98eb5807f21b783c341cab402ced6732">operator&lt;&lt;</a></div><div class="ttdeci">std::ostream &amp; operator&lt;&lt;(std::ostream &amp;out, std::vector&lt; std::vector&lt; T &gt;&gt; const &amp;v)</div><div class="ttdef"><b>Definition:</b> ordinary_least_squares_regressor.cpp:22</div></div>
<div class="ttc" id="aclass_cycle_check_html_ad9a270ffba3a68539b92272c702e3474"><div class="ttname"><a href="../../d3/dbb/class_cycle_check.html#ad9a270ffba3a68539b92272c702e3474">CycleCheck::isCyclicDFS</a></div><div class="ttdeci">static bool isCyclicDFS(Graph const &amp;graph)</div><div class="ttdef"><b>Definition:</b> cycle_check_directed_graph.cpp:212</div></div>
<div class="ttc" id="aclassdata__structure_1_1trie_html_a0bc4f25351be960f3570e562cfb4a070"><div class="ttname"><a href="../../d0/d6e/classdata__structure_1_1trie.html#a0bc4f25351be960f3570e562cfb4a070">data_structure::trie::isEndofWord</a></div><div class="ttdeci">bool isEndofWord</div><div class="ttdoc">identifier if a node is terminal node</div><div class="ttdef"><b>Definition:</b> trie_tree.cpp:30</div></div>
<div class="ttc" id="agraph_2dijkstra_8cpp_html_a88ec9ad42717780d6caaff9d3d6977f9"><div class="ttname"><a href="../../d7/d1e/graph_2dijkstra_8cpp.html#a88ec9ad42717780d6caaff9d3d6977f9">tests</a></div><div class="ttdeci">void tests()</div><div class="ttdef"><b>Definition:</b> dijkstra.cpp:113</div></div>
<div class="ttc" id="akohonen__som__topology_8cpp_html_a6d0455dd5c30adda100e95f0423c786e"><div class="ttname"><a href="../../d4/def/kohonen__som__topology_8cpp.html#a6d0455dd5c30adda100e95f0423c786e">test3</a></div><div class="ttdeci">void test3()</div><div class="ttdef"><b>Definition:</b> kohonen_som_topology.cpp:537</div></div>
<div class="ttc" id="aclass_cycle_check_html"><div class="ttname"><a href="../../d3/dbb/class_cycle_check.html">CycleCheck</a></div><div class="ttdef"><b>Definition:</b> cycle_check_directed_graph.cpp:158</div></div>
@@ -792,7 +792,6 @@ $(document).ready(function(){initNavTree('d8/d95/vector__ops_8hpp_source.html','
<div class="ttc" id="aadaline__learning_8cpp_html_a52053d88ea1bcbbed9aca67ab4eeb499"><div class="ttname"><a href="../../d5/db0/adaline__learning_8cpp.html#a52053d88ea1bcbbed9aca67ab4eeb499">test1</a></div><div class="ttdeci">void test1(double eta=0.01)</div><div class="ttdef"><b>Definition:</b> adaline_learning.cpp:224</div></div>
<div class="ttc" id="aat_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/container/vector/at.html">std::vector::at</a></div><div class="ttdeci">T at(T... args)</div></div>
<div class="ttc" id="anamespaceneural__network_html"><div class="ttname"><a href="../../d0/d2e/namespaceneural__network.html">neural_network</a></div><div class="ttdoc">Neural Network or Multilayer Perceptron.</div></div>
<div class="ttc" id="aclassdata__structure_1_1trie_html_a36a41761149fd541850834aef29f9b7f"><div class="ttname"><a href="../../d0/d6e/classdata__structure_1_1trie.html#a36a41761149fd541850834aef29f9b7f">data_structure::trie::trie</a></div><div class="ttdeci">trie()=default</div><div class="ttdoc">Class default constructor.</div></div>
<div class="ttc" id="anamespacegraph_html_a2e6017a54d445819ede9adcf33240e1a"><div class="ttname"><a href="../../df/dce/namespacegraph.html#a2e6017a54d445819ede9adcf33240e1a">graph::depth_first_search</a></div><div class="ttdeci">void depth_first_search(const std::vector&lt; std::vector&lt; size_t &gt;&gt; &amp;adj, size_t start)</div><div class="ttdoc">initiates depth first search algorithm.</div><div class="ttdef"><b>Definition:</b> depth_first_search.cpp:99</div></div>
<div class="ttc" id="aclasshash__chain_html_ae9ddce410015ed8dda6380130d82d6c2"><div class="ttname"><a href="../../dd/d1c/classhash__chain.html#ae9ddce410015ed8dda6380130d82d6c2">hash_chain::_mod</a></div><div class="ttdeci">int _mod</div><div class="ttdoc">modulus of the class</div><div class="ttdef"><b>Definition:</b> chaining.cpp:27</div></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>
@@ -819,7 +818,6 @@ $(document).ready(function(){initNavTree('d8/d95/vector__ops_8hpp_source.html','
<div class="ttc" id="anamespacemachine__learning_html_a725d4ccceda4f32c96348ba1d593cd3c"><div class="ttname"><a href="../../d8/d77/namespacemachine__learning.html#a725d4ccceda4f32c96348ba1d593cd3c">machine_learning::insert_element</a></div><div class="ttdeci">std::valarray&lt; T &gt; insert_element(const std::valarray&lt; T &gt; &amp;A, const T &amp;ele)</div><div class="ttdef"><b>Definition:</b> vector_ops.hpp:85</div></div>
<div class="ttc" id="amath_2armstrong__number_8cpp_html_ae1a3968e7947464bee7714f6d43b7002"><div class="ttname"><a href="../../d4/d5d/math_2armstrong__number_8cpp.html#ae1a3968e7947464bee7714f6d43b7002">test</a></div><div class="ttdeci">void test()</div><div class="ttdef"><b>Definition:</b> armstrong_number.cpp:59</div></div>
<div class="ttc" id="anamespacequadratic__probing_html_a00ebcc6d39653eccc26f8432efbfc8d9"><div class="ttname"><a href="../../d4/dd2/namespacequadratic__probing.html#a00ebcc6d39653eccc26f8432efbfc8d9">quadratic_probing::add</a></div><div class="ttdeci">void add(int key)</div><div class="ttdef"><b>Definition:</b> quadratic_probing_hash_table.cpp:182</div></div>
<div class="ttc" id="aclassdata__structure_1_1trie_html_a3c243c5c7221799ea5edae04c9c45129"><div class="ttname"><a href="../../d0/d6e/classdata__structure_1_1trie.html#a3c243c5c7221799ea5edae04c9c45129">data_structure::trie::NUM_CHARS</a></div><div class="ttdeci">static constexpr uint8_t NUM_CHARS</div><div class="ttdoc">Number of alphabets.</div><div class="ttdef"><b>Definition:</b> trie_tree.cpp:27</div></div>
<div class="ttc" id="aclose_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/io/basic_ofstream/close.html">std::ofstream::close</a></div><div class="ttdeci">T close(T... args)</div></div>
<div class="ttc" id="aclassmachine__learning_1_1neural__network_1_1_neural_network_html_acd397b51fcf8f690b03e406ada8c9d13"><div class="ttname"><a href="../../d4/df4/classmachine__learning_1_1neural__network_1_1_neural_network.html#acd397b51fcf8f690b03e406ada8c9d13">machine_learning::neural_network::NeuralNetwork::__detailed_single_prediction</a></div><div class="ttdeci">std::vector&lt; std::vector&lt; std::valarray&lt; double &gt; &gt; &gt; __detailed_single_prediction(const std::vector&lt; std::valarray&lt; double &gt;&gt; &amp;X)</div><div class="ttdef"><b>Definition:</b> neural_network.cpp:289</div></div>
<div class="ttc" id="aneural__network_8cpp_html_a45d3e30406712ada3d9713ece3c1b153"><div class="ttname"><a href="../../d2/d58/neural__network_8cpp.html#a45d3e30406712ada3d9713ece3c1b153">machine_learning::neural_network::util_functions::square</a></div><div class="ttdeci">double square(const double &amp;x)</div><div class="ttdef"><b>Definition:</b> neural_network.cpp:106</div></div>
@@ -839,10 +837,10 @@ $(document).ready(function(){initNavTree('d8/d95/vector__ops_8hpp_source.html','
<div class="ttc" id="akohonen__som__topology_8cpp_html_ab3081e021270ba21a9fd88646f6a6e26"><div class="ttname"><a href="../../d4/def/kohonen__som__topology_8cpp.html#ab3081e021270ba21a9fd88646f6a6e26">test_3d_classes1</a></div><div class="ttdeci">void test_3d_classes1(std::vector&lt; std::valarray&lt; double &gt;&gt; *data)</div><div class="ttdef"><b>Definition:</b> kohonen_som_topology.cpp:411</div></div>
<div class="ttc" id="afibonacci__fast_8cpp_html_a5712edca101204eca8accdb1e096707f"><div class="ttname"><a href="../../d4/d32/fibonacci__fast_8cpp.html#a5712edca101204eca8accdb1e096707f">fib</a></div><div class="ttdeci">uint64_t fib(uint64_t n)</div><div class="ttdef"><b>Definition:</b> fibonacci_fast.cpp:30</div></div>
<div class="ttc" id="anamespacequadratic__probing_html_ada6f1f44f7e83b0094fbcbe170788486"><div class="ttname"><a href="../../d4/dd2/namespacequadratic__probing.html#ada6f1f44f7e83b0094fbcbe170788486">quadratic_probing::rehash</a></div><div class="ttdeci">void rehash()</div><div class="ttdef"><b>Definition:</b> quadratic_probing_hash_table.cpp:160</div></div>
<div class="ttc" id="anamespacedata__structures_html"><div class="ttname"><a href="../../d5/d3c/namespacedata__structures.html">data_structures</a></div><div class="ttdoc">Data-structure algorithms.</div></div>
<div class="ttc" id="akohonen__som__topology_8cpp_html_a0283886819c7c140a023582b7269e2d0"><div class="ttname"><a href="../../d4/def/kohonen__som__topology_8cpp.html#a0283886819c7c140a023582b7269e2d0">test2</a></div><div class="ttdeci">void test2()</div><div class="ttdef"><b>Definition:</b> kohonen_som_topology.cpp:451</div></div>
<div class="ttc" id="astruct_segment_intersection_html_a008941b2272866c64cdaf959afa939bf"><div class="ttname"><a href="../../d4/db4/struct_segment_intersection.html#a008941b2272866c64cdaf959afa939bf">SegmentIntersection::on_segment</a></div><div class="ttdeci">bool on_segment(Point first_point, Point second_point, Point third_point)</div><div class="ttdef"><b>Definition:</b> line_segment_intersection.cpp:75</div></div>
<div class="ttc" id="aclassgraph_1_1is__graph__bipartite_1_1_graph_html_a9b0c6400693a5cfff971f768dd5ca5ca"><div class="ttname"><a href="../../de/d00/classgraph_1_1is__graph__bipartite_1_1_graph.html#a9b0c6400693a5cfff971f768dd5ca5ca">graph::is_graph_bipartite::Graph::is_bipartite</a></div><div class="ttdeci">bool is_bipartite()</div><div class="ttdoc">function to add edges to our graph</div><div class="ttdef"><b>Definition:</b> is_graph_bipartite.cpp:106</div></div>
<div class="ttc" id="aclassdata__structure_1_1trie_html_a98a0d54a781a680903eac14085fcbc2e"><div class="ttname"><a href="../../d0/d6e/classdata__structure_1_1trie.html#a98a0d54a781a680903eac14085fcbc2e">data_structure::trie::deleteString</a></div><div class="ttdeci">bool deleteString(const std::string &amp;str, int index)</div><div class="ttdef"><b>Definition:</b> trie_tree.cpp:134</div></div>
<div class="ttc" id="anamespacedouble__hashing_html_af4981819aae8bc7e7beeaef02615e30d"><div class="ttname"><a href="../../d0/d65/namespacedouble__hashing.html#af4981819aae8bc7e7beeaef02615e30d">double_hashing::rehash</a></div><div class="ttdeci">void rehash()</div><div class="ttdef"><b>Definition:</b> double_hash_hash_table.cpp:161</div></div>
<div class="ttc" id="amatrix__exponentiation_8cpp_html_a600eaf353befc174637855795f12d258"><div class="ttname"><a href="../../d7/d35/matrix__exponentiation_8cpp.html#a600eaf353befc174637855795f12d258">endl</a></div><div class="ttdeci">#define endl</div><div class="ttdef"><b>Definition:</b> matrix_exponentiation.cpp:36</div></div>
<div class="ttc" id="aclassstack_html_a5705c3926dcf5fd3f9c964467a50b81d"><div class="ttname"><a href="../../d1/dc2/classstack.html#a5705c3926dcf5fd3f9c964467a50b81d">stack::push</a></div><div class="ttdeci">void push(Type item)</div><div class="ttdef"><b>Definition:</b> stack.h:83</div></div>
@@ -853,8 +851,10 @@ $(document).ready(function(){initNavTree('d8/d95/vector__ops_8hpp_source.html','
<div class="ttc" id="anamespacedouble__hashing_html_a1e901418c759627557eff359b8db38cd"><div class="ttname"><a href="../../d0/d65/namespacedouble__hashing.html#a1e901418c759627557eff359b8db38cd">double_hashing::display</a></div><div class="ttdeci">void display()</div><div class="ttdef"><b>Definition:</b> double_hash_hash_table.cpp:143</div></div>
<div class="ttc" id="anamespacedouble__hashing_html_a28083ecac6eb94b643281875c8665931"><div class="ttname"><a href="../../d0/d65/namespacedouble__hashing.html#a28083ecac6eb94b643281875c8665931">double_hashing::remove</a></div><div class="ttdeci">void remove(int key)</div><div class="ttdef"><b>Definition:</b> double_hash_hash_table.cpp:199</div></div>
<div class="ttc" id="anamespacegraph_html_a59b4441a0e447469e9a4f61c87f33102"><div class="ttname"><a href="../../df/dce/namespacegraph.html#a59b4441a0e447469e9a4f61c87f33102">graph::add_undirected_edge</a></div><div class="ttdeci">void add_undirected_edge(std::vector&lt; std::vector&lt; int &gt;&gt; *graph, int u, int v)</div><div class="ttdoc">Adds an undirected edge from vertex u to vertex v. Essentially adds too directed edges to the adjacen...</div><div class="ttdef"><b>Definition:</b> breadth_first_search.cpp:81</div></div>
<div class="ttc" id="aclassdata__structures_1_1trie_html_a4bfac4be6ed1a34c7159eddb42469191"><div class="ttname"><a href="../../d0/d3e/classdata__structures_1_1trie.html#a4bfac4be6ed1a34c7159eddb42469191">data_structures::trie::NUM_CHARS</a></div><div class="ttdeci">static constexpr uint8_t NUM_CHARS</div><div class="ttdoc">Number of alphabets.</div><div class="ttdef"><b>Definition:</b> trie_tree.cpp:27</div></div>
<div class="ttc" id="aclassgraph_1_1is__graph__bipartite_1_1_graph_html_ab0efcfa04fff8616aff0062522d1483f"><div class="ttname"><a href="../../de/d00/classgraph_1_1is__graph__bipartite_1_1_graph.html#ab0efcfa04fff8616aff0062522d1483f">graph::is_graph_bipartite::Graph::adj</a></div><div class="ttdeci">std::vector&lt; std::vector&lt; int &gt; &gt; adj</div><div class="ttdoc">adj stores the graph as an adjacency list</div><div class="ttdef"><b>Definition:</b> is_graph_bipartite.cpp:56</div></div>
<div class="ttc" id="ajarvis__algorithm_8cpp_html_ae66f6b31b5ad750f1fe042a706a4e3d4"><div class="ttname"><a href="../../d4/d8d/jarvis__algorithm_8cpp.html#ae66f6b31b5ad750f1fe042a706a4e3d4">main</a></div><div class="ttdeci">int main()</div><div class="ttdef"><b>Definition:</b> jarvis_algorithm.cpp:176</div></div>
<div class="ttc" id="aclassdata__structures_1_1trie_html_aab373beb3f618b90922528c68797d988"><div class="ttname"><a href="../../d0/d3e/classdata__structures_1_1trie.html#aab373beb3f618b90922528c68797d988">data_structures::trie::char_to_int</a></div><div class="ttdeci">uint8_t char_to_int(const char &amp;ch) const</div><div class="ttdoc">Convert a character to integer for indexing.</div><div class="ttdef"><b>Definition:</b> trie_tree.cpp:38</div></div>
<div class="ttc" id="aclassmachine__learning_1_1neural__network_1_1_neural_network_html_a5172a6791b9bd24f4232bab8d6b81fff"><div class="ttname"><a href="../../d4/df4/classmachine__learning_1_1neural__network_1_1_neural_network.html#a5172a6791b9bd24f4232bab8d6b81fff">machine_learning::neural_network::NeuralNetwork::fit_from_csv</a></div><div class="ttdeci">void fit_from_csv(const std::string &amp;file_name, const bool &amp;last_label, const int &amp;epochs, const double &amp;learning_rate, const bool &amp;normalize, const int &amp;slip_lines=1, const size_t &amp;batch_size=32, const bool &amp;shuffle=true)</div><div class="ttdef"><b>Definition:</b> neural_network.cpp:587</div></div>
<div class="ttc" id="asieve__of__eratosthenes_8cpp_html_a235843bdf82d2a6cc8596ae8fd3b8df9"><div class="ttname"><a href="../../d8/ddf/sieve__of__eratosthenes_8cpp.html#a235843bdf82d2a6cc8596ae8fd3b8df9">print</a></div><div class="ttdeci">void print(uint32_t N, const std::vector&lt; bool &gt; &amp;is_prime)</div><div class="ttdef"><b>Definition:</b> sieve_of_eratosthenes.cpp:44</div></div>
<div class="ttc" id="ahamiltons__cycle_8cpp_html_a3c04138a5bfe5d72780bb7e82a18e627"><div class="ttname"><a href="../../dd/d0c/hamiltons__cycle_8cpp.html#a3c04138a5bfe5d72780bb7e82a18e627">main</a></div><div class="ttdeci">int main(int argc, char **argv)</div><div class="ttdef"><b>Definition:</b> hamiltons_cycle.cpp:142</div></div>
@@ -881,14 +881,15 @@ $(document).ready(function(){initNavTree('d8/d95/vector__ops_8hpp_source.html','
<div class="ttc" id="aclassgeometry_1_1jarvis_1_1_convexhull_html"><div class="ttname"><a href="../../d4/dde/classgeometry_1_1jarvis_1_1_convexhull.html">geometry::jarvis::Convexhull</a></div><div class="ttdef"><b>Definition:</b> jarvis_algorithm.cpp:55</div></div>
<div class="ttc" id="abreadth__first__search_8cpp_html_a88ec9ad42717780d6caaff9d3d6977f9"><div class="ttname"><a href="../../df/d82/breadth__first__search_8cpp.html#a88ec9ad42717780d6caaff9d3d6977f9">tests</a></div><div class="ttdeci">void tests()</div><div class="ttdef"><b>Definition:</b> breadth_first_search.cpp:122</div></div>
<div class="ttc" id="ahamiltons__cycle_8cpp_html_a0ceb473236b5dc53a85e281ef528dd96"><div class="ttname"><a href="../../dd/d0c/hamiltons__cycle_8cpp.html#a0ceb473236b5dc53a85e281ef528dd96">hamilton_cycle</a></div><div class="ttdeci">bool hamilton_cycle(const std::vector&lt; std::vector&lt; bool &gt;&gt; &amp;routes)</div><div class="ttdef"><b>Definition:</b> hamiltons_cycle.cpp:30</div></div>
<div class="ttc" id="aclassdata__structures_1_1trie_html_aeac27cfd397d2dd3f2f519efffafeeab"><div class="ttname"><a href="../../d0/d3e/classdata__structures_1_1trie.html#aeac27cfd397d2dd3f2f519efffafeeab">data_structures::trie::deleteString</a></div><div class="ttdeci">bool deleteString(const std::string &amp;str, int index)</div><div class="ttdef"><b>Definition:</b> trie_tree.cpp:134</div></div>
<div class="ttc" id="aconnected__components_8cpp_html_a88ec9ad42717780d6caaff9d3d6977f9"><div class="ttname"><a href="../../df/ddd/connected__components_8cpp.html#a88ec9ad42717780d6caaff9d3d6977f9">tests</a></div><div class="ttdeci">void tests()</div><div class="ttdef"><b>Definition:</b> connected_components.cpp:93</div></div>
<div class="ttc" id="aclassmachine__learning_1_1neural__network_1_1_neural_network_html_a39cb437b5043d750dca3d013caf3687d"><div class="ttname"><a href="../../d4/df4/classmachine__learning_1_1neural__network_1_1_neural_network.html#a39cb437b5043d750dca3d013caf3687d">machine_learning::neural_network::NeuralNetwork::NeuralNetwork</a></div><div class="ttdeci">NeuralNetwork(const std::vector&lt; std::pair&lt; int, std::string &gt;&gt; &amp;config, const std::vector&lt; std::vector&lt; std::valarray&lt; double &gt;&gt;&gt; &amp;kernals)</div><div class="ttdef"><b>Definition:</b> neural_network.cpp:256</div></div>
<div class="ttc" id="ahash__search_8cpp_html_a6e1a77282bc65ad359d753d25df23243"><div class="ttname"><a href="../../d1/df3/hash__search_8cpp.html#a6e1a77282bc65ad359d753d25df23243">data</a></div><div class="ttdeci">int data[MAX]</div><div class="ttdoc">test data</div><div class="ttdef"><b>Definition:</b> hash_search.cpp:24</div></div>
<div class="ttc" id="aclassdata__structure_1_1trie_html_adff53199439d06776ebbaf917741774f"><div class="ttname"><a href="../../d0/d6e/classdata__structure_1_1trie.html#adff53199439d06776ebbaf917741774f">data_structure::trie::search</a></div><div class="ttdeci">bool search(const std::string &amp;str, int index)</div><div class="ttdef"><b>Definition:</b> trie_tree.cpp:107</div></div>
<div class="ttc" id="aclassmachine__learning_1_1neural__network_1_1layers_1_1_dense_layer_html_a6c859e3737aa88b29854df0347b29f4e"><div class="ttname"><a href="../../dc/d93/classmachine__learning_1_1neural__network_1_1layers_1_1_dense_layer.html#a6c859e3737aa88b29854df0347b29f4e">machine_learning::neural_network::layers::DenseLayer::DenseLayer</a></div><div class="ttdeci">DenseLayer(DenseLayer &amp;&amp;)=default</div></div>
<div class="ttc" id="anamespacelinear__probing_html_a16d34fd3511626a83ab00665d7bc34d1"><div class="ttname"><a href="../../d8/d89/namespacelinear__probing.html#a16d34fd3511626a83ab00665d7bc34d1">linear_probing::add</a></div><div class="ttdeci">void add(int key)</div><div class="ttdef"><b>Definition:</b> linear_probing_hash_table.cpp:161</div></div>
<div class="ttc" id="aclassmachine__learning_1_1neural__network_1_1_neural_network_html_a61d30113d13304c664057118b92a5931"><div class="ttname"><a href="../../d4/df4/classmachine__learning_1_1neural__network_1_1_neural_network.html#a61d30113d13304c664057118b92a5931">machine_learning::neural_network::NeuralNetwork::summary</a></div><div class="ttdeci">void summary()</div><div class="ttdef"><b>Definition:</b> neural_network.cpp:773</div></div>
<div class="ttc" id="aemplace_back_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/container/vector/emplace_back.html">std::vector::emplace_back</a></div><div class="ttdeci">T emplace_back(T... args)</div></div>
<div class="ttc" id="aclassdata__structures_1_1trie_html_a362dd78748a1f01ab019e55fd6098a8b"><div class="ttname"><a href="../../d0/d3e/classdata__structures_1_1trie.html#a362dd78748a1f01ab019e55fd6098a8b">data_structures::trie::arr</a></div><div class="ttdeci">std::array&lt; std::shared_ptr&lt; trie &gt;, NUM_CHARS&lt;&lt; 1 &gt; arr</div><div class="ttdoc">Recursive tree nodes as an array of shared-pointers.</div><div class="ttdef"><b>Definition:</b> trie_tree.cpp:29</div></div>
<div class="ttc" id="around_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/numeric/math/round.html">std::round</a></div><div class="ttdeci">T round(T... args)</div></div>
<div class="ttc" id="anamespacespirograph_html_a8e83a64e8443fff1e5ffdc1c299c1e99"><div class="ttname"><a href="../../da/dd3/namespacespirograph.html#a8e83a64e8443fff1e5ffdc1c299c1e99">spirograph::test</a></div><div class="ttdeci">void test()</div><div class="ttdoc">Test function to save resulting points to a CSV file.</div><div class="ttdef"><b>Definition:</b> spirograph.cpp:93</div></div>
<div class="ttc" id="aremove_reference_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/types/remove_reference.html">std::remove_reference</a></div></div>
@@ -901,6 +902,7 @@ $(document).ready(function(){initNavTree('d8/d95/vector__ops_8hpp_source.html','
<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="amath_2armstrong__number_8cpp_html_ae66f6b31b5ad750f1fe042a706a4e3d4"><div class="ttname"><a href="../../d4/d5d/math_2armstrong__number_8cpp.html#ae66f6b31b5ad750f1fe042a706a4e3d4">main</a></div><div class="ttdeci">int main()</div><div class="ttdef"><b>Definition:</b> armstrong_number.cpp:77</div></div>
<div class="ttc" id="aordinary__least__squares__regressor_8cpp_html_a98ab8f75d981088369b89b8be2182483"><div class="ttname"><a href="../../dc/d38/ordinary__least__squares__regressor_8cpp.html#a98ab8f75d981088369b89b8be2182483">get_inverse</a></div><div class="ttdeci">std::vector&lt; std::vector&lt; float &gt; &gt; get_inverse(std::vector&lt; std::vector&lt; T &gt;&gt; const &amp;A)</div><div class="ttdef"><b>Definition:</b> ordinary_least_squares_regressor.cpp:226</div></div>
<div class="ttc" id="aclassdata__structures_1_1trie_html_a961eb5d576d2420f2036009154397c63"><div class="ttname"><a href="../../d0/d3e/classdata__structures_1_1trie.html#a961eb5d576d2420f2036009154397c63">data_structures::trie::search</a></div><div class="ttdeci">bool search(const std::shared_ptr&lt; trie &gt; &amp;root, const std::string &amp;str, int index)</div><div class="ttdef"><b>Definition:</b> trie_tree.cpp:56</div></div>
<div class="ttc" id="aclassmachine__learning_1_1neural__network_1_1_neural_network_html_a8d983ebb3225a9901b713a0f05b44aba"><div class="ttname"><a href="../../d4/df4/classmachine__learning_1_1neural__network_1_1_neural_network.html#a8d983ebb3225a9901b713a0f05b44aba">machine_learning::neural_network::NeuralNetwork::get_XY_from_csv</a></div><div class="ttdeci">std::pair&lt; std::vector&lt; std::vector&lt; std::valarray&lt; double &gt; &gt; &gt;, std::vector&lt; std::vector&lt; std::valarray&lt; double &gt; &gt; &gt; &gt; get_XY_from_csv(const std::string &amp;file_name, const bool &amp;last_label, const bool &amp;normalize, const int &amp;slip_lines=1)</div><div class="ttdef"><b>Definition:</b> neural_network.cpp:382</div></div>
<div class="ttc" id="anamespacedouble__hashing_html_a29f543e2626bad58907661e1e45028a6"><div class="ttname"><a href="../../d0/d65/namespacedouble__hashing.html#a29f543e2626bad58907661e1e45028a6">double_hashing::searchingProber</a></div><div class="ttdeci">bool searchingProber(const Entry &amp;entry, int key)</div><div class="ttdef"><b>Definition:</b> double_hash_hash_table.cpp:133</div></div>
<div class="ttc" id="aleft_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/io/manip/left.html">std::left</a></div><div class="ttdeci">T left(T... args)</div></div>
@@ -944,6 +946,7 @@ $(document).ready(function(){initNavTree('d8/d95/vector__ops_8hpp_source.html','
<div class="ttc" id="alinear__probing__hash__table_8cpp_html_ae66f6b31b5ad750f1fe042a706a4e3d4"><div class="ttname"><a href="../../d1/dc7/linear__probing__hash__table_8cpp.html#ae66f6b31b5ad750f1fe042a706a4e3d4">main</a></div><div class="ttdeci">int main()</div><div class="ttdef"><b>Definition:</b> linear_probing_hash_table.cpp:224</div></div>
<div class="ttc" id="aempty_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/container/queue/empty.html">std::queue::empty</a></div><div class="ttdeci">T empty(T... args)</div></div>
<div class="ttc" id="aassign_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/container/vector/assign.html">std::vector::assign</a></div><div class="ttdeci">T assign(T... args)</div></div>
<div class="ttc" id="aclassdata__structures_1_1trie_html_a499f87fd833203ef9492b4870aa6d42d"><div class="ttname"><a href="../../d0/d3e/classdata__structures_1_1trie.html#a499f87fd833203ef9492b4870aa6d42d">data_structures::trie::search</a></div><div class="ttdeci">bool search(const std::string &amp;str, int index)</div><div class="ttdef"><b>Definition:</b> trie_tree.cpp:107</div></div>
<div class="ttc" id="aclassstack_html_a67f65710c376f67d1ba3bde45a9cb628"><div class="ttname"><a href="../../d1/dc2/classstack.html#a67f65710c376f67d1ba3bde45a9cb628">stack::display</a></div><div class="ttdeci">void display()</div><div class="ttdef"><b>Definition:</b> stack.h:29</div></div>
<div class="ttc" id="astructgeometry_1_1jarvis_1_1_point_html"><div class="ttname"><a href="../../d9/d5a/structgeometry_1_1jarvis_1_1_point.html">geometry::jarvis::Point</a></div><div class="ttdef"><b>Definition:</b> jarvis_algorithm.cpp:47</div></div>
<div class="ttc" id="akohonen__som__trace_8cpp_html_a6d0455dd5c30adda100e95f0423c786e"><div class="ttname"><a href="../../d9/d49/kohonen__som__trace_8cpp.html#a6d0455dd5c30adda100e95f0423c786e">test3</a></div><div class="ttdeci">void test3()</div><div class="ttdef"><b>Definition:</b> kohonen_som_trace.cpp:414</div></div>
@@ -956,7 +959,6 @@ $(document).ready(function(){initNavTree('d8/d95/vector__ops_8hpp_source.html','
<div class="ttc" id="anamespacemachine__learning_html_ab58fb68da2cfc5326d3da0cba6f58118"><div class="ttname"><a href="../../d8/d77/namespacemachine__learning.html#ab58fb68da2cfc5326d3da0cba6f58118">machine_learning::operator*</a></div><div class="ttdeci">std::vector&lt; std::valarray&lt; T &gt; &gt; operator*(const std::vector&lt; std::valarray&lt; T &gt;&gt; &amp;A, const T &amp;val)</div><div class="ttdef"><b>Definition:</b> vector_ops.hpp:347</div></div>
<div class="ttc" id="aneural__network_8cpp_html_ae66f6b31b5ad750f1fe042a706a4e3d4"><div class="ttname"><a href="../../d2/d58/neural__network_8cpp.html#ae66f6b31b5ad750f1fe042a706a4e3d4">main</a></div><div class="ttdeci">int main()</div><div class="ttdef"><b>Definition:</b> neural_network.cpp:830</div></div>
<div class="ttc" id="atrie__tree_8cpp_html_aa8dca7b867074164d5f45b0f3851269d"><div class="ttname"><a href="../../d7/d83/trie__tree_8cpp.html#aa8dca7b867074164d5f45b0f3851269d">test</a></div><div class="ttdeci">static void test()</div><div class="ttdoc">Testing function.</div><div class="ttdef"><b>Definition:</b> trie_tree.cpp:178</div></div>
<div class="ttc" id="aclassdata__structure_1_1trie_html_aa5b8dc9452c3f7a805a4cb17034d6549"><div class="ttname"><a href="../../d0/d6e/classdata__structure_1_1trie.html#aa5b8dc9452c3f7a805a4cb17034d6549">data_structure::trie::arr</a></div><div class="ttdeci">std::array&lt; std::shared_ptr&lt; trie &gt;, NUM_CHARS&lt;&lt; 1 &gt; arr</div><div class="ttdoc">Recursive tree nodes as an array of shared-pointers.</div><div class="ttdef"><b>Definition:</b> trie_tree.cpp:29</div></div>
<div class="ttc" id="amake_pair_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/utility/pair/make_pair.html">std::make_pair</a></div><div class="ttdeci">T make_pair(T... args)</div></div>
<div class="ttc" id="atime_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/chrono/c/time.html">std::time</a></div><div class="ttdeci">T time(T... args)</div></div>
<div class="ttc" id="anamespacequadratic__probing_html_a2093d91dd3d377cf0a5c939e45dcefc7"><div class="ttname"><a href="../../d4/dd2/namespacequadratic__probing.html#a2093d91dd3d377cf0a5c939e45dcefc7">quadratic_probing::hashFxn</a></div><div class="ttdeci">size_t hashFxn(int key)</div><div class="ttdef"><b>Definition:</b> quadratic_probing_hash_table.cpp:46</div></div>
@@ -966,7 +968,6 @@ $(document).ready(function(){initNavTree('d8/d95/vector__ops_8hpp_source.html','
<div class="ttc" id="aparanthesis__matching_8cpp_html_aa37d24a036d239b3b528f13b9de880c7"><div class="ttname"><a href="../../dc/dc5/paranthesis__matching_8cpp.html#aa37d24a036d239b3b528f13b9de880c7">stack</a></div><div class="ttdeci">char stack[MAX]</div><div class="ttdef"><b>Definition:</b> paranthesis_matching.cpp:20</div></div>
<div class="ttc" id="astructdouble__hashing_1_1_entry_html_ae114967c89dbba3b754dc4976bba3248"><div class="ttname"><a href="../../d9/dde/structdouble__hashing_1_1_entry.html#ae114967c89dbba3b754dc4976bba3248">double_hashing::Entry::key</a></div><div class="ttdeci">int key</div><div class="ttdoc">key value</div><div class="ttdef"><b>Definition:</b> double_hash_hash_table.cpp:38</div></div>
<div class="ttc" id="aclassgeometry_1_1jarvis_1_1_convexhull_html_a54df5f9a8f37170bd97c91127664655c"><div class="ttname"><a href="../../d4/dde/classgeometry_1_1jarvis_1_1_convexhull.html#a54df5f9a8f37170bd97c91127664655c">geometry::jarvis::Convexhull::orientation</a></div><div class="ttdeci">static int orientation(const Point &amp;p, const Point &amp;q, const Point &amp;r)</div><div class="ttdef"><b>Definition:</b> jarvis_algorithm.cpp:133</div></div>
<div class="ttc" id="aclassdata__structure_1_1trie_html_aeb479dcc88415154fb61c2fbb589d6d0"><div class="ttname"><a href="../../d0/d6e/classdata__structure_1_1trie.html#aeb479dcc88415154fb61c2fbb589d6d0">data_structure::trie::char_to_int</a></div><div class="ttdeci">uint8_t char_to_int(const char &amp;ch) const</div><div class="ttdoc">Convert a character to integer for indexing.</div><div class="ttdef"><b>Definition:</b> trie_tree.cpp:38</div></div>
<div class="ttc" id="asetw_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/io/manip/setw.html">std::setw</a></div><div class="ttdeci">T setw(T... args)</div></div>
<div class="ttc" id="aclassmachine__learning_1_1adaline_html_aa23d60262f917f35836ef4b1c1d9f7d3"><div class="ttname"><a href="../../d6/d30/classmachine__learning_1_1adaline.html#aa23d60262f917f35836ef4b1c1d9f7d3">machine_learning::adaline::accuracy</a></div><div class="ttdeci">const double accuracy</div><div class="ttdoc">model fit convergence accuracy</div><div class="ttdef"><b>Definition:</b> adaline_learning.cpp:208</div></div>
<div class="ttc" id="amax_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/algorithm/max.html">std::max</a></div><div class="ttdeci">T max(T... args)</div></div>
@@ -997,7 +998,6 @@ $(document).ready(function(){initNavTree('d8/d95/vector__ops_8hpp_source.html','
<div class="ttc" id="anamespacesorting_html_a50b66a1c652291b9a346ec7342967178"><div class="ttname"><a href="../../d5/d91/namespacesorting.html#a50b66a1c652291b9a346ec7342967178">sorting::quickSort</a></div><div class="ttdeci">void quickSort(int arr[], int low, int high)</div><div class="ttdef"><b>Definition:</b> quick_sort.cpp:63</div></div>
<div class="ttc" id="aadaline__learning_8cpp_html_a379f7488a305f2571f2932b319931f82"><div class="ttname"><a href="../../d5/db0/adaline__learning_8cpp.html#a379f7488a305f2571f2932b319931f82">test2</a></div><div class="ttdeci">void test2(double eta=0.01)</div><div class="ttdef"><b>Definition:</b> adaline_learning.cpp:262</div></div>
<div class="ttc" id="apartition_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/algorithm/partition.html">std::partition</a></div><div class="ttdeci">T partition(T... args)</div></div>
<div class="ttc" id="aclassdata__structure_1_1trie_html_ae9c45cbd4b52db9a39d27e12ca912abc"><div class="ttname"><a href="../../d0/d6e/classdata__structure_1_1trie.html#ae9c45cbd4b52db9a39d27e12ca912abc">data_structure::trie::search</a></div><div class="ttdeci">bool search(const std::shared_ptr&lt; trie &gt; &amp;root, const std::string &amp;str, int index)</div><div class="ttdef"><b>Definition:</b> trie_tree.cpp:56</div></div>
<div class="ttc" id="aadaline__learning_8cpp_html_a992bdf1fdb0b9d414bcf7981d2d87aa9"><div class="ttname"><a href="../../d5/db0/adaline__learning_8cpp.html#a992bdf1fdb0b9d414bcf7981d2d87aa9">test3</a></div><div class="ttdeci">void test3(double eta=0.01)</div><div class="ttdef"><b>Definition:</b> adaline_learning.cpp:313</div></div>
<div class="ttc" id="aclassmachine__learning_1_1adaline_html"><div class="ttname"><a href="../../d6/d30/classmachine__learning_1_1adaline.html">machine_learning::adaline</a></div><div class="ttdef"><b>Definition:</b> adaline_learning.cpp:46</div></div>
<div class="ttc" id="ahamiltons__cycle_8cpp_html_a0cc94918b6831f308d4fe4fa27f08299"><div class="ttname"><a href="../../dd/d0c/hamiltons__cycle_8cpp.html#a0cc94918b6831f308d4fe4fa27f08299">test3</a></div><div class="ttdeci">static void test3()</div><div class="ttdef"><b>Definition:</b> hamiltons_cycle.cpp:122</div></div>

View File

@@ -5,7 +5,7 @@
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.19"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Algorithms_in_C++: data_structure::Node Struct Reference</title>
<title>Algorithms_in_C++: data_structures::Node Struct Reference</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
@@ -71,7 +71,7 @@ $(function() {
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('d3/d6f/structdata__structure_1_1_node.html','../../'); initResizable(); });
$(document).ready(function(){initNavTree('d9/d49/structdata__structures_1_1_node.html','../../'); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
@@ -93,43 +93,43 @@ $(document).ready(function(){initNavTree('d3/d6f/structdata__structure_1_1_node.
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="../../dc/d7c/structdata__structure_1_1_node-members.html">List of all members</a> </div>
<a href="../../dc/d25/structdata__structures_1_1_node-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">data_structure::Node Struct Reference</div> </div>
<div class="title">data_structures::Node Struct Reference</div> </div>
</div><!--header-->
<div class="contents">
<div class="dynheader">
Collaboration diagram for data_structure::Node:</div>
Collaboration diagram for data_structures::Node:</div>
<div class="dyncontent">
<div class="center"><iframe scrolling="no" frameborder="0" src="../../d5/d1d/structdata__structure_1_1_node__coll__graph.svg" width="247" height="246"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe>
<div class="center"><iframe scrolling="no" frameborder="0" src="../../d5/dc3/structdata__structures_1_1_node__coll__graph.svg" width="251" height="260"><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 name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:af7f19e61975f1362b22d1488bee87077"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/d6f/structdata__structure_1_1_node.html#af7f19e61975f1362b22d1488bee87077">Node</a> (int <a class="el" href="../../d3/d6f/structdata__structure_1_1_node.html#a089ebc844c81777652d4e577be0739c8">key</a>, int level, void *<a class="el" href="../../d3/d6f/structdata__structure_1_1_node.html#a24580ec4e79f7bb82e55a9c4d8369a6e">value</a>=nullptr)</td></tr>
<tr class="separator:af7f19e61975f1362b22d1488bee87077"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a54a6777e72b639c3ee6446a541db8e78"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d49/structdata__structures_1_1_node.html#a54a6777e72b639c3ee6446a541db8e78">Node</a> (int <a class="el" href="../../d9/d49/structdata__structures_1_1_node.html#ac75aa86a598357c5c882ec6a1174aa68">key</a>, int level, void *<a class="el" href="../../d9/d49/structdata__structures_1_1_node.html#a6b973b0bded99b0c0bd84e887bf8c731">value</a>=nullptr)</td></tr>
<tr class="separator:a54a6777e72b639c3ee6446a541db8e78"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:a089ebc844c81777652d4e577be0739c8"><td class="memItemLeft" align="right" valign="top"><a id="a089ebc844c81777652d4e577be0739c8"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/d6f/structdata__structure_1_1_node.html#a089ebc844c81777652d4e577be0739c8">key</a></td></tr>
<tr class="memdesc:a089ebc844c81777652d4e577be0739c8"><td class="mdescLeft">&#160;</td><td class="mdescRight">key integer <br /></td></tr>
<tr class="separator:a089ebc844c81777652d4e577be0739c8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a24580ec4e79f7bb82e55a9c4d8369a6e"><td class="memItemLeft" align="right" valign="top"><a id="a24580ec4e79f7bb82e55a9c4d8369a6e"></a>
void *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/d6f/structdata__structure_1_1_node.html#a24580ec4e79f7bb82e55a9c4d8369a6e">value</a></td></tr>
<tr class="memdesc:a24580ec4e79f7bb82e55a9c4d8369a6e"><td class="mdescLeft">&#160;</td><td class="mdescRight">pointer of value <br /></td></tr>
<tr class="separator:a24580ec4e79f7bb82e55a9c4d8369a6e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0e80ff706591f718f763c5a7feaa2394"><td class="memItemLeft" align="right" valign="top"><a id="a0e80ff706591f718f763c5a7feaa2394"></a>
<a class="elRef" target="_blank" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector</a>&lt; <a class="elRef" target="_blank" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr</a>&lt; <a class="el" href="../../d3/d6f/structdata__structure_1_1_node.html">Node</a> &gt; &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/d6f/structdata__structure_1_1_node.html#a0e80ff706591f718f763c5a7feaa2394">forward</a></td></tr>
<tr class="memdesc:a0e80ff706591f718f763c5a7feaa2394"><td class="mdescLeft">&#160;</td><td class="mdescRight">nodes of the given one in all levels <br /></td></tr>
<tr class="separator:a0e80ff706591f718f763c5a7feaa2394"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac75aa86a598357c5c882ec6a1174aa68"><td class="memItemLeft" align="right" valign="top"><a id="ac75aa86a598357c5c882ec6a1174aa68"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d49/structdata__structures_1_1_node.html#ac75aa86a598357c5c882ec6a1174aa68">key</a></td></tr>
<tr class="memdesc:ac75aa86a598357c5c882ec6a1174aa68"><td class="mdescLeft">&#160;</td><td class="mdescRight">key integer <br /></td></tr>
<tr class="separator:ac75aa86a598357c5c882ec6a1174aa68"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6b973b0bded99b0c0bd84e887bf8c731"><td class="memItemLeft" align="right" valign="top"><a id="a6b973b0bded99b0c0bd84e887bf8c731"></a>
void *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d49/structdata__structures_1_1_node.html#a6b973b0bded99b0c0bd84e887bf8c731">value</a></td></tr>
<tr class="memdesc:a6b973b0bded99b0c0bd84e887bf8c731"><td class="mdescLeft">&#160;</td><td class="mdescRight">pointer of value <br /></td></tr>
<tr class="separator:a6b973b0bded99b0c0bd84e887bf8c731"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac916d833aad2b9c41f01a92db2f8c48e"><td class="memItemLeft" align="right" valign="top"><a id="ac916d833aad2b9c41f01a92db2f8c48e"></a>
<a class="elRef" target="_blank" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector</a>&lt; <a class="elRef" target="_blank" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr</a>&lt; <a class="el" href="../../d9/d49/structdata__structures_1_1_node.html">Node</a> &gt; &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d49/structdata__structures_1_1_node.html#ac916d833aad2b9c41f01a92db2f8c48e">forward</a></td></tr>
<tr class="memdesc:ac916d833aad2b9c41f01a92db2f8c48e"><td class="mdescLeft">&#160;</td><td class="mdescRight">nodes of the given one in all levels <br /></td></tr>
<tr class="separator:ac916d833aad2b9c41f01a92db2f8c48e"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p><a class="el" href="../../d3/d6f/structdata__structure_1_1_node.html">Node</a> structure [Key][Node*, Node*...] </p>
<div class="textblock"><p><a class="el" href="../../d9/d49/structdata__structures_1_1_node.html">Node</a> structure [Key][Node*, Node*...] </p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="af7f19e61975f1362b22d1488bee87077"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af7f19e61975f1362b22d1488bee87077">&#9670;&nbsp;</a></span>Node()</h2>
<a id="a54a6777e72b639c3ee6446a541db8e78"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a54a6777e72b639c3ee6446a541db8e78">&#9670;&nbsp;</a></span>Node()</h2>
<div class="memitem">
<div class="memproto">
@@ -138,7 +138,7 @@ void *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="..
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">data_structure::Node::Node </td>
<td class="memname">data_structures::Node::Node </td>
<td>(</td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>key</em>, </td>
@@ -174,16 +174,16 @@ void *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="..
</table>
</dd>
</dl>
<div class="fragment"><div class="line"><a name="l00044"></a><span class="lineno"> 44</span>&#160; : <a class="code" href="../../d3/d6f/structdata__structure_1_1_node.html#a089ebc844c81777652d4e577be0739c8">key</a>(<a class="code" href="../../d3/d6f/structdata__structure_1_1_node.html#a089ebc844c81777652d4e577be0739c8">key</a>), <a class="code" href="../../d3/d6f/structdata__structure_1_1_node.html#a24580ec4e79f7bb82e55a9c4d8369a6e">value</a>(<a class="code" href="../../d3/d6f/structdata__structure_1_1_node.html#a24580ec4e79f7bb82e55a9c4d8369a6e">value</a>) {</div>
<div class="fragment"><div class="line"><a name="l00044"></a><span class="lineno"> 44</span>&#160; : <a class="code" href="../../d9/d49/structdata__structures_1_1_node.html#ac75aa86a598357c5c882ec6a1174aa68">key</a>(<a class="code" href="../../d9/d49/structdata__structures_1_1_node.html#ac75aa86a598357c5c882ec6a1174aa68">key</a>), <a class="code" href="../../d9/d49/structdata__structures_1_1_node.html#a6b973b0bded99b0c0bd84e887bf8c731">value</a>(<a class="code" href="../../d9/d49/structdata__structures_1_1_node.html#a6b973b0bded99b0c0bd84e887bf8c731">value</a>) {</div>
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>&#160; <span class="comment">// Initialization of forward vector</span></div>
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span>&#160; <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i &lt; (level + 1); i++) {</div>
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>&#160; <a class="code" href="../../d3/d6f/structdata__structure_1_1_node.html#a0e80ff706591f718f763c5a7feaa2394">forward</a>.<a class="codeRef" target="_blank" href="http://en.cppreference.com/w/cpp/container/vector/push_back.html">push_back</a>(<span class="keyword">nullptr</span>);</div>
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>&#160; <a class="code" href="../../d9/d49/structdata__structures_1_1_node.html#ac916d833aad2b9c41f01a92db2f8c48e">forward</a>.<a class="codeRef" target="_blank" href="http://en.cppreference.com/w/cpp/container/vector/push_back.html">push_back</a>(<span class="keyword">nullptr</span>);</div>
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span>&#160; }</div>
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span>&#160; }</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="../../d3/d6f/structdata__structure_1_1_node_af7f19e61975f1362b22d1488bee87077_cgraph.svg" width="358" height="52"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe>
<div class="center"><iframe scrolling="no" frameborder="0" src="../../d9/d49/structdata__structures_1_1_node_a54a6777e72b639c3ee6446a541db8e78_cgraph.svg" width="364" height="52"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe>
</div>
</div>
@@ -194,14 +194,14 @@ Here is the call graph for this function:</div>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<div class="ttc" id="astructdata__structure_1_1_node_html_a089ebc844c81777652d4e577be0739c8"><div class="ttname"><a href="../../d3/d6f/structdata__structure_1_1_node.html#a089ebc844c81777652d4e577be0739c8">data_structure::Node::key</a></div><div class="ttdeci">int key</div><div class="ttdoc">key integer</div><div class="ttdef"><b>Definition:</b> skip_list.cpp:34</div></div>
<div class="ttc" id="apush_back_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/container/vector/push_back.html">std::vector::push_back</a></div><div class="ttdeci">T push_back(T... args)</div></div>
<div class="ttc" id="astructdata__structure_1_1_node_html_a24580ec4e79f7bb82e55a9c4d8369a6e"><div class="ttname"><a href="../../d3/d6f/structdata__structure_1_1_node.html#a24580ec4e79f7bb82e55a9c4d8369a6e">data_structure::Node::value</a></div><div class="ttdeci">void * value</div><div class="ttdoc">pointer of value</div><div class="ttdef"><b>Definition:</b> skip_list.cpp:35</div></div>
<div class="ttc" id="astructdata__structure_1_1_node_html_a0e80ff706591f718f763c5a7feaa2394"><div class="ttname"><a href="../../d3/d6f/structdata__structure_1_1_node.html#a0e80ff706591f718f763c5a7feaa2394">data_structure::Node::forward</a></div><div class="ttdeci">std::vector&lt; std::shared_ptr&lt; Node &gt; &gt; forward</div><div class="ttdoc">nodes of the given one in all levels</div><div class="ttdef"><b>Definition:</b> skip_list.cpp:37</div></div>
<div class="ttc" id="astructdata__structures_1_1_node_html_a6b973b0bded99b0c0bd84e887bf8c731"><div class="ttname"><a href="../../d9/d49/structdata__structures_1_1_node.html#a6b973b0bded99b0c0bd84e887bf8c731">data_structures::Node::value</a></div><div class="ttdeci">void * value</div><div class="ttdoc">pointer of value</div><div class="ttdef"><b>Definition:</b> skip_list.cpp:35</div></div>
<div class="ttc" id="astructdata__structures_1_1_node_html_ac75aa86a598357c5c882ec6a1174aa68"><div class="ttname"><a href="../../d9/d49/structdata__structures_1_1_node.html#ac75aa86a598357c5c882ec6a1174aa68">data_structures::Node::key</a></div><div class="ttdeci">int key</div><div class="ttdoc">key integer</div><div class="ttdef"><b>Definition:</b> skip_list.cpp:34</div></div>
<div class="ttc" id="astructdata__structures_1_1_node_html_ac916d833aad2b9c41f01a92db2f8c48e"><div class="ttname"><a href="../../d9/d49/structdata__structures_1_1_node.html#ac916d833aad2b9c41f01a92db2f8c48e">data_structures::Node::forward</a></div><div class="ttdeci">std::vector&lt; std::shared_ptr&lt; Node &gt; &gt; forward</div><div class="ttdoc">nodes of the given one in all levels</div><div class="ttdef"><b>Definition:</b> skip_list.cpp:37</div></div>
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="../../d1/db4/namespacedata__structure.html">data_structure</a></li><li class="navelem"><a class="el" href="../../d3/d6f/structdata__structure_1_1_node.html">Node</a></li>
<li class="navelem"><a class="el" href="../../d5/d3c/namespacedata__structures.html">data_structures</a></li><li class="navelem"><a class="el" href="../../d9/d49/structdata__structures_1_1_node.html">Node</a></li>
<li class="footer">Generated by <a href="http://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.8.19 </li>
</ul>
</div>

View File

@@ -0,0 +1,7 @@
var structdata__structures_1_1_node =
[
[ "Node", "d9/d49/structdata__structures_1_1_node.html#a54a6777e72b639c3ee6446a541db8e78", null ],
[ "forward", "d9/d49/structdata__structures_1_1_node.html#ac916d833aad2b9c41f01a92db2f8c48e", null ],
[ "key", "d9/d49/structdata__structures_1_1_node.html#ac75aa86a598357c5c882ec6a1174aa68", null ],
[ "value", "d9/d49/structdata__structures_1_1_node.html#a6b973b0bded99b0c0bd84e887bf8c731", null ]
];

View File

@@ -0,0 +1,4 @@
<map id="data_structures::Node::Node" name="data_structures::Node::Node">
<area shape="rect" id="node1" title=" " alt="" coords="5,5,156,47"/>
<area shape="rect" id="node2" 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="204,13,359,39"/>
</map>

View File

@@ -0,0 +1 @@
3ef8eafe8b1a7006c5e52d9a953fe424

View File

@@ -3,19 +3,19 @@
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<!-- Generated by graphviz version 2.44.1 (20200629.0846)
-->
<!-- Title: data_structure::Node::Node Pages: 1 -->
<svg width="268pt" height="39pt"
viewBox="0.00 0.00 268.00 39.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<!-- Title: data_structures::Node::Node Pages: 1 -->
<svg width="273pt" height="39pt"
viewBox="0.00 0.00 273.00 39.00" 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 35)">
<title>data_structure::Node::Node</title>
<polygon fill="white" stroke="transparent" points="-4,4 -4,-35 264,-35 264,4 -4,4"/>
<title>data_structures::Node::Node</title>
<polygon fill="white" stroke="transparent" points="-4,4 -4,-35 269,-35 269,4 -4,4"/>
<!-- Node1 -->
<g id="node1" class="node">
<title>Node1</title>
<g id="a_node1"><a xlink:title=" ">
<polygon fill="#bfbfbf" stroke="black" points="0,-0.5 0,-30.5 108,-30.5 108,-0.5 0,-0.5"/>
<text text-anchor="start" x="8" y="-18.5" font-family="Helvetica,sans-Serif" font-size="10.00">data_structure::Node</text>
<text text-anchor="middle" x="54" y="-7.5" font-family="Helvetica,sans-Serif" font-size="10.00">::Node</text>
<polygon fill="#bfbfbf" stroke="black" points="0,-0.5 0,-30.5 113,-30.5 113,-0.5 0,-0.5"/>
<text text-anchor="start" x="8" y="-18.5" font-family="Helvetica,sans-Serif" font-size="10.00">data_structures::Node</text>
<text text-anchor="middle" x="56.5" y="-7.5" font-family="Helvetica,sans-Serif" font-size="10.00">::Node</text>
</a>
</g>
</g>
@@ -23,16 +23,16 @@
<g id="node2" class="node">
<title>Node2</title>
<g id="a_node2"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/vector/push_back.html#" target="_top" xlink:title=" ">
<polygon fill="white" stroke="black" points="144,-6 144,-25 260,-25 260,-6 144,-6"/>
<text text-anchor="middle" x="202" y="-13" font-family="Helvetica,sans-Serif" font-size="10.00">std::vector::push_back</text>
<polygon fill="white" stroke="black" points="149,-6 149,-25 265,-25 265,-6 149,-6"/>
<text text-anchor="middle" x="207" y="-13" font-family="Helvetica,sans-Serif" font-size="10.00">std::vector::push_back</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node2 -->
<g id="edge1" class="edge">
<title>Node1&#45;&gt;Node2</title>
<path fill="none" stroke="midnightblue" d="M108.12,-15.5C116.44,-15.5 125.14,-15.5 133.73,-15.5"/>
<polygon fill="midnightblue" stroke="midnightblue" points="133.73,-19 143.73,-15.5 133.73,-12 133.73,-19"/>
<path fill="none" stroke="midnightblue" d="M113.22,-15.5C121.62,-15.5 130.36,-15.5 138.96,-15.5"/>
<polygon fill="midnightblue" stroke="midnightblue" points="138.98,-19 148.98,-15.5 138.98,-12 138.98,-19"/>
</g>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 1.8 KiB

After

Width:  |  Height:  |  Size: 1.8 KiB

View File

@@ -1,6 +0,0 @@
<map id="data_structure::SkipList" name="data_structure::SkipList">
<area shape="rect" id="node1" title=" " alt="" coords="5,117,165,143"/>
<area shape="rect" id="node2" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/memory/shared_ptr.html" title=" " alt="" coords="217,5,364,47"/>
<area shape="rect" id="node4" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/vector.html" title=" " alt="" coords="189,109,392,151"/>
<area shape="rect" id="node3" href="$d3/d6f/structdata__structure_1_1_node.html" title=" " alt="" coords="313,213,457,240"/>
</map>

View File

@@ -1 +0,0 @@
2f27e512b3ed35fd141dbfd0af0cf9c2

View File

@@ -1,79 +0,0 @@
<?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 2.44.1 (20200629.0846)
-->
<!-- Title: data_structure::SkipList Pages: 1 -->
<svg width="347pt" height="184pt"
viewBox="0.00 0.00 347.00 184.00" 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 180)">
<title>data_structure::SkipList</title>
<polygon fill="white" stroke="transparent" points="-4,4 -4,-180 343,-180 343,4 -4,4"/>
<!-- Node1 -->
<g id="node1" class="node">
<title>Node1</title>
<g id="a_node1"><a xlink:title=" ">
<polygon fill="#bfbfbf" stroke="black" points="0,-73 0,-92 120,-92 120,-73 0,-73"/>
<text text-anchor="middle" x="60" y="-80" font-family="Helvetica,sans-Serif" font-size="10.00">data_structure::SkipList</text>
</a>
</g>
</g>
<!-- Node2 -->
<g id="node2" class="node">
<title>Node2</title>
<g id="a_node2"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html" target="_top" xlink:title=" ">
<polygon fill="white" stroke="black" points="159,-145.5 159,-175.5 269,-175.5 269,-145.5 159,-145.5"/>
<text text-anchor="start" x="167" y="-163.5" font-family="Helvetica,sans-Serif" font-size="10.00">std::shared_ptr&lt; data</text>
<text text-anchor="middle" x="214" y="-152.5" font-family="Helvetica,sans-Serif" font-size="10.00">_structure::Node &gt;</text>
</a>
</g>
</g>
<!-- Node2&#45;&gt;Node1 -->
<g id="edge1" class="edge">
<title>Node2&#45;&gt;Node1</title>
<path fill="none" stroke="#9a32cd" stroke-dasharray="5,2" d="M176.04,-140.77C144.56,-125.23 101.25,-103.86 77.44,-92.11"/>
<polygon fill="#9a32cd" stroke="#9a32cd" points="174.88,-144.1 185.39,-145.38 177.98,-137.82 174.88,-144.1"/>
<text text-anchor="middle" x="163.5" y="-119" font-family="Helvetica,sans-Serif" font-size="10.00"> header</text>
</g>
<!-- Node4 -->
<g id="node4" class="node">
<title>Node4</title>
<g id="a_node4"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/vector.html" target="_top" xlink:title=" ">
<polygon fill="white" stroke="black" points="138,-67.5 138,-97.5 290,-97.5 290,-67.5 138,-67.5"/>
<text text-anchor="start" x="146" y="-85.5" font-family="Helvetica,sans-Serif" font-size="10.00">std::vector&lt; std::shared</text>
<text text-anchor="middle" x="214" y="-74.5" font-family="Helvetica,sans-Serif" font-size="10.00">_ptr&lt; data_structure::Node &gt; &gt;</text>
</a>
</g>
</g>
<!-- Node2&#45;&gt;Node4 -->
<g id="edge4" class="edge">
<title>Node2&#45;&gt;Node4</title>
<path fill="none" stroke="#9a32cd" stroke-dasharray="5,2" d="M214,-135.09C214,-122.76 214,-108.22 214,-97.73"/>
<polygon fill="#9a32cd" stroke="#9a32cd" points="210.5,-135.2 214,-145.2 217.5,-135.21 210.5,-135.2"/>
<text text-anchor="middle" x="235.5" y="-119" font-family="Helvetica,sans-Serif" font-size="10.00"> elements</text>
</g>
<!-- Node3 -->
<g id="node3" class="node">
<title>Node3</title>
<g id="a_node3"><a xlink:href="../../d3/d6f/structdata__structure_1_1_node.html" target="_top" xlink:title=" ">
<polygon fill="white" stroke="black" points="231,-0.5 231,-19.5 339,-19.5 339,-0.5 231,-0.5"/>
<text text-anchor="middle" x="285" y="-7.5" font-family="Helvetica,sans-Serif" font-size="10.00">data_structure::Node</text>
</a>
</g>
</g>
<!-- Node3&#45;&gt;Node2 -->
<g id="edge2" class="edge">
<title>Node3&#45;&gt;Node2</title>
<path fill="none" stroke="#9a32cd" stroke-dasharray="5,2" d="M293.83,-28.85C301.54,-47.12 309.94,-75.89 299,-98 288.34,-119.55 266.07,-135.23 247,-145.36"/>
<polygon fill="#9a32cd" stroke="#9a32cd" points="296.97,-27.3 289.63,-19.66 290.6,-30.21 296.97,-27.3"/>
<text text-anchor="middle" x="312.5" y="-80" font-family="Helvetica,sans-Serif" font-size="10.00"> ptr</text>
</g>
<!-- Node4&#45;&gt;Node3 -->
<g id="edge3" class="edge">
<title>Node4&#45;&gt;Node3</title>
<path fill="none" stroke="#9a32cd" stroke-dasharray="5,2" d="M235.51,-60.14C249.09,-46.65 265.92,-29.94 276.04,-19.89"/>
<polygon fill="#9a32cd" stroke="#9a32cd" points="233,-57.7 228.37,-67.23 237.93,-62.67 233,-57.7"/>
<text text-anchor="middle" x="274" y="-41" font-family="Helvetica,sans-Serif" font-size="10.00"> forward</text>
</g>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 4.2 KiB

View File

@@ -71,7 +71,7 @@ $(function() {
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('d3/d6f/structdata__structure_1_1_node.html','../../'); initResizable(); });
$(document).ready(function(){initNavTree('d9/d49/structdata__structures_1_1_node.html','../../'); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
@@ -91,16 +91,16 @@ $(document).ready(function(){initNavTree('d3/d6f/structdata__structure_1_1_node.
<div class="header">
<div class="headertitle">
<div class="title">data_structure::Node Member List</div> </div>
<div class="title">data_structures::Node Member List</div> </div>
</div><!--header-->
<div class="contents">
<p>This is the complete list of members for <a class="el" href="../../d3/d6f/structdata__structure_1_1_node.html">data_structure::Node</a>, including all inherited members.</p>
<p>This is the complete list of members for <a class="el" href="../../d9/d49/structdata__structures_1_1_node.html">data_structures::Node</a>, including all inherited members.</p>
<table class="directory">
<tr class="even"><td class="entry"><a class="el" href="../../d3/d6f/structdata__structure_1_1_node.html#a0e80ff706591f718f763c5a7feaa2394">forward</a></td><td class="entry"><a class="el" href="../../d3/d6f/structdata__structure_1_1_node.html">data_structure::Node</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="../../d3/d6f/structdata__structure_1_1_node.html#a089ebc844c81777652d4e577be0739c8">key</a></td><td class="entry"><a class="el" href="../../d3/d6f/structdata__structure_1_1_node.html">data_structure::Node</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="../../d3/d6f/structdata__structure_1_1_node.html#af7f19e61975f1362b22d1488bee87077">Node</a>(int key, int level, void *value=nullptr)</td><td class="entry"><a class="el" href="../../d3/d6f/structdata__structure_1_1_node.html">data_structure::Node</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr><td class="entry"><a class="el" href="../../d3/d6f/structdata__structure_1_1_node.html#a24580ec4e79f7bb82e55a9c4d8369a6e">value</a></td><td class="entry"><a class="el" href="../../d3/d6f/structdata__structure_1_1_node.html">data_structure::Node</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="../../d9/d49/structdata__structures_1_1_node.html#ac916d833aad2b9c41f01a92db2f8c48e">forward</a></td><td class="entry"><a class="el" href="../../d9/d49/structdata__structures_1_1_node.html">data_structures::Node</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="../../d9/d49/structdata__structures_1_1_node.html#ac75aa86a598357c5c882ec6a1174aa68">key</a></td><td class="entry"><a class="el" href="../../d9/d49/structdata__structures_1_1_node.html">data_structures::Node</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="../../d9/d49/structdata__structures_1_1_node.html#a54a6777e72b639c3ee6446a541db8e78">Node</a>(int key, int level, void *value=nullptr)</td><td class="entry"><a class="el" href="../../d9/d49/structdata__structures_1_1_node.html">data_structures::Node</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr><td class="entry"><a class="el" href="../../d9/d49/structdata__structures_1_1_node.html#a6b973b0bded99b0c0bd84e887bf8c731">value</a></td><td class="entry"><a class="el" href="../../d9/d49/structdata__structures_1_1_node.html">data_structures::Node</a></td><td class="entry"></td></tr>
</table></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->

View File

@@ -103,8 +103,8 @@ $(document).ready(function(){initNavTree('dd/da0/todo.html','../../'); initResiz
<dd><a class="anchor" id="_todo000003"></a>update code to use C++ STL library features and OO structure </dd>
<dt>File <a class="el" href="../../d7/d00/list__array_8cpp.html">list_array.cpp</a> </dt>
<dd><a class="anchor" id="_todo000004"></a>Add documentation </dd>
<dt>Member <a class="el" href="../../d0/d6e/classdata__structure_1_1trie.html#a98a0d54a781a680903eac14085fcbc2e">data_structure::trie::deleteString</a> (const <a class="elRef" target="_blank" href="http://en.cppreference.com/w/cpp/string/basic_string.html" title="STL class.">std::string</a> &amp;str, int index)</dt>
<dd><a class="anchor" id="_todo000005"></a>review the function <a class="el" href="../../d0/d6e/classdata__structure_1_1trie.html#a98a0d54a781a680903eac14085fcbc2e">data_structure::trie::deleteString</a> and the commented lines </dd>
<dt>Member <a class="el" href="../../d0/d3e/classdata__structures_1_1trie.html#aeac27cfd397d2dd3f2f519efffafeeab">data_structures::trie::deleteString</a> (const <a class="elRef" target="_blank" href="http://en.cppreference.com/w/cpp/string/basic_string.html" title="STL class.">std::string</a> &amp;str, int index)</dt>
<dd><a class="anchor" id="_todo000005"></a>review the function ::data_structure::trie::deleteString and the commented lines </dd>
<dt>Member <a class="el" href="../../dd/d65/lu__decompose_8cpp.html#a1440a7779ac56f47a3f355ce4a8c7da0">test1</a> ()</dt>
<dd><a class="anchor" id="_todo000006"></a>better ways to self-check a matrix output? </dd>
<dt>Member <a class="el" href="../../d7/d35/matrix__exponentiation_8cpp.html#a9977ad12548c4a49dee9dc3f0685aa54">mat_size</a> </dt>

View File

@@ -128,7 +128,7 @@ $(document).ready(function(){initNavTree('functions_a.html',''); initResizable()
: <a class="el" href="da/d5a/class_complex.html#ae1e03712837450549e0c9b4017533a41">Complex</a>
</li>
<li>arr
: <a class="el" href="d0/d6e/classdata__structure_1_1trie.html#aa5b8dc9452c3f7a805a4cb17034d6549">data_structure::trie</a>
: <a class="el" href="d0/d3e/classdata__structures_1_1trie.html#a362dd78748a1f01ab019e55fd6098a8b">data_structures::trie</a>
</li>
</ul>
</div><!-- contents -->

View File

@@ -103,7 +103,7 @@ $(document).ready(function(){initNavTree('functions_c.html',''); initResizable()
: <a class="el" href="d1/d51/classrange__queries_1_1heavy__light__decomposition_1_1_tree.html#ab916d554afa8ca5230b4310c2c69fae0">range_queries::heavy_light_decomposition::Tree&lt; X &gt;</a>
</li>
<li>char_to_int()
: <a class="el" href="d0/d6e/classdata__structure_1_1trie.html#aeb479dcc88415154fb61c2fbb589d6d0">data_structure::trie</a>
: <a class="el" href="d0/d3e/classdata__structures_1_1trie.html#aab373beb3f618b90922528c68797d988">data_structures::trie</a>
</li>
<li>check_size_match()
: <a class="el" href="d6/d30/classmachine__learning_1_1adaline.html#ac8a9c2aaaa63b0f27ea176857e1e7d56">machine_learning::adaline</a>

View File

@@ -103,13 +103,13 @@ $(document).ready(function(){initNavTree('functions_d.html',''); initResizable()
: <a class="el" href="d6/d26/classciphers_1_1_hill_cipher.html#a427acfac1dbff3f48a2b071d449d965b">ciphers::HillCipher</a>
</li>
<li>deleteElement()
: <a class="el" href="d1/d46/classdata__structure_1_1_skip_list.html#a4b8eb18c9ca24f53e9de91b74febd666">data_structure::SkipList</a>
: <a class="el" href="d4/d90/classdata__structures_1_1_skip_list.html#a86925c53e139cc6c3f7df1e9003bb0b0">data_structures::SkipList</a>
</li>
<li>deleteKey()
: <a class="el" href="d2/d05/class_min_heap.html#a37ac126eabb0c3ce04047172abccca29">MinHeap</a>
</li>
<li>deleteString()
: <a class="el" href="d0/d6e/classdata__structure_1_1trie.html#a98a0d54a781a680903eac14085fcbc2e">data_structure::trie</a>
: <a class="el" href="d0/d3e/classdata__structures_1_1trie.html#aeac27cfd397d2dd3f2f519efffafeeab">data_structures::trie</a>
</li>
<li>DenseLayer()
: <a class="el" href="dc/d93/classmachine__learning_1_1neural__network_1_1layers_1_1_dense_layer.html#a04b8e21316458436c8851959928c3964">machine_learning::neural_network::layers::DenseLayer</a>
@@ -144,7 +144,7 @@ $(document).ready(function(){initNavTree('functions_d.html',''); initResizable()
, <a class="el" href="d1/dc2/classstack.html#a67f65710c376f67d1ba3bde45a9cb628">stack&lt; Type &gt;</a>
</li>
<li>displayList()
: <a class="el" href="d1/d46/classdata__structure_1_1_skip_list.html#a1574d62ca0a5a821601d246c07215335">data_structure::SkipList</a>
: <a class="el" href="d4/d90/classdata__structures_1_1_skip_list.html#a812611f80b8079268dbb19cc4e9bee5c">data_structures::SkipList</a>
</li>
</ul>
</div><!-- contents -->

View File

@@ -107,7 +107,7 @@ $(document).ready(function(){initNavTree('functions_f.html',''); initResizable()
: <a class="el" href="d4/df4/classmachine__learning_1_1neural__network_1_1_neural_network.html#a5172a6791b9bd24f4232bab8d6b81fff">machine_learning::neural_network::NeuralNetwork</a>
</li>
<li>forward
: <a class="el" href="d3/d6f/structdata__structure_1_1_node.html#a0e80ff706591f718f763c5a7feaa2394">data_structure::Node</a>
: <a class="el" href="d9/d49/structdata__structures_1_1_node.html#ac916d833aad2b9c41f01a92db2f8c48e">data_structures::Node</a>
</li>
<li>front()
: <a class="el" href="db/da9/classqueue.html#a36d47fdbedc199609818385110d9f922">queue&lt; Kind &gt;</a>

View File

@@ -146,7 +146,7 @@ $(document).ready(function(){initNavTree('functions_func.html',''); initResizabl
: <a class="el" href="d1/d51/classrange__queries_1_1heavy__light__decomposition_1_1_tree.html#ab916d554afa8ca5230b4310c2c69fae0">range_queries::heavy_light_decomposition::Tree&lt; X &gt;</a>
</li>
<li>char_to_int()
: <a class="el" href="d0/d6e/classdata__structure_1_1trie.html#aeb479dcc88415154fb61c2fbb589d6d0">data_structure::trie</a>
: <a class="el" href="d0/d3e/classdata__structures_1_1trie.html#aab373beb3f618b90922528c68797d988">data_structures::trie</a>
</li>
<li>check_size_match()
: <a class="el" href="d6/d30/classmachine__learning_1_1adaline.html#ac8a9c2aaaa63b0f27ea176857e1e7d56">machine_learning::adaline</a>
@@ -178,13 +178,13 @@ $(document).ready(function(){initNavTree('functions_func.html',''); initResizabl
: <a class="el" href="d6/d26/classciphers_1_1_hill_cipher.html#a427acfac1dbff3f48a2b071d449d965b">ciphers::HillCipher</a>
</li>
<li>deleteElement()
: <a class="el" href="d1/d46/classdata__structure_1_1_skip_list.html#a4b8eb18c9ca24f53e9de91b74febd666">data_structure::SkipList</a>
: <a class="el" href="d4/d90/classdata__structures_1_1_skip_list.html#a86925c53e139cc6c3f7df1e9003bb0b0">data_structures::SkipList</a>
</li>
<li>deleteKey()
: <a class="el" href="d2/d05/class_min_heap.html#a37ac126eabb0c3ce04047172abccca29">MinHeap</a>
</li>
<li>deleteString()
: <a class="el" href="d0/d6e/classdata__structure_1_1trie.html#a98a0d54a781a680903eac14085fcbc2e">data_structure::trie</a>
: <a class="el" href="d0/d3e/classdata__structures_1_1trie.html#aeac27cfd397d2dd3f2f519efffafeeab">data_structures::trie</a>
</li>
<li>DenseLayer()
: <a class="el" href="dc/d93/classmachine__learning_1_1neural__network_1_1layers_1_1_dense_layer.html#a2871146feaaa453558239df67b21e0d2">machine_learning::neural_network::layers::DenseLayer</a>
@@ -219,7 +219,7 @@ $(document).ready(function(){initNavTree('functions_func.html',''); initResizabl
, <a class="el" href="d1/dc2/classstack.html#a67f65710c376f67d1ba3bde45a9cb628">stack&lt; Type &gt;</a>
</li>
<li>displayList()
: <a class="el" href="d1/d46/classdata__structure_1_1_skip_list.html#a1574d62ca0a5a821601d246c07215335">data_structure::SkipList</a>
: <a class="el" href="d4/d90/classdata__structures_1_1_skip_list.html#a812611f80b8079268dbb19cc4e9bee5c">data_structures::SkipList</a>
</li>
</ul>
@@ -341,11 +341,11 @@ $(document).ready(function(){initNavTree('functions_func.html',''); initResizabl
, <a class="el" href="d1/d51/classrange__queries_1_1heavy__light__decomposition_1_1_tree.html#ad22d760a5a33545a70e7ea5e1786c8dc">range_queries::heavy_light_decomposition::Tree&lt; X &gt;</a>
</li>
<li>insert()
: <a class="el" href="d0/d6e/classdata__structure_1_1trie.html#a8b9a51c90291a3402904c8cd16bbe30d">data_structure::trie</a>
: <a class="el" href="d0/d3e/classdata__structures_1_1trie.html#a0ab94bc6417e3f59fab33cea5b64d546">data_structures::trie</a>
, <a class="el" href="dd/d2f/class_trie.html#afd8b79959009b554e98ea7128b2886f2">Trie</a>
</li>
<li>insertElement()
: <a class="el" href="d1/d46/classdata__structure_1_1_skip_list.html#a1c6c04c0fb45ea2e2378de7ab9cb465b">data_structure::SkipList</a>
: <a class="el" href="d4/d90/classdata__structures_1_1_skip_list.html#a40a4042bdf0b6683b5f21ae7854de8a9">data_structures::SkipList</a>
</li>
<li>insertKey()
: <a class="el" href="d2/d05/class_min_heap.html#aef78f3384f5a0ae880ad0883d2d44b82">MinHeap</a>
@@ -432,7 +432,7 @@ $(document).ready(function(){initNavTree('functions_func.html',''); initResizabl
, <a class="el" href="d8/dab/classstatistics_1_1stats__computer2.html#ade6de704deea24fdc88077b3d9a0d534">statistics::stats_computer2&lt; T &gt;</a>
</li>
<li>Node()
: <a class="el" href="d3/d6f/structdata__structure_1_1_node.html#af7f19e61975f1362b22d1488bee87077">data_structure::Node</a>
: <a class="el" href="d9/d49/structdata__structures_1_1_node.html#a54a6777e72b639c3ee6446a541db8e78">data_structures::Node</a>
</li>
<li>num_digits()
: <a class="el" href="db/d82/classlarge__number.html#ac09a05ec4aafb4d9e0b4440d6f0e2a93">large_number</a>
@@ -528,7 +528,7 @@ $(document).ready(function(){initNavTree('functions_func.html',''); initResizabl
: <a class="el" href="d6/d26/classciphers_1_1_hill_cipher.html#a629be41c1ab78850963e4ce14e1d11d9">ciphers::HillCipher</a>
</li>
<li>randomLevel()
: <a class="el" href="d1/d46/classdata__structure_1_1_skip_list.html#a10800369c9efa08dd86de0ce552c874e">data_structure::SkipList</a>
: <a class="el" href="d4/d90/classdata__structures_1_1_skip_list.html#aa3f3813e9896792fc86b296547689ba4">data_structures::SkipList</a>
</li>
<li>real()
: <a class="el" href="da/d5a/class_complex.html#a312e4b19146128408fb06e0150b0faf6">Complex</a>
@@ -550,11 +550,11 @@ $(document).ready(function(){initNavTree('functions_func.html',''); initResizabl
: <a class="el" href="d4/df4/classmachine__learning_1_1neural__network_1_1_neural_network.html#a4f14e473bb0722c6490b9dc8da5982aa">machine_learning::neural_network::NeuralNetwork</a>
</li>
<li>search()
: <a class="el" href="d0/d6e/classdata__structure_1_1trie.html#adff53199439d06776ebbaf917741774f">data_structure::trie</a>
: <a class="el" href="d0/d3e/classdata__structures_1_1trie.html#a499f87fd833203ef9492b4870aa6d42d">data_structures::trie</a>
, <a class="el" href="dd/d2f/class_trie.html#a411e77126930a0942dd7b65e96b15206">Trie</a>
</li>
<li>searchElement()
: <a class="el" href="d1/d46/classdata__structure_1_1_skip_list.html#a7cda6370f8bd2b6d1db28bd5ca586a21">data_structure::SkipList</a>
: <a class="el" href="d4/d90/classdata__structures_1_1_skip_list.html#a2249e3ab2f8a0f2334b90635202de4f2">data_structures::SkipList</a>
</li>
<li>set_node_val()
: <a class="el" href="d1/d51/classrange__queries_1_1heavy__light__decomposition_1_1_tree.html#a04cd96efaba147b19d3afc769b90ff70">range_queries::heavy_light_decomposition::Tree&lt; X &gt;</a>
@@ -569,7 +569,7 @@ $(document).ready(function(){initNavTree('functions_func.html',''); initResizabl
: <a class="el" href="d4/df4/classmachine__learning_1_1neural__network_1_1_neural_network.html#ac130322a5abb1ff763b7c1a55405a35e">machine_learning::neural_network::NeuralNetwork</a>
</li>
<li>SkipList()
: <a class="el" href="d1/d46/classdata__structure_1_1_skip_list.html#aed414cf88cfacb9554ecfd184b03fe04">data_structure::SkipList</a>
: <a class="el" href="d4/d90/classdata__structures_1_1_skip_list.html#a7ffc3688725b9d1ec6e5bb881a6e2ae4">data_structures::SkipList</a>
</li>
<li>stack()
: <a class="el" href="d1/dc2/classstack.html#a5b64337ec34b12e98458bb9b9d5f8f83">stack&lt; Type &gt;</a>
@@ -601,7 +601,7 @@ $(document).ready(function(){initNavTree('functions_func.html',''); initResizabl
: <a class="el" href="d1/d51/classrange__queries_1_1heavy__light__decomposition_1_1_tree.html#a835fb2bbb27307b8cacad9b287968bc1">range_queries::heavy_light_decomposition::Tree&lt; X &gt;</a>
</li>
<li>trie()
: <a class="el" href="d0/d6e/classdata__structure_1_1trie.html#a36a41761149fd541850834aef29f9b7f">data_structure::trie</a>
: <a class="el" href="d0/d3e/classdata__structures_1_1trie.html#a87d8bf99aea936f9381141753f1e90a8">data_structures::trie</a>
</li>
<li>Trie()
: <a class="el" href="dd/d2f/class_trie.html#a6af57e9f25d0d0a2d59eea5a4a802908">Trie</a>

View File

@@ -118,7 +118,7 @@ $(document).ready(function(){initNavTree('functions_h.html',''); initResizable()
: <a class="el" href="dd/d1c/classhash__chain.html#ae8457d13620497fa2046ac566252c4b0">hash_chain</a>
</li>
<li>header
: <a class="el" href="d1/d46/classdata__structure_1_1_skip_list.html#a7aed753e3b47953229f5ac94f0fc9aad">data_structure::SkipList</a>
: <a class="el" href="d4/d90/classdata__structures_1_1_skip_list.html#ad7e392386d7db622185d6f7c718e4f16">data_structures::SkipList</a>
</li>
<li>heap_size
: <a class="el" href="d2/d05/class_min_heap.html#ae4d358bf063bb196a1945b3fb99b4913">MinHeap</a>

View File

@@ -101,11 +101,11 @@ $(document).ready(function(){initNavTree('functions_i.html',''); initResizable()
, <a class="el" href="d1/d51/classrange__queries_1_1heavy__light__decomposition_1_1_tree.html#ad22d760a5a33545a70e7ea5e1786c8dc">range_queries::heavy_light_decomposition::Tree&lt; X &gt;</a>
</li>
<li>insert()
: <a class="el" href="d0/d6e/classdata__structure_1_1trie.html#a8b9a51c90291a3402904c8cd16bbe30d">data_structure::trie</a>
: <a class="el" href="d0/d3e/classdata__structures_1_1trie.html#a0ab94bc6417e3f59fab33cea5b64d546">data_structures::trie</a>
, <a class="el" href="dd/d2f/class_trie.html#afd8b79959009b554e98ea7128b2886f2">Trie</a>
</li>
<li>insertElement()
: <a class="el" href="d1/d46/classdata__structure_1_1_skip_list.html#a1c6c04c0fb45ea2e2378de7ab9cb465b">data_structure::SkipList</a>
: <a class="el" href="d4/d90/classdata__structures_1_1_skip_list.html#a40a4042bdf0b6683b5f21ae7854de8a9">data_structures::SkipList</a>
</li>
<li>insertKey()
: <a class="el" href="d2/d05/class_min_heap.html#aef78f3384f5a0ae880ad0883d2d44b82">MinHeap</a>
@@ -129,7 +129,7 @@ $(document).ready(function(){initNavTree('functions_i.html',''); initResizable()
: <a class="el" href="d1/dc2/classstack.html#a066e4505155b009913c47b2648b1067a">stack&lt; Type &gt;</a>
</li>
<li>isEndofWord
: <a class="el" href="d0/d6e/classdata__structure_1_1trie.html#a0bc4f25351be960f3570e562cfb4a070">data_structure::trie</a>
: <a class="el" href="d0/d3e/classdata__structures_1_1trie.html#a4cb0f775b5a4bc14a6d39b5c93883eb6">data_structures::trie</a>
</li>
</ul>
</div><!-- contents -->

View File

@@ -94,7 +94,7 @@ $(document).ready(function(){initNavTree('functions_k.html',''); initResizable()
<h3><a id="index_k"></a>- k -</h3><ul>
<li>key
: <a class="el" href="d3/d6f/structdata__structure_1_1_node.html#a089ebc844c81777652d4e577be0739c8">data_structure::Node</a>
: <a class="el" href="d9/d49/structdata__structures_1_1_node.html#ac75aa86a598357c5c882ec6a1174aa68">data_structures::Node</a>
, <a class="el" href="d9/dde/structdouble__hashing_1_1_entry.html#ae114967c89dbba3b754dc4976bba3248">double_hashing::Entry</a>
, <a class="el" href="db/d19/structlinear__probing_1_1_entry.html#a4d84e90b73022083761f85f8586c4c2a">linear_probing::Entry</a>
, <a class="el" href="d8/d10/structlist.html#aaab2e33bc1ca6f44e72239bfb58f100c">list</a>

View File

@@ -106,7 +106,7 @@ $(document).ready(function(){initNavTree('functions_l.html',''); initResizable()
: <a class="el" href="d2/d05/class_min_heap.html#aa8c6c141e3de664819686aa637e1afca">MinHeap</a>
</li>
<li>level
: <a class="el" href="d1/d46/classdata__structure_1_1_skip_list.html#ae0c022174510fd9ca1b84d8e996cd1a5">data_structure::SkipList</a>
: <a class="el" href="d4/d90/classdata__structures_1_1_skip_list.html#a3e249c2c35a8b7f5ffd2d77fee60d650">data_structures::SkipList</a>
, <a class="el" href="d0/d58/classgraph_1_1_rooted_tree.html#a2ee3ad1161ac2532da30c3e22c265ad3">graph::RootedTree</a>
</li>
<li>lift()

View File

@@ -112,11 +112,11 @@ $(document).ready(function(){initNavTree('functions_n.html',''); initResizable()
, <a class="el" href="d5/da1/structnode.html#a135f25acadfbba644f848f1aa18d8350">node&lt; Kind &gt;</a>
</li>
<li>Node()
: <a class="el" href="d3/d6f/structdata__structure_1_1_node.html#af7f19e61975f1362b22d1488bee87077">data_structure::Node</a>
: <a class="el" href="d9/d49/structdata__structures_1_1_node.html#a54a6777e72b639c3ee6446a541db8e78">data_structures::Node</a>
, <a class="el" href="dd/d1c/classhash__chain.html#a21172d047bb9621385f2426ce25e71aa">hash_chain</a>
</li>
<li>NUM_CHARS
: <a class="el" href="d0/d6e/classdata__structure_1_1trie.html#a3c243c5c7221799ea5edae04c9c45129">data_structure::trie</a>
: <a class="el" href="d0/d3e/classdata__structures_1_1trie.html#a4bfac4be6ed1a34c7159eddb42469191">data_structures::trie</a>
</li>
<li>num_digits()
: <a class="el" href="db/d82/classlarge__number.html#ac09a05ec4aafb4d9e0b4440d6f0e2a93">large_number</a>

Some files were not shown because too many files have changed in this diff Show More