Documentation for 93a700c7e9

This commit is contained in:
realstealthninja
2025-05-25 14:24:42 +00:00
parent a868ea9b06
commit e7edde96ab
32 changed files with 1083 additions and 1246 deletions

View File

@@ -1,15 +1,13 @@
<map id="data_structures/trie_tree.cpp" name="data_structures/trie_tree.cpp">
<area shape="rect" id="Node000001" title="Implementation of Trie data structure for English alphabets in small characters." alt="" coords="184,5,317,46"/>
<area shape="rect" id="Node000001" title="Implementation of Trie data structure for English alphabets in small characters." alt="" coords="137,5,270,46"/>
<area shape="rect" id="Node000002" title=" " alt="" coords="5,94,56,120"/>
<area shape="poly" id="edge1_Node000001_Node000002" title=" " alt="" coords="196,49,72,94,70,89,195,44"/>
<area shape="poly" id="edge1_Node000001_Node000002" title=" " alt="" coords="162,49,71,90,69,85,159,44"/>
<area shape="rect" id="Node000003" title=" " alt="" coords="80,94,144,120"/>
<area shape="poly" id="edge2_Node000001_Node000003" title=" " alt="" coords="217,49,147,88,145,84,215,44"/>
<area shape="poly" id="edge2_Node000001_Node000003" title=" " alt="" coords="183,48,139,86,136,82,179,44"/>
<area shape="rect" id="Node000004" title=" " alt="" coords="168,94,240,120"/>
<area shape="poly" id="edge3_Node000001_Node000004" title=" " alt="" coords="241,48,221,82,217,79,237,45"/>
<area shape="poly" id="edge3_Node000001_Node000004" title=" " alt="" coords="206,46,206,78,201,78,201,46"/>
<area shape="rect" id="Node000005" title=" " alt="" coords="263,94,331,120"/>
<area shape="poly" id="edge4_Node000001_Node000005" title=" " alt="" coords="264,45,284,79,280,82,260,48"/>
<area shape="poly" id="edge4_Node000001_Node000005" title=" " alt="" coords="229,44,273,82,269,86,225,48"/>
<area shape="rect" id="Node000006" title=" " alt="" coords="356,94,409,120"/>
<area shape="poly" id="edge5_Node000001_Node000006" title=" " alt="" coords="285,44,351,83,348,88,282,49"/>
<area shape="rect" id="Node000007" title=" " alt="" coords="434,94,491,120"/>
<area shape="poly" id="edge6_Node000001_Node000007" title=" " alt="" coords="304,44,420,87,418,92,303,49"/>
<area shape="poly" id="edge5_Node000001_Node000006" title=" " alt="" coords="250,44,343,85,341,90,247,49"/>
</map>

View File

@@ -1 +1 @@
1cf5791bbfd7e15df47212f7724835dd
25563c9822626b8e6bcc2e85f96288f5

View File

