TheAlgorithms-C/d5/da1/structnode.html
2021-02-11 05:15:05 +00:00

191 lines
13 KiB
HTML

<!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">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Algorithms_in_C: 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>
<link href="../../navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../resize.js"></script>
<script type="text/javascript" src="../../navtreedata.js"></script>
<script type="text/javascript" src="../../navtree.js"></script>
<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>
<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>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">Algorithms_in_C
&#160;<span id="projectnumber">1.0.0</span>
</div>
<div id="projectbrief">Set of algorithms implemented in C.</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "../../search",false,'Search','.html');
/* @license-end */
</script>
<script type="text/javascript" src="../../menudata.js"></script>
<script type="text/javascript" src="../../menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
initMenu('../../',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
<div id="nav-tree">
<div id="nav-tree-contents">
<div id="nav-sync" class="sync"></div>
</div>
</div>
<div id="splitbar" style="-moz-user-select:none;"
class="ui-resizable-handle">
</div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('d5/da1/structnode.html','../../'); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div class="header">
<div class="summary">
<a href="#pub-attribs">Data Fields</a> </div>
<div class="headertitle">
<div class="title">node Struct Reference</div> </div>
</div><!--header-->
<div class="contents">
<p><a class="el" href="../../db/d8b/struct_node.html" title="Node, the basic data structure of the tree.">Node</a>, the basic data structure in the tree.
<a href="../../d5/da1/structnode.html#details">More...</a></p>
<div class="dynheader">
Collaboration diagram for node:</div>
<div class="dyncontent">
<div class="center"><iframe scrolling="no" frameborder="0" src="../../d0/d1f/structnode__coll__graph.svg" width="143" height="128"><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-attribs"></a>
Data Fields</h2></td></tr>
<tr class="memitem:af7109e6ffd82cbbb705e486fd0ce92f0"><td class="memItemLeft" align="right" valign="top"><a id="af7109e6ffd82cbbb705e486fd0ce92f0"></a>
struct <a class="el" href="../../d5/da1/structnode.html">node</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d5/da1/structnode.html#af7109e6ffd82cbbb705e486fd0ce92f0">left</a></td></tr>
<tr class="memdesc:af7109e6ffd82cbbb705e486fd0ce92f0"><td class="mdescLeft">&#160;</td><td class="mdescRight">left child <br /></td></tr>
<tr class="separator:af7109e6ffd82cbbb705e486fd0ce92f0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a51e160f22dc6064bac4a4f9f1d931c2c"><td class="memItemLeft" align="right" valign="top"><a id="a51e160f22dc6064bac4a4f9f1d931c2c"></a>
struct <a class="el" href="../../d5/da1/structnode.html">node</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d5/da1/structnode.html#a51e160f22dc6064bac4a4f9f1d931c2c">right</a></td></tr>
<tr class="memdesc:a51e160f22dc6064bac4a4f9f1d931c2c"><td class="mdescLeft">&#160;</td><td class="mdescRight">right child <br /></td></tr>
<tr class="separator:a51e160f22dc6064bac4a4f9f1d931c2c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2d890bb9f6af0ffd73fe79b21124c2a2"><td class="memItemLeft" align="right" valign="top"><a id="a2d890bb9f6af0ffd73fe79b21124c2a2"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d5/da1/structnode.html#a2d890bb9f6af0ffd73fe79b21124c2a2">data</a></td></tr>
<tr class="memdesc:a2d890bb9f6af0ffd73fe79b21124c2a2"><td class="mdescLeft">&#160;</td><td class="mdescRight">data of the node <br /></td></tr>
<tr class="separator:a2d890bb9f6af0ffd73fe79b21124c2a2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2783f1aec750191646305988f7e28756"><td class="memItemLeft" align="right" valign="top"><a id="a2783f1aec750191646305988f7e28756"></a>
struct <a class="el" href="../../d5/da1/structnode.html">node</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>leftNode</b></td></tr>
<tr class="separator:a2783f1aec750191646305988f7e28756"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaf2ec5ed1bb563465cbe2e9d16d74d1e"><td class="memItemLeft" align="right" valign="top"><a id="aaf2ec5ed1bb563465cbe2e9d16d74d1e"></a>
struct <a class="el" href="../../d5/da1/structnode.html">node</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>rightNode</b></td></tr>
<tr class="separator:aaf2ec5ed1bb563465cbe2e9d16d74d1e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a707bf3f1eeeaf8974e7e8e90f7bfd6a1"><td class="memItemLeft" align="right" valign="top"><a id="a707bf3f1eeeaf8974e7e8e90f7bfd6a1"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><b>val</b></td></tr>
<tr class="separator:a707bf3f1eeeaf8974e7e8e90f7bfd6a1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8139af7faac30d394e198365a999b54d"><td class="memItemLeft" align="right" valign="top"><a id="a8139af7faac30d394e198365a999b54d"></a>
struct <a class="el" href="../../d5/da1/structnode.html">node</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>par</b></td></tr>
<tr class="separator:a8139af7faac30d394e198365a999b54d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a310a09cb5a882788781a5287096ad425"><td class="memItemLeft" align="right" valign="top"><a id="a310a09cb5a882788781a5287096ad425"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><b>color</b></td></tr>
<tr class="separator:a310a09cb5a882788781a5287096ad425"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab4b1f345158daee0725acecd5ba817b1"><td class="memItemLeft" align="right" valign="top"><a id="ab4b1f345158daee0725acecd5ba817b1"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><b>vertex</b></td></tr>
<tr class="separator:ab4b1f345158daee0725acecd5ba817b1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a111a569ab2765add9b91c9f94cf9f063"><td class="memItemLeft" align="right" valign="top"><a id="a111a569ab2765add9b91c9f94cf9f063"></a>
struct <a class="el" href="../../d5/da1/structnode.html">node</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>next</b></td></tr>
<tr class="separator:a111a569ab2765add9b91c9f94cf9f063"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac8973feda870a119ccdc25910254db0c"><td class="memItemLeft" align="right" valign="top"><a id="ac8973feda870a119ccdc25910254db0c"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><b>info</b></td></tr>
<tr class="separator:ac8973feda870a119ccdc25910254db0c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1aa632fdf50713d86192a96f8191851b"><td class="memItemLeft" align="right" valign="top"><a id="a1aa632fdf50713d86192a96f8191851b"></a>
struct <a class="el" href="../../d5/da1/structnode.html">node</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>link</b></td></tr>
<tr class="separator:a1aa632fdf50713d86192a96f8191851b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7f5750a90eac14a9a21d5b976cd8b8a7"><td class="memItemLeft" align="right" valign="top"><a id="a7f5750a90eac14a9a21d5b976cd8b8a7"></a>
struct <a class="el" href="../../d5/da1/structnode.html">node</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>pre</b></td></tr>
<tr class="separator:a7f5750a90eac14a9a21d5b976cd8b8a7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6f9100a3fe81d82776ce47ecdba94691"><td class="memItemLeft" align="right" valign="top"><a id="a6f9100a3fe81d82776ce47ecdba94691"></a>
char&#160;</td><td class="memItemRight" valign="bottom"><b>data</b></td></tr>
<tr class="separator:a6f9100a3fe81d82776ce47ecdba94691"><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="../../db/d8b/struct_node.html" title="Node, the basic data structure of the tree.">Node</a>, the basic data structure in the tree. </p>
<p>Kyler Smith, 2017 <a class="el" href="../../dd/d10/struct_stack.html" title="for printf() and scanf()">Stack</a> data structure implementation.</p>
<p>Defining the structure of the node which contains 'data' (type : integer), two pointers 'next' and 'pre' (type : struct node).</p>
<p>creating a stucture with 'data'(type:int), two pointers 'next','pre' (type: struct node) . </p>
</div><hr/>The documentation for this struct was generated from the following files:<ul>
<li>data_structures/binary_trees/<a class="el" href="../../da/d02/binary__search__tree_8c.html">binary_search_tree.c</a></li>
<li>data_structures/binary_trees/create_node.c</li>
<li>data_structures/binary_trees/red_black_tree.c</li>
<li>data_structures/graphs/bfs.c</li>
<li>data_structures/graphs/dfs.c</li>
<li>data_structures/graphs/queue.c</li>
<li>data_structures/graphs/strongly_connected_components.c</li>
<li>data_structures/graphs/topological_sort.c</li>
<li>data_structures/linked_list/ascending_priority_queue.c</li>
<li>data_structures/linked_list/circular_linked_list.c</li>
<li>data_structures/linked_list/merge_linked_lists.c</li>
<li>data_structures/linked_list/queue_linked_list.c</li>
<li>data_structures/linked_list/singly_link_list_deletion.c</li>
<li>data_structures/linked_list/stack_using_linked_lists.c</li>
<li>data_structures/stack/parenthesis.c</li>
<li>data_structures/stack.c</li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="../../d5/da1/structnode.html">node</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.1 </li>
</ul>
</div>
</body>
</html>