mirror of
https://github.com/TheAlgorithms/C-Plus-Plus.git
synced 2026-05-12 19:47:53 +08:00
Documentation for 0953376d31
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||
<meta name="generator" content="Doxygen 1.9.6"/>
|
||||
<meta name="generator" content="Doxygen 1.9.7"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>Algorithms_in_C++: others::recursive_tree_traversals::BT Class Reference</title>
|
||||
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
|
||||
@@ -41,7 +41,7 @@ MathJax.Hub.Config({
|
||||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.9.6 -->
|
||||
<!-- Generated by Doxygen 1.9.7 -->
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
|
||||
@@ -110,8 +110,7 @@ $(document).ready(function(){initNavTree('dd/de1/classothers_1_1recursive__tree_
|
||||
<div class="dynheader">
|
||||
Collaboration diagram for others::recursive_tree_traversals::BT:</div>
|
||||
<div class="dyncontent">
|
||||
<div class="center"><iframe scrolling="no" frameborder="0" src="../../d8/d98/classothers_1_1recursive__tree__traversals_1_1_b_t__coll__graph.svg" width="180" height="259"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe>
|
||||
</div>
|
||||
<div class="center"><iframe scrolling="no" frameborder="0" src="../../d8/d98/classothers_1_1recursive__tree__traversals_1_1_b_t__coll__graph.svg" width="180" height="259"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div>
|
||||
<center><span class="legend">[<a target="top" href="../../graph_legend.html">legend</a>]</span></center></div>
|
||||
<table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
|
||||
@@ -173,9 +172,9 @@ Public Attributes</h2></td></tr>
|
||||
<div class="line"><span class="lineno"> 119</span> <a class="code hl_class" href="../../d5/da1/structnode.html">node</a>->left = <a class="code hl_class" href="../../d5/da1/structnode.html">node</a>->right = <span class="keyword">nullptr</span>;</div>
|
||||
<div class="line"><span class="lineno"> 120</span> <span class="keywordflow">return</span> <a class="code hl_class" href="../../d5/da1/structnode.html">node</a>;</div>
|
||||
<div class="line"><span class="lineno"> 121</span>}</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="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="astructnode_html"><div class="ttname"><a href="../../d5/da1/structnode.html">node</a></div><div class="ttdef"><b>Definition:</b> binary_search_tree.cpp:11</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="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="astructnode_html"><div class="ttname"><a href="../../d5/da1/structnode.html">node</a></div><div class="ttdef"><b>Definition</b> binary_search_tree.cpp:11</div></div>
|
||||
</div><!-- fragment -->
|
||||
</div>
|
||||
</div>
|
||||
@@ -246,12 +245,11 @@ Public Attributes</h2></td></tr>
|
||||
<div class="line"><span class="lineno"> 179</span> </div>
|
||||
<div class="line"><span class="lineno"> 180</span> <span class="keywordflow">return</span> postorder_result;</div>
|
||||
<div class="line"><span class="lineno"> 181</span>}</div>
|
||||
<div class="ttc" id="aclassothers_1_1recursive__tree__traversals_1_1_b_t_html_a5224e6c2ba322b17cc2c3287b77742d5"><div class="ttname"><a href="../../dd/de1/classothers_1_1recursive__tree__traversals_1_1_b_t.html#a5224e6c2ba322b17cc2c3287b77742d5">others::recursive_tree_traversals::BT::postorder</a></div><div class="ttdeci">std::vector< uint64_t > postorder(Node *)</div><div class="ttdoc">postorder function that will perform the postorder traversal recursively, and return the result vecto...</div><div class="ttdef"><b>Definition:</b> recursive_tree_traversal.cpp:170</div></div>
|
||||
<div class="ttc" id="aclassothers_1_1recursive__tree__traversals_1_1_b_t_html_a5224e6c2ba322b17cc2c3287b77742d5"><div class="ttname"><a href="../../dd/de1/classothers_1_1recursive__tree__traversals_1_1_b_t.html#a5224e6c2ba322b17cc2c3287b77742d5">others::recursive_tree_traversals::BT::postorder</a></div><div class="ttdeci">std::vector< uint64_t > postorder(Node *)</div><div class="ttdoc">postorder function that will perform the postorder traversal recursively, and return the result vecto...</div><div class="ttdef"><b>Definition</b> recursive_tree_traversal.cpp:170</div></div>
|
||||
</div><!-- fragment --><div class="dynheader">
|
||||
Here is the call graph for this function:</div>
|
||||
<div class="dyncontent">
|
||||
<div class="center"><iframe scrolling="no" frameborder="0" src="../../dd/de1/classothers_1_1recursive__tree__traversals_1_1_b_t_a5224e6c2ba322b17cc2c3287b77742d5_cgraph.svg" width="346" height="76"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe>
|
||||
</div>
|
||||
<div class="center"><iframe scrolling="no" frameborder="0" src="../../dd/de1/classothers_1_1recursive__tree__traversals_1_1_b_t_a5224e6c2ba322b17cc2c3287b77742d5_cgraph.svg" width="346" height="76"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
@@ -292,12 +290,11 @@ Here is the call graph for this function:</div>
|
||||
<div class="line"><span class="lineno"> 159</span> </div>
|
||||
<div class="line"><span class="lineno"> 160</span> <span class="keywordflow">return</span> preorder_result;</div>
|
||||
<div class="line"><span class="lineno"> 161</span>}</div>
|
||||
<div class="ttc" id="aclassothers_1_1recursive__tree__traversals_1_1_b_t_html_abce10afbf9e16ce4a788af6b58abbebb"><div class="ttname"><a href="../../dd/de1/classothers_1_1recursive__tree__traversals_1_1_b_t.html#abce10afbf9e16ce4a788af6b58abbebb">others::recursive_tree_traversals::BT::preorder</a></div><div class="ttdeci">std::vector< uint64_t > preorder(Node *)</div><div class="ttdoc">preorder function that will perform the preorder traversal recursively, and return the resultant vect...</div><div class="ttdef"><b>Definition:</b> recursive_tree_traversal.cpp:150</div></div>
|
||||
<div class="ttc" id="aclassothers_1_1recursive__tree__traversals_1_1_b_t_html_abce10afbf9e16ce4a788af6b58abbebb"><div class="ttname"><a href="../../dd/de1/classothers_1_1recursive__tree__traversals_1_1_b_t.html#abce10afbf9e16ce4a788af6b58abbebb">others::recursive_tree_traversals::BT::preorder</a></div><div class="ttdeci">std::vector< uint64_t > preorder(Node *)</div><div class="ttdoc">preorder function that will perform the preorder traversal recursively, and return the resultant vect...</div><div class="ttdef"><b>Definition</b> recursive_tree_traversal.cpp:150</div></div>
|
||||
</div><!-- fragment --><div class="dynheader">
|
||||
Here is the call graph for this function:</div>
|
||||
<div class="dyncontent">
|
||||
<div class="center"><iframe scrolling="no" frameborder="0" src="../../dd/de1/classothers_1_1recursive__tree__traversals_1_1_b_t_abce10afbf9e16ce4a788af6b58abbebb_cgraph.svg" width="376" height="92"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe>
|
||||
</div>
|
||||
<div class="center"><iframe scrolling="no" frameborder="0" src="../../dd/de1/classothers_1_1recursive__tree__traversals_1_1_b_t_abce10afbf9e16ce4a788af6b58abbebb_cgraph.svg" width="376" height="92"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
@@ -311,7 +308,7 @@ Here is the call graph for this function:</div>
|
||||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="../../d0/d6f/namespaceothers.html">others</a></li><li class="navelem"><b>recursive_tree_traversals</b></li><li class="navelem"><a class="el" href="../../dd/de1/classothers_1_1recursive__tree__traversals_1_1_b_t.html">BT</a></li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.6 </li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.7 </li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
<map id="others::recursive_tree_traversals::BT::postorder" name="others::recursive_tree_traversals::BT::postorder">
|
||||
<area shape="rect" id="node1" title="postorder function that will perform the postorder traversal recursively, and return the result vecto..." alt="" coords="5,29,176,70"/>
|
||||
<area shape="rect" id="node2" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/vector/data.html#" title=" " alt="" coords="224,37,340,63"/>
|
||||
<area shape="rect" id="Node000001" title="postorder function that will perform the postorder traversal recursively, and return the result vecto..." alt="" coords="5,29,176,70"/>
|
||||
<area shape="poly" id="edge2_Node000001_Node000001" title=" " alt="" coords="54,29,52,19,58,10,71,5,91,3,112,5,124,12,122,17,110,10,90,8,72,10,62,15,57,20,59,28"/>
|
||||
<area shape="rect" id="Node000002" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/vector/data.html#" title=" " alt="" coords="224,37,340,63"/>
|
||||
<area shape="poly" id="edge1_Node000001_Node000002" title=" " alt="" coords="176,47,209,47,209,52,176,52"/>
|
||||
</map>
|
||||
|
||||
@@ -1 +1 @@
|
||||
d32df46be0c8fc1c6bb0b317001cd62c
|
||||
2cfcd8891b0e96bf70c0a75fa640f74f
|
||||
@@ -6,12 +6,22 @@
|
||||
<!-- Title: others::recursive_tree_traversals::BT::postorder Pages: 1 -->
|
||||
<svg width="259pt" height="57pt"
|
||||
viewBox="0.00 0.00 259.00 56.50" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
|
||||
<svg id="main" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" onload="init(evt)">
|
||||
<style type="text/css"><![CDATA[
|
||||
.node, .edge {opacity: 0.7;}
|
||||
.node.selected, .edge.selected {opacity: 1;}
|
||||
.edge:hover path { stroke: red; }
|
||||
.edge:hover polygon { stroke: red; fill: red; }
|
||||
]]></style>
|
||||
<script type="application/ecmascript" xlink:href="../../svg.min.js"/>
|
||||
<svg id="graph" class="graph">
|
||||
<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 52.5)">
|
||||
<title>others::recursive_tree_traversals::BT::postorder</title>
|
||||
<!-- Node1 -->
|
||||
<g id="node1" class="node">
|
||||
<g id="Node000001" class="node">
|
||||
<title>Node1</title>
|
||||
<g id="a_node1"><a xlink:title="postorder function that will perform the postorder traversal recursively, and return the result vecto...">
|
||||
<g id="a_Node000001"><a xlink:title="postorder function that will perform the postorder traversal recursively, and return the result vecto...">
|
||||
<polygon fill="#999999" stroke="#666666" points="127.75,-30.5 0,-30.5 0,0 127.75,0 127.75,-30.5"/>
|
||||
<text text-anchor="start" x="8" y="-17" font-family="Helvetica,sans-Serif" font-size="10.00">others::recursive_tree</text>
|
||||
<text text-anchor="middle" x="63.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">_traversals::BT::postorder</text>
|
||||
@@ -19,25 +29,46 @@
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node1 -->
|
||||
<g id="edge2" class="edge">
|
||||
<g id="edge2_Node000001_Node000001" class="edge">
|
||||
<title>Node1->Node1</title>
|
||||
<g id="a_edge2_Node000001_Node000001"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M38.45,-30.99C33.26,-40.06 41.73,-48.5 63.88,-48.5 76.33,-48.5 84.46,-45.83 88.27,-41.88"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="91.84,-42.27 89.3,-31.99 84.87,-41.61 91.84,-42.27"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node2 -->
|
||||
<g id="node2" class="node">
|
||||
<g id="Node000002" class="node">
|
||||
<title>Node2</title>
|
||||
<g id="a_node2"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/vector/data.html#" xlink:title=" ">
|
||||
<g id="a_Node000002"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/vector/data.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="251,-24.88 163.75,-24.88 163.75,-5.63 251,-5.63 251,-24.88"/>
|
||||
<text text-anchor="middle" x="207.38" y="-11.38" font-family="Helvetica,sans-Serif" font-size="10.00">std::vector::data</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node2 -->
|
||||
<g id="edge1" class="edge">
|
||||
<g id="edge1_Node000001_Node000002" class="edge">
|
||||
<title>Node1->Node2</title>
|
||||
<g id="a_edge1_Node000001_Node000002"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M128.18,-15.25C136.28,-15.25 144.51,-15.25 152.45,-15.25"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="152.42,-18.75 162.42,-15.25 152.42,-11.75 152.42,-18.75"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
</svg>
|
||||
|
||||
<style type='text/css'>
|
||||
<![CDATA[
|
||||
[data-mouse-over-selected='false'] { opacity: 0.7; }
|
||||
[data-mouse-over-selected='true'] { opacity: 1.0; }
|
||||
]]>
|
||||
</style>
|
||||
<script type="application/ecmascript"><![CDATA[
|
||||
document.addEventListener('DOMContentLoaded', (event) => {
|
||||
highlightEdges();
|
||||
highlightAdjacentNodes();
|
||||
});
|
||||
]]></script>
|
||||
</svg>
|
||||
|
||||
|
Before Width: | Height: | Size: 2.2 KiB After Width: | Height: | Size: 3.2 KiB |
@@ -0,0 +1,49 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
|
||||
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
||||
<!-- Generated by graphviz version 8.0.5 (20230430.1635)
|
||||
-->
|
||||
<!-- Title: others::recursive_tree_traversals::BT::postorder Pages: 1 -->
|
||||
<svg width="259pt" height="57pt"
|
||||
viewBox="0.00 0.00 259.00 56.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 52.5)">
|
||||
<title>others::recursive_tree_traversals::BT::postorder</title>
|
||||
<!-- Node1 -->
|
||||
<g id="Node000001" class="node">
|
||||
<title>Node1</title>
|
||||
<g id="a_Node000001"><a xlink:title="postorder function that will perform the postorder traversal recursively, and return the result vecto...">
|
||||
<polygon fill="#999999" stroke="#666666" points="127.75,-30.5 0,-30.5 0,0 127.75,0 127.75,-30.5"/>
|
||||
<text text-anchor="start" x="8" y="-17" font-family="Helvetica,sans-Serif" font-size="10.00">others::recursive_tree</text>
|
||||
<text text-anchor="middle" x="63.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">_traversals::BT::postorder</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node1 -->
|
||||
<g id="edge2_Node000001_Node000001" class="edge">
|
||||
<title>Node1->Node1</title>
|
||||
<g id="a_edge2_Node000001_Node000001"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M38.45,-30.99C33.26,-40.06 41.73,-48.5 63.88,-48.5 76.33,-48.5 84.46,-45.83 88.27,-41.88"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="91.84,-42.27 89.3,-31.99 84.87,-41.61 91.84,-42.27"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node2 -->
|
||||
<g id="Node000002" class="node">
|
||||
<title>Node2</title>
|
||||
<g id="a_Node000002"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/vector/data.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="251,-24.88 163.75,-24.88 163.75,-5.63 251,-5.63 251,-24.88"/>
|
||||
<text text-anchor="middle" x="207.38" y="-11.38" font-family="Helvetica,sans-Serif" font-size="10.00">std::vector::data</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node2 -->
|
||||
<g id="edge1_Node000001_Node000002" class="edge">
|
||||
<title>Node1->Node2</title>
|
||||
<g id="a_edge1_Node000001_Node000002"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M128.18,-15.25C136.28,-15.25 144.51,-15.25 152.45,-15.25"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="152.42,-18.75 162.42,-15.25 152.42,-11.75 152.42,-18.75"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 2.4 KiB |
@@ -1,5 +1,8 @@
|
||||
<map id="others::recursive_tree_traversals::BT::preorder" name="others::recursive_tree_traversals::BT::preorder">
|
||||
<area shape="rect" id="node1" title="preorder function that will perform the preorder traversal recursively, and return the resultant vect..." alt="" coords="5,29,169,70"/>
|
||||
<area shape="rect" id="node2" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/vector/data.html#" title=" " alt="" coords="236,12,352,37"/>
|
||||
<area shape="rect" id="node3" 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="217,61,371,87"/>
|
||||
<area shape="rect" id="Node000001" title="preorder function that will perform the preorder traversal recursively, and return the resultant vect..." alt="" coords="5,29,169,70"/>
|
||||
<area shape="poly" id="edge2_Node000001_Node000001" title=" " alt="" coords="48,29,46,19,52,10,66,5,87,3,110,5,123,12,121,17,109,10,87,8,67,10,56,15,51,20,53,28"/>
|
||||
<area shape="rect" id="Node000002" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/vector/data.html#" title=" " alt="" coords="236,12,352,37"/>
|
||||
<area shape="poly" id="edge1_Node000001_Node000002" title=" " alt="" coords="169,37,220,31,221,36,169,42"/>
|
||||
<area shape="rect" id="Node000003" 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="217,61,371,87"/>
|
||||
<area shape="poly" id="edge3_Node000001_Node000003" title=" " alt="" coords="169,57,202,60,202,66,169,62"/>
|
||||
</map>
|
||||
|
||||
@@ -1 +1 @@
|
||||
440238608a7793d610cfd612800a18aa
|
||||
749c93d964f5896be23d3dc26b58808f
|
||||
@@ -6,12 +6,22 @@
|
||||
<!-- Title: others::recursive_tree_traversals::BT::preorder Pages: 1 -->
|
||||
<svg width="282pt" height="69pt"
|
||||
viewBox="0.00 0.00 282.25 68.88" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
|
||||
<svg id="main" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" onload="init(evt)">
|
||||
<style type="text/css"><![CDATA[
|
||||
.node, .edge {opacity: 0.7;}
|
||||
.node.selected, .edge.selected {opacity: 1;}
|
||||
.edge:hover path { stroke: red; }
|
||||
.edge:hover polygon { stroke: red; fill: red; }
|
||||
]]></style>
|
||||
<script type="application/ecmascript" xlink:href="../../svg.min.js"/>
|
||||
<svg id="graph" class="graph">
|
||||
<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 64.88)">
|
||||
<title>others::recursive_tree_traversals::BT::preorder</title>
|
||||
<!-- Node1 -->
|
||||
<g id="node1" class="node">
|
||||
<g id="Node000001" class="node">
|
||||
<title>Node1</title>
|
||||
<g id="a_node1"><a xlink:title="preorder function that will perform the preorder traversal recursively, and return the resultant vect...">
|
||||
<g id="a_Node000001"><a xlink:title="preorder function that will perform the preorder traversal recursively, and return the resultant vect...">
|
||||
<polygon fill="#999999" stroke="#666666" points="122.5,-42.88 0,-42.88 0,-12.37 122.5,-12.37 122.5,-42.88"/>
|
||||
<text text-anchor="start" x="8" y="-29.38" font-family="Helvetica,sans-Serif" font-size="10.00">others::recursive_tree</text>
|
||||
<text text-anchor="middle" x="61.25" y="-18.12" font-family="Helvetica,sans-Serif" font-size="10.00">_traversals::BT::preorder</text>
|
||||
@@ -19,40 +29,64 @@
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node1 -->
|
||||
<g id="edge2" class="edge">
|
||||
<g id="edge2_Node000001_Node000001" class="edge">
|
||||
<title>Node1->Node1</title>
|
||||
<g id="a_edge2_Node000001_Node000001"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M33.76,-43.36C28.15,-52.43 37.31,-60.88 61.25,-60.88 74.71,-60.88 83.5,-58.2 87.62,-54.25"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="91.2,-54.67 88.74,-44.36 84.23,-53.95 91.2,-54.67"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node2 -->
|
||||
<g id="node2" class="node">
|
||||
<g id="Node000002" class="node">
|
||||
<title>Node2</title>
|
||||
<g id="a_node2"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/vector/data.html#" xlink:title=" ">
|
||||
<g id="a_Node000002"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/vector/data.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="260,-56.25 172.75,-56.25 172.75,-37 260,-37 260,-56.25"/>
|
||||
<text text-anchor="middle" x="216.38" y="-42.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::vector::data</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node2 -->
|
||||
<g id="edge1" class="edge">
|
||||
<g id="edge1_Node000001_Node000002" class="edge">
|
||||
<title>Node1->Node2</title>
|
||||
<g id="a_edge1_Node000001_Node000002"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M122.77,-35.13C135.57,-36.72 149,-38.39 161.53,-39.94"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="160.93,-43.52 171.28,-41.28 161.79,-36.57 160.93,-43.52"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node3 -->
|
||||
<g id="node3" class="node">
|
||||
<g id="Node000003" class="node">
|
||||
<title>Node3</title>
|
||||
<g id="a_node3"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/vector/push_back.html#" xlink:title=" ">
|
||||
<g id="a_Node000003"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/vector/push_back.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="274.25,-19.25 158.5,-19.25 158.5,0 274.25,0 274.25,-19.25"/>
|
||||
<text text-anchor="middle" x="216.38" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::vector::push_back</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node3 -->
|
||||
<g id="edge3" class="edge">
|
||||
<g id="edge3_Node000001_Node000003" class="edge">
|
||||
<title>Node1->Node3</title>
|
||||
<g id="a_edge3_Node000001_Node000003"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M122.77,-20.51C130.91,-19.55 139.3,-18.57 147.55,-17.6"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="147.77,-20.98 157.29,-16.34 146.95,-14.03 147.77,-20.98"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
</svg>
|
||||
|
||||
<style type='text/css'>
|
||||
<![CDATA[
|
||||
[data-mouse-over-selected='false'] { opacity: 0.7; }
|
||||
[data-mouse-over-selected='true'] { opacity: 1.0; }
|
||||
]]>
|
||||
</style>
|
||||
<script type="application/ecmascript"><![CDATA[
|
||||
document.addEventListener('DOMContentLoaded', (event) => {
|
||||
highlightEdges();
|
||||
highlightAdjacentNodes();
|
||||
});
|
||||
]]></script>
|
||||
</svg>
|
||||
|
||||
|
Before Width: | Height: | Size: 2.9 KiB After Width: | Height: | Size: 4.0 KiB |
@@ -0,0 +1,67 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
|
||||
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
||||
<!-- Generated by graphviz version 8.0.5 (20230430.1635)
|
||||
-->
|
||||
<!-- Title: others::recursive_tree_traversals::BT::preorder Pages: 1 -->
|
||||
<svg width="282pt" height="69pt"
|
||||
viewBox="0.00 0.00 282.25 68.88" 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 64.88)">
|
||||
<title>others::recursive_tree_traversals::BT::preorder</title>
|
||||
<!-- Node1 -->
|
||||
<g id="Node000001" class="node">
|
||||
<title>Node1</title>
|
||||
<g id="a_Node000001"><a xlink:title="preorder function that will perform the preorder traversal recursively, and return the resultant vect...">
|
||||
<polygon fill="#999999" stroke="#666666" points="122.5,-42.88 0,-42.88 0,-12.37 122.5,-12.37 122.5,-42.88"/>
|
||||
<text text-anchor="start" x="8" y="-29.38" font-family="Helvetica,sans-Serif" font-size="10.00">others::recursive_tree</text>
|
||||
<text text-anchor="middle" x="61.25" y="-18.12" font-family="Helvetica,sans-Serif" font-size="10.00">_traversals::BT::preorder</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node1 -->
|
||||
<g id="edge2_Node000001_Node000001" class="edge">
|
||||
<title>Node1->Node1</title>
|
||||
<g id="a_edge2_Node000001_Node000001"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M33.76,-43.36C28.15,-52.43 37.31,-60.88 61.25,-60.88 74.71,-60.88 83.5,-58.2 87.62,-54.25"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="91.2,-54.67 88.74,-44.36 84.23,-53.95 91.2,-54.67"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node2 -->
|
||||
<g id="Node000002" class="node">
|
||||
<title>Node2</title>
|
||||
<g id="a_Node000002"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/vector/data.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="260,-56.25 172.75,-56.25 172.75,-37 260,-37 260,-56.25"/>
|
||||
<text text-anchor="middle" x="216.38" y="-42.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::vector::data</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node2 -->
|
||||
<g id="edge1_Node000001_Node000002" class="edge">
|
||||
<title>Node1->Node2</title>
|
||||
<g id="a_edge1_Node000001_Node000002"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M122.77,-35.13C135.57,-36.72 149,-38.39 161.53,-39.94"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="160.93,-43.52 171.28,-41.28 161.79,-36.57 160.93,-43.52"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node3 -->
|
||||
<g id="Node000003" class="node">
|
||||
<title>Node3</title>
|
||||
<g id="a_Node000003"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/vector/push_back.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="274.25,-19.25 158.5,-19.25 158.5,0 274.25,0 274.25,-19.25"/>
|
||||
<text text-anchor="middle" x="216.38" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::vector::push_back</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node3 -->
|
||||
<g id="edge3_Node000001_Node000003" class="edge">
|
||||
<title>Node1->Node3</title>
|
||||
<g id="a_edge3_Node000001_Node000003"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M122.77,-20.51C130.91,-19.55 139.3,-18.57 147.55,-17.6"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="147.77,-20.98 157.29,-16.34 146.95,-14.03 147.77,-20.98"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 3.2 KiB |
Reference in New Issue
Block a user