@@ -4,8 +4,8 @@
<!-- Generated by graphviz version 12.2.1 (20241206.2353)
-->
<!-- Title: data_structures/trie_tree.cpp Pages: 1 -->
<svg width="372pt" height="94pt"
viewBox="0.00 0.00 372.38 93.75" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<svg width="311pt" height="94pt"
viewBox="0.00 0.00 310.88 93.75" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<svg id="main" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve">
@@ -23,9 +23,9 @@
<g id="Node000001" class="node">
<title>Node1</title>
<g id="a_Node000001"><a xlink:title="Implementation of Trie data structure for English alphabets in small characters.">
<polygon fill="#999999" stroke="#666666" points="233.88,-85.75 133.88,-85.75 133.88,-55.25 233.88,-55.25 233.88,-85.75"/>
<text text-anchor="start" x="141.88" y="-72.25" font-family="Helvetica,sans-Serif" font-size="10.00">data_structures/trie</text>
<text text-anchor="middle" x="183.88" y="-61" font-family="Helvetica,sans-Serif" font-size="10.00">_tree.cpp</text>
<polygon fill="#999999" stroke="#666666" points="198.88,-85.75 98.88,-85.75 98.88,-55.25 198.88,-55.25 198.88,-85.75"/>
<text text-anchor="start" x="106.88" y="-72.25" font-family="Helvetica,sans-Serif" font-size="10.00">data_structures/trie</text>
<text text-anchor="middle" x="148.88" y="-61" font-family="Helvetica,sans-Serif" font-size="10.00">_tree.cpp</text>
</a>
</g>
</g>
@@ -42,8 +42,8 @@
<g id="edge1_Node000001_Node000002" class="edge">
<title>Node1&#45;&gt;Node2</title>
<g id="a_edge1_Node000001_Node000002"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M142.66,-54.8C113.56,-44.41 75.22,-30.73 48.97,-21.36"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="50.2,-18.09 39.6,-18.02 47.85,-24.68 50.2,-18.09"/>
<path fill="none" stroke="#63b8ff" d="M116.41,-54.8C95.5,-45.33 68.54,-33.12 48.26,-23.93"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="49.98,-20.87 39.43,-19.93 47.1,-27.25 49.98,-20.87"/>
</a>
</g>
</g>
@@ -60,8 +60,8 @@
<g id="edge2_Node000001_Node000003" class="edge">
<title>Node1&#45;&gt;Node3</title>
<g id="a_edge2_Node000001_Node000003"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M157.9,-54.8C141.91,-45.74 121.49,-34.19 105.56,-25.16"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="107.57,-22.28 97.14,-20.4 104.12,-28.37 107.57,-22.28"/>
<path fill="none" stroke="#63b8ff" d="M131.82,-54.95C121.92,-46.5 109.42,-35.83 99.16,-27.08"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="101.54,-24.51 91.66,-20.68 97,-29.84 101.54,-24.51"/>
</a>
</g>
</g>
@@ -78,8 +78,8 @@
<g id="edge3_Node000001_Node000004" class="edge">
<title>Node1&#45;&gt;Node4</title>
<g id="a_edge3_Node000001_Node000004"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M175.22,-54.95C170.66,-47.28 165.01,-37.77 160.12,-29.54"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="163.16,-27.81 155.04,-21 157.15,-31.39 163.16,-27.81"/>
<path fill="none" stroke="#63b8ff" d="M148.88,-54.95C148.88,-47.71 148.88,-38.84 148.88,-30.94"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="152.38,-31.21 148.88,-21.21 145.38,-31.21 152.38,-31.21"/>
</a>
</g>
</g>
@@ -96,8 +96,8 @@
<g id="edge4_Node000001_Node000005" class="edge">
<title>Node1&#45;&gt;Node5</title>
<g id="a_edge4_Node000001_Node000005"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M192.53,-54.95C197.09,-47.28 202.74,-37.77 207.63,-29.54"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="210.6,-31.39 212.71,-21 204.59,-27.81 210.6,-31.39"/>
<path fill="none" stroke="#63b8ff" d="M166.18,-54.95C176.22,-46.5 188.9,-35.83 199.31,-27.08"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="201.53,-29.79 206.93,-20.68 197.02,-24.43 201.53,-29.79"/>
</a>
</g>
</g>
@@ -114,26 +114,8 @@
<g id="edge5_Node000001_Node000006" class="edge">
<title>Node1&#45;&gt;Node6</title>
<g id="a_edge5_Node000001_Node000006"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M208.6,-54.8C223.68,-45.83 242.89,-34.41 257.99,-25.42"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="259.59,-28.55 266.39,-20.43 256.01,-22.53 259.59,-28.55"/>
</a>
</g>
</g>
<!-- Node7 -->
<g id="Node000007" class="node">
<title>Node7</title>
<g id="a_Node000007"><a xlink:title=" ">
<polygon fill="#e0e0e0" stroke="#999999" points="364.38,-19.25 321.38,-19.25 321.38,0 364.38,0 364.38,-19.25"/>
<text text-anchor="middle" x="342.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">vector</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node7 -->
<g id="edge6_Node000001_Node000007" class="edge">
<title>Node1&#45;&gt;Node7</title>
<g id="a_edge6_Node000001_Node000007"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M223.59,-54.8C250.39,-44.87 285.32,-31.94 310.44,-22.63"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="311.65,-25.92 319.82,-19.16 309.22,-19.35 311.65,-25.92"/>
<path fill="none" stroke="#63b8ff" d="M182.34,-54.8C203.76,-45.38 231.35,-33.26 252.2,-24.1"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="253.58,-27.32 261.33,-20.09 250.77,-20.91 253.58,-27.32"/>
</a>
</g>
</g>

Before

Width:  |  Height:  |  Size: 6.2 KiB

After

Width:  |  Height:  |  Size: 5.4 KiB

View File

