mirror of
https://github.moeyy.xyz/https://github.com/TheAlgorithms/C.git
synced 2023-10-11 15:56:24 +08:00
148 lines
8.0 KiB
HTML
148 lines
8.0 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" lang="en-US">
|
|
<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.5"/>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
|
<title>Algorithms_in_C: segment_tree 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 id="projectrow">
|
|
<td id="projectalign">
|
|
<div id="projectname">Algorithms_in_C<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.5 -->
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
|
var searchBox = new SearchBox("searchBox", "../../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:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
|
$(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:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
|
$(document).ready(function(){initNavTree('dd/d06/structsegment__tree.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">
|
|
<div id="MSearchResults">
|
|
<div class="SRPage">
|
|
<div id="SRIndex">
|
|
<div id="SRResults"></div>
|
|
<div class="SRStatus" id="Loading">Loading...</div>
|
|
<div class="SRStatus" id="Searching">Searching...</div>
|
|
<div class="SRStatus" id="NoMatches">No Matches</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="header">
|
|
<div class="summary">
|
|
<a href="#pub-attribs">Data Fields</a> </div>
|
|
<div class="headertitle"><div class="title">segment_tree Struct Reference</div></div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
|
|
<p>This structures holds all the data that is required by a segment tree.
|
|
<a href="../../dd/d06/structsegment__tree.html#details">More...</a></p>
|
|
<table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-attribs" name="pub-attribs"></a>
|
|
Data Fields</h2></td></tr>
|
|
<tr class="memitem:aa18d7cb422873a807707b26448dce7cd"><td class="memItemLeft" align="right" valign="top"><a id="aa18d7cb422873a807707b26448dce7cd" name="aa18d7cb422873a807707b26448dce7cd"></a>
|
|
void * </td><td class="memItemRight" valign="bottom"><b>root</b></td></tr>
|
|
<tr class="memdesc:aa18d7cb422873a807707b26448dce7cd"><td class="mdescLeft"> </td><td class="mdescRight">the root of formed segment tree <br /></td></tr>
|
|
<tr class="separator:aa18d7cb422873a807707b26448dce7cd"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a5373ee53a5ac1cd7a9dcb89a4c23a04a"><td class="memItemLeft" align="right" valign="top"><a id="a5373ee53a5ac1cd7a9dcb89a4c23a04a" name="a5373ee53a5ac1cd7a9dcb89a4c23a04a"></a>
|
|
void * </td><td class="memItemRight" valign="bottom"><b>identity</b></td></tr>
|
|
<tr class="memdesc:a5373ee53a5ac1cd7a9dcb89a4c23a04a"><td class="mdescLeft"> </td><td class="mdescRight">identity element for combine function <br /></td></tr>
|
|
<tr class="separator:a5373ee53a5ac1cd7a9dcb89a4c23a04a"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:aa9dc376b5b219c4cec6546483527b853"><td class="memItemLeft" align="right" valign="top"><a id="aa9dc376b5b219c4cec6546483527b853" name="aa9dc376b5b219c4cec6546483527b853"></a>
|
|
size_t </td><td class="memItemRight" valign="bottom"><b>elem_size</b></td></tr>
|
|
<tr class="memdesc:aa9dc376b5b219c4cec6546483527b853"><td class="mdescLeft"> </td><td class="mdescRight">size in bytes of each data element <br /></td></tr>
|
|
<tr class="separator:aa9dc376b5b219c4cec6546483527b853"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a5ad61abcbd2c25a4a71416281dba8f1e"><td class="memItemLeft" align="right" valign="top"><a id="a5ad61abcbd2c25a4a71416281dba8f1e" name="a5ad61abcbd2c25a4a71416281dba8f1e"></a>
|
|
size_t </td><td class="memItemRight" valign="bottom"><b>length</b></td></tr>
|
|
<tr class="memdesc:a5ad61abcbd2c25a4a71416281dba8f1e"><td class="mdescLeft"> </td><td class="mdescRight">total size of array which segment tree represents <br /></td></tr>
|
|
<tr class="separator:a5ad61abcbd2c25a4a71416281dba8f1e"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a973ab017a97678fdc6774543585897df"><td class="memItemLeft" align="right" valign="top"><a id="a973ab017a97678fdc6774543585897df" name="a973ab017a97678fdc6774543585897df"></a>
|
|
<a class="el" href="../../da/da0/segment__tree_8c.html#aca549b5311d32ab1a703b4a4605821d8">combine_function</a> </td><td class="memItemRight" valign="bottom"><b>combine</b></td></tr>
|
|
<tr class="memdesc:a973ab017a97678fdc6774543585897df"><td class="mdescLeft"> </td><td class="mdescRight">the function to be used to combine two node's data to form parent's data <br /></td></tr>
|
|
<tr class="separator:a973ab017a97678fdc6774543585897df"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table>
|
|
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
|
<div class="textblock"><p >This structures holds all the data that is required by a segment tree. </p>
|
|
</div><hr/>The documentation for this struct was generated from the following file:<ul>
|
|
<li>data_structures/binary_trees/<a class="el" href="../../da/da0/segment__tree_8c.html">segment_tree.c</a></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="../../dd/d06/structsegment__tree.html">segment_tree</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.5 </li>
|
|
</ul>
|
|
</div>
|
|
</body>
|
|
</html>
|