mirror of
https://github.com/TheAlgorithms/C-Plus-Plus.git
synced 2026-03-31 01:02:46 +08:00
Documentation for 8b1eab204b
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
<!-- HTML header for doxygen 1.12.0-->
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
|
||||
<head>
|
||||
@@ -5,10 +6,15 @@
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||
<meta name="generator" content="Doxygen 1.12.0"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>Algorithms_in_C++: binary_search_tree< T >::bst_node Struct Reference</title>
|
||||
<title>TheAlgorithms/C++: binary_search_tree< T >::bst_node Struct Reference</title>
|
||||
<link rel="icon" href="../../favicon.svg" type="image/x-icon" />
|
||||
<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>
|
||||
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/@xpack-3rd-party/doxygen-awesome-css@2.2.0-1/doxygen-awesome-darkmode-toggle.js"></script>
|
||||
<script type="text/javascript">
|
||||
DoxygenAwesomeDarkModeToggle.init()
|
||||
</script>
|
||||
<script type="text/javascript" src="../../clipboard.js"></script>
|
||||
<link href="../../navtree.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="../../navtreedata.js"></script>
|
||||
@@ -18,14 +24,24 @@
|
||||
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="../../search/searchdata.js"></script>
|
||||
<script type="text/javascript" src="../../search/search.js"></script>
|
||||
<script type="text/x-mathjax-config">
|
||||
MathJax.Hub.Config({
|
||||
extensions: ["tex2jax.js", "TeX/AMSmath.js", "TeX/AMSsymbols.js"],
|
||||
jax: ["input/TeX","output/HTML-CSS"],
|
||||
});
|
||||
<script type="text/javascript">
|
||||
window.MathJax = {
|
||||
options: {
|
||||
ignoreHtmlClass: 'tex2jax_ignore',
|
||||
processHtmlClass: 'tex2jax_process'
|
||||
},
|
||||
loader: {
|
||||
load: ['[tex]/ams']
|
||||
},
|
||||
tex: {
|
||||
macros: {},
|
||||
packages: ['base','configmacros','ams']
|
||||
}
|
||||
};
|
||||
</script>
|
||||
<script type="text/javascript" async="async" src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.7/MathJax.js?config=TeX-MML-AM_CHTML/MathJax.js"></script>
|
||||
<script type="text/javascript" id="MathJax-script" async="async" src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-chtml.js"></script>
|
||||
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
|
||||
<link href="../../doxygen-awesome.css" rel="stylesheet" type="text/css"/>
|
||||
</head>
|
||||
<body>
|
||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||
@@ -33,10 +49,11 @@ MathJax.Hub.Config({
|
||||
<table cellspacing="0" cellpadding="0">
|
||||
<tbody>
|
||||
<tr id="projectrow">
|
||||
<td id="projectlogo"><img alt="Logo" src="../../project_logo.png"/></td>
|
||||
<td id="projectalign">
|
||||
<div id="projectname">Algorithms_in_C++<span id="projectnumber"> 1.0.0</span>
|
||||
<div id="projectname">TheAlgorithms/C++<span id="projectnumber"> 1.0.0</span>
|
||||
</div>
|
||||
<div id="projectbrief">Set of algorithms implemented in C++.</div>
|
||||
<div id="projectbrief">All the algorithms implemented in C++</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
@@ -129,14 +146,16 @@ Public Member Functions</h2></td></tr>
|
||||
Public Attributes</h2></td></tr>
|
||||
<tr class="memitem:a09da9e5b801ede4764bc812975ff7f29" id="r_a09da9e5b801ede4764bc812975ff7f29"><td class="memItemLeft" align="right" valign="top">T </td><td class="memItemRight" valign="bottom"><a class="el" href="#a09da9e5b801ede4764bc812975ff7f29">value</a></td></tr>
|
||||
<tr class="separator:a09da9e5b801ede4764bc812975ff7f29"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a55c165b9e0e5b50a23104e0604dcc788" id="r_a55c165b9e0e5b50a23104e0604dcc788"><td class="memItemLeft" align="right" valign="top"><a class="elRef" target="_blank" href="http://en.cppreference.com/w/cpp/memory/unique_ptr.html">std::unique_ptr</a>< <a class="el" href="../../dd/db6/structbinary__search__tree_1_1bst__node.html">bst_node</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="#a55c165b9e0e5b50a23104e0604dcc788">left</a></td></tr>
|
||||
<tr class="memitem:a55c165b9e0e5b50a23104e0604dcc788" id="r_a55c165b9e0e5b50a23104e0604dcc788"><td class="memItemLeft" align="right" valign="top">std::unique_ptr< <a class="el" href="../../dd/db6/structbinary__search__tree_1_1bst__node.html">bst_node</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="#a55c165b9e0e5b50a23104e0604dcc788">left</a></td></tr>
|
||||
<tr class="separator:a55c165b9e0e5b50a23104e0604dcc788"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a05f3a7aa6c31622f855ce4b5a95e91df" id="r_a05f3a7aa6c31622f855ce4b5a95e91df"><td class="memItemLeft" align="right" valign="top"><a class="elRef" target="_blank" href="http://en.cppreference.com/w/cpp/memory/unique_ptr.html">std::unique_ptr</a>< <a class="el" href="../../dd/db6/structbinary__search__tree_1_1bst__node.html">bst_node</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="#a05f3a7aa6c31622f855ce4b5a95e91df">right</a></td></tr>
|
||||
<tr class="memitem:a05f3a7aa6c31622f855ce4b5a95e91df" id="r_a05f3a7aa6c31622f855ce4b5a95e91df"><td class="memItemLeft" align="right" valign="top">std::unique_ptr< <a class="el" href="../../dd/db6/structbinary__search__tree_1_1bst__node.html">bst_node</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="#a05f3a7aa6c31622f855ce4b5a95e91df">right</a></td></tr>
|
||||
<tr class="separator:a05f3a7aa6c31622f855ce4b5a95e91df"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
||||
<div class="textblock"><div class="compoundTemplParams">template<class T><br />
|
||||
struct binary_search_tree< T >::bst_node</div><p>A struct to represent a node in the Binary Search Tree. </p>
|
||||
|
||||
<p class="definition">Definition at line <a class="el" href="../../df/d42/binary__search__tree2_8cpp_source.html#l00025">25</a> of file <a class="el" href="../../df/d42/binary__search__tree2_8cpp_source.html">binary_search_tree2.cpp</a>.</p>
|
||||
</div><h2 class="groupheader">Constructor & Destructor Documentation</h2>
|
||||
<a id="a51dd9bd6dd32bce3b74dd64557306778" name="a51dd9bd6dd32bce3b74dd64557306778"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#a51dd9bd6dd32bce3b74dd64557306778">◆ </a></span>bst_node()</h2>
|
||||
@@ -168,13 +187,15 @@ template<class T > </div>
|
||||
</table>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<p class="definition">Definition at line <a class="el" href="../../df/d42/binary__search__tree2_8cpp_source.html#l00035">35</a> of file <a class="el" href="../../df/d42/binary__search__tree2_8cpp_source.html">binary_search_tree2.cpp</a>.</p>
|
||||
<div class="fragment"><div class="line"><span class="lineno"> 35</span> {</div>
|
||||
<div class="line"><span class="lineno"> 36</span> <a class="code hl_variable" href="#a09da9e5b801ede4764bc812975ff7f29">value</a> = _value;</div>
|
||||
<div class="line"><span class="lineno"> 37</span> left = <span class="keyword">nullptr</span>;</div>
|
||||
<div class="line"><span class="lineno"> 38</span> <a class="code hl_variable" href="#a05f3a7aa6c31622f855ce4b5a95e91df">right</a> = <span class="keyword">nullptr</span>;</div>
|
||||
<div class="line"><span class="lineno"> 39</span> }</div>
|
||||
<div class="ttc" id="astructbinary__search__tree_1_1bst__node_html_a05f3a7aa6c31622f855ce4b5a95e91df"><div class="ttname"><a href="#a05f3a7aa6c31622f855ce4b5a95e91df">binary_search_tree::bst_node::right</a></div><div class="ttdeci">std::unique_ptr< bst_node > right</div><div class="ttdef"><b>Definition</b> binary_search_tree2.cpp:28</div></div>
|
||||
<div class="ttc" id="astructbinary__search__tree_1_1bst__node_html_a09da9e5b801ede4764bc812975ff7f29"><div class="ttname"><a href="#a09da9e5b801ede4764bc812975ff7f29">binary_search_tree::bst_node::value</a></div><div class="ttdeci">T value</div><div class="ttdef"><b>Definition</b> binary_search_tree2.cpp:26</div></div>
|
||||
<div class="ttc" id="astructbinary__search__tree_1_1bst__node_html_a05f3a7aa6c31622f855ce4b5a95e91df"><div class="ttname"><a href="#a05f3a7aa6c31622f855ce4b5a95e91df">binary_search_tree::bst_node::right</a></div><div class="ttdeci">std::unique_ptr< bst_node > right</div><div class="ttdef"><b>Definition</b> <a href="../../df/d42/binary__search__tree2_8cpp_source.html#l00028">binary_search_tree2.cpp:28</a></div></div>
|
||||
<div class="ttc" id="astructbinary__search__tree_1_1bst__node_html_a09da9e5b801ede4764bc812975ff7f29"><div class="ttname"><a href="#a09da9e5b801ede4764bc812975ff7f29">binary_search_tree::bst_node::value</a></div><div class="ttdeci">T value</div><div class="ttdef"><b>Definition</b> <a href="../../df/d42/binary__search__tree2_8cpp_source.html#l00026">binary_search_tree2.cpp:26</a></div></div>
|
||||
</div><!-- fragment -->
|
||||
</div>
|
||||
</div>
|
||||
@@ -188,12 +209,14 @@ template<class T > </div>
|
||||
template<class T > </div>
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname"><a class="elRef" target="_blank" href="http://en.cppreference.com/w/cpp/memory/unique_ptr.html">std::unique_ptr</a><<a class="el" href="../../dd/db6/structbinary__search__tree_1_1bst__node.html">bst_node</a>> <a class="el" href="../../d9/dde/classbinary__search__tree.html">binary_search_tree</a>< T >::bst_node::left</td>
|
||||
<td class="memname">std::unique_ptr<<a class="el" href="../../dd/db6/structbinary__search__tree_1_1bst__node.html">bst_node</a>> <a class="el" href="../../d9/dde/classbinary__search__tree.html">binary_search_tree</a>< T >::bst_node::left</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
<p>Pointer to left subtree. </p>
|
||||
|
||||
<p class="definition">Definition at line <a class="el" href="../../df/d42/binary__search__tree2_8cpp_source.html#l00027">27</a> of file <a class="el" href="../../df/d42/binary__search__tree2_8cpp_source.html">binary_search_tree2.cpp</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a id="a05f3a7aa6c31622f855ce4b5a95e91df" name="a05f3a7aa6c31622f855ce4b5a95e91df"></a>
|
||||
@@ -205,12 +228,14 @@ template<class T > </div>
|
||||
template<class T > </div>
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname"><a class="elRef" target="_blank" href="http://en.cppreference.com/w/cpp/memory/unique_ptr.html">std::unique_ptr</a><<a class="el" href="../../dd/db6/structbinary__search__tree_1_1bst__node.html">bst_node</a>> <a class="el" href="../../d9/dde/classbinary__search__tree.html">binary_search_tree</a>< T >::bst_node::right</td>
|
||||
<td class="memname">std::unique_ptr<<a class="el" href="../../dd/db6/structbinary__search__tree_1_1bst__node.html">bst_node</a>> <a class="el" href="../../d9/dde/classbinary__search__tree.html">binary_search_tree</a>< T >::bst_node::right</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
<p>Pointer to right subtree. </p>
|
||||
|
||||
<p class="definition">Definition at line <a class="el" href="../../df/d42/binary__search__tree2_8cpp_source.html#l00028">28</a> of file <a class="el" href="../../df/d42/binary__search__tree2_8cpp_source.html">binary_search_tree2.cpp</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a id="a09da9e5b801ede4764bc812975ff7f29" name="a09da9e5b801ede4764bc812975ff7f29"></a>
|
||||
@@ -228,10 +253,12 @@ template<class T > </div>
|
||||
</div><div class="memdoc">
|
||||
<p>The value/key of the node. </p>
|
||||
|
||||
<p class="definition">Definition at line <a class="el" href="../../df/d42/binary__search__tree2_8cpp_source.html#l00026">26</a> of file <a class="el" href="../../df/d42/binary__search__tree2_8cpp_source.html">binary_search_tree2.cpp</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<hr/>The documentation for this struct was generated from the following file:<ul>
|
||||
<li>data_structures/<a class="el" href="../../df/d42/binary__search__tree2_8cpp.html">binary_search_tree2.cpp</a></li>
|
||||
<li>data_structures/<a class="el" href="../../df/d42/binary__search__tree2_8cpp_source.html">binary_search_tree2.cpp</a></li>
|
||||
</ul>
|
||||
</div><!-- contents -->
|
||||
</div><!-- doc-content -->
|
||||
|
||||
Reference in New Issue
Block a user