@@ -4,17 +4,17 @@
<!-- Generated by graphviz version 12.2.1 (20241206.2353)
-->
<!-- Title: data_structures/trie_tree.cpp Pages: 1 -->
<svg width="372pt" height="94pt"
viewBox="0.00 0.00 372.38 93.75" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<svg width="311pt" height="94pt"
viewBox="0.00 0.00 310.88 93.75" 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 89.75)">
<title>data_structures/trie_tree.cpp</title>
<!-- Node1 -->
<g id="Node000001" class="node">
<title>Node1</title>
<g id="a_Node000001"><a xlink:title="Implementation of Trie data structure for English alphabets in small characters.">
<polygon fill="#999999" stroke="#666666" points="233.88,-85.75 133.88,-85.75 133.88,-55.25 233.88,-55.25 233.88,-85.75"/>
<text text-anchor="start" x="141.88" y="-72.25" font-family="Helvetica,sans-Serif" font-size="10.00">data_structures/trie</text>
<text text-anchor="middle" x="183.88" y="-61" font-family="Helvetica,sans-Serif" font-size="10.00">_tree.cpp</text>
<polygon fill="#999999" stroke="#666666" points="198.88,-85.75 98.88,-85.75 98.88,-55.25 198.88,-55.25 198.88,-85.75"/>
<text text-anchor="start" x="106.88" y="-72.25" font-family="Helvetica,sans-Serif" font-size="10.00">data_structures/trie</text>
<text text-anchor="middle" x="148.88" y="-61" font-family="Helvetica,sans-Serif" font-size="10.00">_tree.cpp</text>
</a>
</g>
</g>
@@ -31,8 +31,8 @@
<g id="edge1_Node000001_Node000002" class="edge">
<title>Node1&#45;&gt;Node2</title>
<g id="a_edge1_Node000001_Node000002"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M142.66,-54.8C113.56,-44.41 75.22,-30.73 48.97,-21.36"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="50.2,-18.09 39.6,-18.02 47.85,-24.68 50.2,-18.09"/>
<path fill="none" stroke="#63b8ff" d="M116.41,-54.8C95.5,-45.33 68.54,-33.12 48.26,-23.93"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="49.98,-20.87 39.43,-19.93 47.1,-27.25 49.98,-20.87"/>
</a>
</g>
</g>
@@ -49,8 +49,8 @@
<g id="edge2_Node000001_Node000003" class="edge">
<title>Node1&#45;&gt;Node3</title>
<g id="a_edge2_Node000001_Node000003"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M157.9,-54.8C141.91,-45.74 121.49,-34.19 105.56,-25.16"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="107.57,-22.28 97.14,-20.4 104.12,-28.37 107.57,-22.28"/>
<path fill="none" stroke="#63b8ff" d="M131.82,-54.95C121.92,-46.5 109.42,-35.83 99.16,-27.08"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="101.54,-24.51 91.66,-20.68 97,-29.84 101.54,-24.51"/>
</a>
</g>
</g>
@@ -67,8 +67,8 @@
<g id="edge3_Node000001_Node000004" class="edge">
<title>Node1&#45;&gt;Node4</title>
<g id="a_edge3_Node000001_Node000004"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M175.22,-54.95C170.66,-47.28 165.01,-37.77 160.12,-29.54"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="163.16,-27.81 155.04,-21 157.15,-31.39 163.16,-27.81"/>
<path fill="none" stroke="#63b8ff" d="M148.88,-54.95C148.88,-47.71 148.88,-38.84 148.88,-30.94"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="152.38,-31.21 148.88,-21.21 145.38,-31.21 152.38,-31.21"/>
</a>
</g>
</g>
@@ -85,8 +85,8 @@
<g id="edge4_Node000001_Node000005" class="edge">
<title>Node1&#45;&gt;Node5</title>
<g id="a_edge4_Node000001_Node000005"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M192.53,-54.95C197.09,-47.28 202.74,-37.77 207.63,-29.54"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="210.6,-31.39 212.71,-21 204.59,-27.81 210.6,-31.39"/>
<path fill="none" stroke="#63b8ff" d="M166.18,-54.95C176.22,-46.5 188.9,-35.83 199.31,-27.08"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="201.53,-29.79 206.93,-20.68 197.02,-24.43 201.53,-29.79"/>
</a>
</g>
</g>
@@ -103,26 +103,8 @@
<g id="edge5_Node000001_Node000006" class="edge">
<title>Node1&#45;&gt;Node6</title>
<g id="a_edge5_Node000001_Node000006"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M208.6,-54.8C223.68,-45.83 242.89,-34.41 257.99,-25.42"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="259.59,-28.55 266.39,-20.43 256.01,-22.53 259.59,-28.55"/>
</a>
</g>
</g>
<!-- Node7 -->
<g id="Node000007" class="node">
<title>Node7</title>
<g id="a_Node000007"><a xlink:title=" ">
<polygon fill="#e0e0e0" stroke="#999999" points="364.38,-19.25 321.38,-19.25 321.38,0 364.38,0 364.38,-19.25"/>
<text text-anchor="middle" x="342.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">vector</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node7 -->
<g id="edge6_Node000001_Node000007" class="edge">
<title>Node1&#45;&gt;Node7</title>
<g id="a_edge6_Node000001_Node000007"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M223.59,-54.8C250.39,-44.87 285.32,-31.94 310.44,-22.63"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="311.65,-25.92 319.82,-19.16 309.22,-19.35 311.65,-25.92"/>
<path fill="none" stroke="#63b8ff" d="M182.34,-54.8C203.76,-45.38 231.35,-33.26 252.2,-24.1"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="253.58,-27.32 261.33,-20.09 250.77,-20.91 253.58,-27.32"/>
</a>
</g>
</g>

Before

Width:  |  Height:  |  Size: 5.4 KiB

After

Width:  |  Height:  |  Size: 4.7 KiB

View File

@@ -283,7 +283,7 @@ $(function(){initNavTree('de/dde/lowest__common__ancestor_8cpp_source.html','../
<div class="line"><a id="l00257" name="l00257"></a><span class="lineno"> 257</span> <span class="keywordflow">return</span> 0;</div>
<div class="line"><a id="l00258" name="l00258"></a><span class="lineno"> 258</span>}</div>
</div>
<div class="ttc" id="aclassgraph_1_1_graph_html"><div class="ttname"><a href="../../dc/d61/classgraph_1_1_graph.html">graph::Graph</a></div><div class="ttdef"><b>Definition</b> <a href="../../df/d82/breadth__first__search_8cpp_source.html#l00064">breadth_first_search.cpp:64</a></div></div>
<div class="ttc" id="aclassgraph_1_1_graph_html"><div class="ttname"><a href="../../dc/d61/classgraph_1_1_graph.html">graph::Graph</a></div><div class="ttdef"><b>Definition</b> <a href="../../df/d82/breadth__first__search_8cpp_source.html#l00063">breadth_first_search.cpp:63</a></div></div>
<div class="ttc" id="aclassgraph_1_1_graph_html_a59940c462861f2fcf4951d1b6c084e6a"><div class="ttname"><a href="../../dc/d61/classgraph_1_1_graph.html#a59940c462861f2fcf4951d1b6c084e6a">graph::Graph::neighbors</a></div><div class="ttdeci">std::vector&lt; std::vector&lt; int &gt; &gt; neighbors</div><div class="ttdoc">for each vertex it stores a list indicies of its neighbors</div><div class="ttdef"><b>Definition</b> <a href="#l00077">lowest_common_ancestor.cpp:77</a></div></div>
<div class="ttc" id="aclassgraph_1_1_graph_html_a8839fa14bff19d2deab4a618447c13e5"><div class="ttname"><a href="../../dc/d61/classgraph_1_1_graph.html#a8839fa14bff19d2deab4a618447c13e5">graph::Graph::Graph</a></div><div class="ttdeci">Graph(size_t N, const std::vector&lt; std::pair&lt; int, int &gt; &gt; &amp;undirected_edges)</div><div class="ttdoc">Populate the adjacency list for each vertex in the graph. Assumes that evey edge is a pair of valid v...</div><div class="ttdef"><b>Definition</b> <a href="#l00062">lowest_common_ancestor.cpp:62</a></div></div>
<div class="ttc" id="aclassgraph_1_1_graph_html_a8930d1470d132b19e430d1c71f94c904"><div class="ttname"><a href="../../dc/d61/classgraph_1_1_graph.html#a8930d1470d132b19e430d1c71f94c904">graph::Graph::number_of_vertices</a></div><div class="ttdeci">int number_of_vertices() const</div><div class="ttdef"><b>Definition</b> <a href="#l00074">lowest_common_ancestor.cpp:74</a></div></div>