Documentation for 8a368240e2
@@ -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.10.0"/>
|
||||
<meta name="generator" content="Doxygen 1.12.0"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>Algorithms_in_C++: Member List</title>
|
||||
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
|
||||
@@ -11,9 +11,9 @@
|
||||
<script type="text/javascript" src="../../dynsections.js"></script>
|
||||
<script type="text/javascript" src="../../clipboard.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>
|
||||
<script type="text/javascript" src="../../resize.js"></script>
|
||||
<script type="text/javascript" src="../../cookie.js"></script>
|
||||
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="../../search/searchdata.js"></script>
|
||||
@@ -43,18 +43,23 @@ MathJax.Hub.Config({
|
||||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.10.0 -->
|
||||
<!-- Generated by Doxygen 1.12.0 -->
|
||||
<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">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
$(function() { codefold.init(1); });
|
||||
/* @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');
|
||||
initMenu('../../',true,false,'search.php','Search',true);
|
||||
$(function() { init_search(); });
|
||||
});
|
||||
/* @license-end */
|
||||
@@ -73,7 +78,7 @@ $(function() {
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
$(function(){initNavTree('db/d66/struct_item.html','../../'); initResizable(); });
|
||||
$(function(){initNavTree('db/d66/struct_item.html','../../'); initResizable(true); });
|
||||
/* @license-end */
|
||||
</script>
|
||||
<div id="doc-content">
|
||||
@@ -112,7 +117,7 @@ $(function(){initNavTree('db/d66/struct_item.html','../../'); initResizable(); }
|
||||
<!-- start footer part -->
|
||||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
<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.10.0 </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.12.0 </li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
|
||||
@@ -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.10.0"/>
|
||||
<meta name="generator" content="Doxygen 1.12.0"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>Algorithms_in_C++: list Struct Reference</title>
|
||||
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
|
||||
@@ -11,9 +11,9 @@
|
||||
<script type="text/javascript" src="../../dynsections.js"></script>
|
||||
<script type="text/javascript" src="../../clipboard.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>
|
||||
<script type="text/javascript" src="../../resize.js"></script>
|
||||
<script type="text/javascript" src="../../cookie.js"></script>
|
||||
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="../../search/searchdata.js"></script>
|
||||
@@ -43,18 +43,23 @@ MathJax.Hub.Config({
|
||||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.10.0 -->
|
||||
<!-- Generated by Doxygen 1.12.0 -->
|
||||
<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">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
$(function() { codefold.init(1); });
|
||||
/* @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');
|
||||
initMenu('../../',true,false,'search.php','Search',true);
|
||||
$(function() { init_search(); });
|
||||
});
|
||||
/* @license-end */
|
||||
@@ -73,7 +78,7 @@ $(function() {
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
$(function(){initNavTree('d8/d10/structlist.html','../../'); initResizable(); });
|
||||
$(function(){initNavTree('d8/d10/structlist.html','../../'); initResizable(true); });
|
||||
/* @license-end */
|
||||
</script>
|
||||
<div id="doc-content">
|
||||
@@ -133,7 +138,7 @@ struct <a class="el" href="../../d8/d10/structlist.html">list</a> * </td><t
|
||||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="../../d8/d10/structlist.html">list</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.10.0 </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.12.0 </li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
|
||||
@@ -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.10.0"/>
|
||||
<meta name="generator" content="Doxygen 1.12.0"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>Algorithms_in_C++: sorting/bubble_sort.cpp File Reference</title>
|
||||
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
|
||||
@@ -11,9 +11,9 @@
|
||||
<script type="text/javascript" src="../../dynsections.js"></script>
|
||||
<script type="text/javascript" src="../../clipboard.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>
|
||||
<script type="text/javascript" src="../../resize.js"></script>
|
||||
<script type="text/javascript" src="../../cookie.js"></script>
|
||||
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="../../search/searchdata.js"></script>
|
||||
@@ -43,18 +43,23 @@ MathJax.Hub.Config({
|
||||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.10.0 -->
|
||||
<!-- Generated by Doxygen 1.12.0 -->
|
||||
<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">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
$(function() { codefold.init(1); });
|
||||
/* @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');
|
||||
initMenu('../../',true,false,'search.php','Search',true);
|
||||
$(function() { init_search(); });
|
||||
});
|
||||
/* @license-end */
|
||||
@@ -73,7 +78,7 @@ $(function() {
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
$(function(){initNavTree('d8/d13/bubble__sort_8cpp.html','../../'); initResizable(); });
|
||||
$(function(){initNavTree('d8/d13/bubble__sort_8cpp.html','../../'); initResizable(true); });
|
||||
/* @license-end */
|
||||
</script>
|
||||
<div id="doc-content">
|
||||
@@ -140,7 +145,7 @@ Functions</h2></td></tr>
|
||||
<tr>
|
||||
<td class="memname">int main </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">void</td> <td class="paramname"><span class="paramname"></span></td><td>)</td>
|
||||
<td class="paramtype">void</td> <td class="paramname"><span class="paramname"><em></em></span></td><td>)</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table>
|
||||
@@ -202,7 +207,7 @@ Functions</h2></td></tr>
|
||||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="../../dir_bb1b521853a9c46347182a9d10420771.html">sorting</a></li><li class="navelem"><a class="el" href="../../d8/d13/bubble__sort_8cpp.html">bubble_sort.cpp</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.10.0 </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.12.0 </li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
|
||||
@@ -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.10.0"/>
|
||||
<meta name="generator" content="Doxygen 1.12.0"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>Algorithms_in_C++: n_queens_optimized Namespace Reference</title>
|
||||
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
|
||||
@@ -11,9 +11,9 @@
|
||||
<script type="text/javascript" src="../../dynsections.js"></script>
|
||||
<script type="text/javascript" src="../../clipboard.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>
|
||||
<script type="text/javascript" src="../../resize.js"></script>
|
||||
<script type="text/javascript" src="../../cookie.js"></script>
|
||||
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="../../search/searchdata.js"></script>
|
||||
@@ -43,18 +43,23 @@ MathJax.Hub.Config({
|
||||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.10.0 -->
|
||||
<!-- Generated by Doxygen 1.12.0 -->
|
||||
<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">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
$(function() { codefold.init(1); });
|
||||
/* @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');
|
||||
initMenu('../../',true,false,'search.php','Search',true);
|
||||
$(function() { init_search(); });
|
||||
});
|
||||
/* @license-end */
|
||||
@@ -73,7 +78,7 @@ $(function() {
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
$(function(){initNavTree('d8/d14/namespacen__queens__optimized.html','../../'); initResizable(); });
|
||||
$(function(){initNavTree('d8/d14/namespacen__queens__optimized.html','../../'); initResizable(true); });
|
||||
/* @license-end */
|
||||
</script>
|
||||
<div id="doc-content">
|
||||
@@ -113,7 +118,7 @@ $(function(){initNavTree('d8/d14/namespacen__queens__optimized.html','../../');
|
||||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="../../d8/d14/namespacen__queens__optimized.html">n_queens_optimized</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.10.0 </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.12.0 </li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
|
||||
@@ -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.10.0"/>
|
||||
<meta name="generator" content="Doxygen 1.12.0"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>Algorithms_in_C++: strand Namespace Reference</title>
|
||||
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
|
||||
@@ -11,9 +11,9 @@
|
||||
<script type="text/javascript" src="../../dynsections.js"></script>
|
||||
<script type="text/javascript" src="../../clipboard.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>
|
||||
<script type="text/javascript" src="../../resize.js"></script>
|
||||
<script type="text/javascript" src="../../cookie.js"></script>
|
||||
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="../../search/searchdata.js"></script>
|
||||
@@ -43,18 +43,23 @@ MathJax.Hub.Config({
|
||||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.10.0 -->
|
||||
<!-- Generated by Doxygen 1.12.0 -->
|
||||
<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">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
$(function() { codefold.init(1); });
|
||||
/* @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');
|
||||
initMenu('../../',true,false,'search.php','Search',true);
|
||||
$(function() { init_search(); });
|
||||
});
|
||||
/* @license-end */
|
||||
@@ -73,7 +78,7 @@ $(function() {
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
$(function(){initNavTree('d8/d1d/namespacestrand.html','../../'); initResizable(); });
|
||||
$(function(){initNavTree('d8/d1d/namespacestrand.html','../../'); initResizable(true); });
|
||||
/* @license-end */
|
||||
</script>
|
||||
<div id="doc-content">
|
||||
@@ -113,7 +118,7 @@ $(function(){initNavTree('d8/d1d/namespacestrand.html','../../'); initResizable(
|
||||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="../../d8/d1d/namespacestrand.html">strand</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.10.0 </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.12.0 </li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
|
||||
@@ -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.10.0"/>
|
||||
<meta name="generator" content="Doxygen 1.12.0"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>Algorithms_in_C++: Member List</title>
|
||||
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
|
||||
@@ -11,9 +11,9 @@
|
||||
<script type="text/javascript" src="../../dynsections.js"></script>
|
||||
<script type="text/javascript" src="../../clipboard.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>
|
||||
<script type="text/javascript" src="../../resize.js"></script>
|
||||
<script type="text/javascript" src="../../cookie.js"></script>
|
||||
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="../../search/searchdata.js"></script>
|
||||
@@ -43,18 +43,23 @@ MathJax.Hub.Config({
|
||||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.10.0 -->
|
||||
<!-- Generated by Doxygen 1.12.0 -->
|
||||
<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">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
$(function() { codefold.init(1); });
|
||||
/* @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');
|
||||
initMenu('../../',true,false,'search.php','Search',true);
|
||||
$(function() { init_search(); });
|
||||
});
|
||||
/* @license-end */
|
||||
@@ -73,7 +78,7 @@ $(function() {
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
$(function(){initNavTree('d1/d83/classuint256__t.html','../../'); initResizable(); });
|
||||
$(function(){initNavTree('d1/d83/classuint256__t.html','../../'); initResizable(true); });
|
||||
/* @license-end */
|
||||
</script>
|
||||
<div id="doc-content">
|
||||
@@ -152,7 +157,7 @@ $(function(){initNavTree('d1/d83/classuint256__t.html','../../'); initResizable(
|
||||
<tr class="even"><td class="entry"><a class="el" href="../../d1/d83/classuint256__t.html#afe9f4828d73dd51a080585dd0b99af96">operator<</a>(const uint256_t &other)</td><td class="entry"><a class="el" href="../../d1/d83/classuint256__t.html">uint256_t</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
|
||||
<tr class="odd"><td class="entry"><a class="el" href="../../d1/d83/classuint256__t.html#ac6bdcf64653af8173987bf7217e99056">operator<</a>(const T &other)</td><td class="entry"><a class="el" href="../../d1/d83/classuint256__t.html">uint256_t</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
|
||||
<tr class="even"><td class="entry"><a class="el" href="../../d1/d83/classuint256__t.html#a4831263abc4430c363fdabce6e6e96d5">operator<<</a>(const T &p)</td><td class="entry"><a class="el" href="../../d1/d83/classuint256__t.html">uint256_t</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
|
||||
<tr class="odd"><td class="entry"><a class="el" href="../../d1/d83/classuint256__t.html#a91badfd31be84b12cbb6d85ebc04d13a">operator<<</a></td><td class="entry"><a class="el" href="../../d1/d83/classuint256__t.html">uint256_t</a></td><td class="entry"><span class="mlabel">friend</span></td></tr>
|
||||
<tr class="odd"><td class="entry"><a class="el" href="../../d1/d83/classuint256__t.html#a91badfd31be84b12cbb6d85ebc04d13a">operator<<</a>(std::ostream &op, uint256_t p)</td><td class="entry"><a class="el" href="../../d1/d83/classuint256__t.html">uint256_t</a></td><td class="entry"><span class="mlabel">friend</span></td></tr>
|
||||
<tr class="even"><td class="entry"><a class="el" href="../../d1/d83/classuint256__t.html#a0d96ce2d022dc30c2f303ab0698f52f5">operator<<=</a>(const T &p)</td><td class="entry"><a class="el" href="../../d1/d83/classuint256__t.html">uint256_t</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
|
||||
<tr class="odd"><td class="entry"><a class="el" href="../../d1/d83/classuint256__t.html#a19c88f8f2736750822b82ef9a7096d88">operator<=</a>(const uint256_t &other)</td><td class="entry"><a class="el" href="../../d1/d83/classuint256__t.html">uint256_t</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
|
||||
<tr class="even"><td class="entry"><a class="el" href="../../d1/d83/classuint256__t.html#a2029e9777f999bffef6004429b4f19f2">operator<=</a>(const T &other)</td><td class="entry"><a class="el" href="../../d1/d83/classuint256__t.html">uint256_t</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
|
||||
@@ -194,7 +199,7 @@ $(function(){initNavTree('d1/d83/classuint256__t.html','../../'); initResizable(
|
||||
<!-- start footer part -->
|
||||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
<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.10.0 </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.12.0 </li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
|
||||
@@ -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.10.0"/>
|
||||
<meta name="generator" content="Doxygen 1.12.0"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>Algorithms_in_C++: Member List</title>
|
||||
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
|
||||
@@ -11,9 +11,9 @@
|
||||
<script type="text/javascript" src="../../dynsections.js"></script>
|
||||
<script type="text/javascript" src="../../clipboard.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>
|
||||
<script type="text/javascript" src="../../resize.js"></script>
|
||||
<script type="text/javascript" src="../../cookie.js"></script>
|
||||
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="../../search/searchdata.js"></script>
|
||||
@@ -43,18 +43,23 @@ MathJax.Hub.Config({
|
||||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.10.0 -->
|
||||
<!-- Generated by Doxygen 1.12.0 -->
|
||||
<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">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
$(function() { codefold.init(1); });
|
||||
/* @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');
|
||||
initMenu('../../',true,false,'search.php','Search',true);
|
||||
$(function() { init_search(); });
|
||||
});
|
||||
/* @license-end */
|
||||
@@ -73,7 +78,7 @@ $(function() {
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
$(function(){initNavTree('d4/df4/classmachine__learning_1_1neural__network_1_1_neural_network.html','../../'); initResizable(); });
|
||||
$(function(){initNavTree('d4/df4/classmachine__learning_1_1neural__network_1_1_neural_network.html','../../'); initResizable(true); });
|
||||
/* @license-end */
|
||||
</script>
|
||||
<div id="doc-content">
|
||||
@@ -130,7 +135,7 @@ $(function(){initNavTree('d4/df4/classmachine__learning_1_1neural__network_1_1_n
|
||||
<!-- start footer part -->
|
||||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
<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.10.0 </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.12.0 </li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
|
||||
@@ -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.10.0"/>
|
||||
<meta name="generator" content="Doxygen 1.12.0"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>Algorithms_in_C++: range_queries::perSegTree Class Reference</title>
|
||||
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
|
||||
@@ -11,9 +11,9 @@
|
||||
<script type="text/javascript" src="../../dynsections.js"></script>
|
||||
<script type="text/javascript" src="../../clipboard.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>
|
||||
<script type="text/javascript" src="../../resize.js"></script>
|
||||
<script type="text/javascript" src="../../cookie.js"></script>
|
||||
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="../../search/searchdata.js"></script>
|
||||
@@ -43,18 +43,23 @@ MathJax.Hub.Config({
|
||||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.10.0 -->
|
||||
<!-- Generated by Doxygen 1.12.0 -->
|
||||
<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">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
$(function() { codefold.init(1); });
|
||||
/* @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');
|
||||
initMenu('../../',true,false,'search.php','Search',true);
|
||||
$(function() { init_search(); });
|
||||
});
|
||||
/* @license-end */
|
||||
@@ -73,7 +78,7 @@ $(function() {
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
$(function(){initNavTree('d8/d28/classrange__queries_1_1per_seg_tree.html','../../'); initResizable(); });
|
||||
$(function(){initNavTree('d8/d28/classrange__queries_1_1per_seg_tree.html','../../'); initResizable(true); });
|
||||
/* @license-end */
|
||||
</script>
|
||||
<div id="doc-content">
|
||||
@@ -218,7 +223,7 @@ uint32_t </td><td class="memItemRight" valign="bottom"><b>n</b> = 0</td></t
|
||||
</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="../../d8/d28/classrange__queries_1_1per_seg_tree_ac83bcabf5a8db8b0d8d156a4c1bcd4c3_cgraph.svg" width="414" height="224"><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/d28/classrange__queries_1_1per_seg_tree_ac83bcabf5a8db8b0d8d156a4c1bcd4c3_cgraph.svg" width="587" height="224"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
@@ -235,7 +240,7 @@ Here is the call graph for this function:</div>
|
||||
<tr>
|
||||
<td class="memname"><a class="elRef" target="_blank" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr</a>< <a class="el" href="../../d5/d66/classrange__queries_1_1per_seg_tree_1_1_node.html">Node</a> > range_queries::perSegTree::construct </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">const uint32_t &</td> <td class="paramname"><span class="paramname"><em>i</em>, </span></td>
|
||||
<td class="paramtype">const uint32_t &</td> <td class="paramname"><span class="paramname"><em>i</em></span>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
@@ -260,7 +265,7 @@ Here is the call graph for this function:</div>
|
||||
</dl>
|
||||
<dl class="section return"><dt>Returns</dt><dd>pointer to the newly created node </dd></dl>
|
||||
<div class="fragment"><div class="line"><span class="lineno"> 106</span> {</div>
|
||||
<div class="line"><span class="lineno"> 107</span> <span class="keyword">auto</span> newNode = std::make_shared<Node>(<a class="code hl_class" href="../../db/d8b/struct_node.html">Node</a>());</div>
|
||||
<div class="line"><span class="lineno"> 107</span> <span class="keyword">auto</span> newNode = <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/memory/shared_ptr/make_shared.html">std::make_shared<Node></a>(<a class="code hl_class" href="../../db/d8b/struct_node.html">Node</a>());</div>
|
||||
<div class="line"><span class="lineno"> 108</span> <span class="keywordflow">if</span> (i == j) {</div>
|
||||
<div class="line"><span class="lineno"> 109</span> newNode->val = <a class="code hl_variable" href="#a8ff495d2f389b4aaa54449c26c6078f3">vec</a>[i];</div>
|
||||
<div class="line"><span class="lineno"> 110</span> } <span class="keywordflow">else</span> {</div>
|
||||
@@ -274,11 +279,12 @@ Here is the call graph for this function:</div>
|
||||
<div class="line"><span class="lineno"> 118</span> <span class="keywordflow">return</span> newNode;</div>
|
||||
<div class="line"><span class="lineno"> 119</span> }</div>
|
||||
<div class="ttc" id="aleft_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/io/manip/left.html">std::right</a></div><div class="ttdeci">T right(T... args)</div></div>
|
||||
<div class="ttc" id="amake_shared_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/memory/shared_ptr/make_shared.html">std::make_shared</a></div><div class="ttdeci">T make_shared(T... args)</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><!-- 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="../../d8/d28/classrange__queries_1_1per_seg_tree_a6d3f2465a7c5803a1ff16c5378bcc5e4_cgraph.svg" width="188" 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="../../d8/d28/classrange__queries_1_1per_seg_tree_a6d3f2465a7c5803a1ff16c5378bcc5e4_cgraph.svg" width="362" 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>
|
||||
@@ -295,12 +301,12 @@ Here is the call graph for this function:</div>
|
||||
<tr>
|
||||
<td class="memname">void range_queries::perSegTree::lazy </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">const uint32_t &</td> <td class="paramname"><span class="paramname"><em>i</em>, </span></td>
|
||||
<td class="paramtype">const uint32_t &</td> <td class="paramname"><span class="paramname"><em>i</em></span>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">const uint32_t &</td> <td class="paramname"><span class="paramname"><em>j</em>, </span></td>
|
||||
<td class="paramtype">const uint32_t &</td> <td class="paramname"><span class="paramname"><em>j</em></span>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
@@ -342,7 +348,7 @@ Here is the call graph for this function:</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="../../d8/d28/classrange__queries_1_1per_seg_tree_ace7f57935b3bb9446f11c239fd89ae79_cgraph.svg" width="414" height="52"><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/d28/classrange__queries_1_1per_seg_tree_ace7f57935b3bb9446f11c239fd89ae79_cgraph.svg" width="587" height="52"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
@@ -379,14 +385,19 @@ Here is the call graph for this function:</div>
|
||||
</dl>
|
||||
<dl class="section return"><dt>Returns</dt><dd>the new node </dd></dl>
|
||||
<div class="fragment"><div class="line"><span class="lineno"> 65</span> {</div>
|
||||
<div class="line"><span class="lineno"> 66</span> <span class="keyword">auto</span> newNode = std::make_shared<Node>(<a class="code hl_class" href="../../db/d8b/struct_node.html">Node</a>());</div>
|
||||
<div class="line"><span class="lineno"> 66</span> <span class="keyword">auto</span> newNode = <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/memory/shared_ptr/make_shared.html">std::make_shared<Node></a>(<a class="code hl_class" href="../../db/d8b/struct_node.html">Node</a>());</div>
|
||||
<div class="line"><span class="lineno"> 67</span> newNode->left = curr->left;</div>
|
||||
<div class="line"><span class="lineno"> 68</span> newNode->right = curr->right;</div>
|
||||
<div class="line"><span class="lineno"> 69</span> newNode->prop = curr->prop;</div>
|
||||
<div class="line"><span class="lineno"> 70</span> newNode->val = curr->val;</div>
|
||||
<div class="line"><span class="lineno"> 71</span> <span class="keywordflow">return</span> newNode;</div>
|
||||
<div class="line"><span class="lineno"> 72</span> }</div>
|
||||
</div><!-- fragment -->
|
||||
</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="../../d8/d28/classrange__queries_1_1per_seg_tree_a0cec4b77d264521717cf9b0482c45817_cgraph.svg" width="362" height="52"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a id="ae8ae4b1835e5e8aec32f68c5059ed4d4" name="ae8ae4b1835e5e8aec32f68c5059ed4d4"></a>
|
||||
@@ -401,22 +412,22 @@ Here is the call graph for this function:</div>
|
||||
<tr>
|
||||
<td class="memname">int64_t range_queries::perSegTree::query </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">const uint32_t &</td> <td class="paramname"><span class="paramname"><em>i</em>, </span></td>
|
||||
<td class="paramtype">const uint32_t &</td> <td class="paramname"><span class="paramname"><em>i</em></span>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">const uint32_t &</td> <td class="paramname"><span class="paramname"><em>j</em>, </span></td>
|
||||
<td class="paramtype">const uint32_t &</td> <td class="paramname"><span class="paramname"><em>j</em></span>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">const uint32_t &</td> <td class="paramname"><span class="paramname"><em>l</em>, </span></td>
|
||||
<td class="paramtype">const uint32_t &</td> <td class="paramname"><span class="paramname"><em>l</em></span>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">const uint32_t &</td> <td class="paramname"><span class="paramname"><em>r</em>, </span></td>
|
||||
<td class="paramtype">const uint32_t &</td> <td class="paramname"><span class="paramname"><em>r</em></span>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
@@ -460,7 +471,7 @@ Here is the call graph for this function:</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="../../d8/d28/classrange__queries_1_1per_seg_tree_ae8ae4b1835e5e8aec32f68c5059ed4d4_cgraph.svg" width="639" 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"><div class="zoom"><iframe scrolling="no" frameborder="0" src="../../d8/d28/classrange__queries_1_1per_seg_tree_ae8ae4b1835e5e8aec32f68c5059ed4d4_cgraph.svg" width="100%" height="300"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div></div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
@@ -477,12 +488,12 @@ Here is the call graph for this function:</div>
|
||||
<tr>
|
||||
<td class="memname">int64_t range_queries::perSegTree::query </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">const uint32_t &</td> <td class="paramname"><span class="paramname"><em>l</em>, </span></td>
|
||||
<td class="paramtype">const uint32_t &</td> <td class="paramname"><span class="paramname"><em>l</em></span>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">const uint32_t &</td> <td class="paramname"><span class="paramname"><em>r</em>, </span></td>
|
||||
<td class="paramtype">const uint32_t &</td> <td class="paramname"><span class="paramname"><em>r</em></span>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
@@ -530,7 +541,7 @@ Here is the call graph for this function:</div>
|
||||
<tr>
|
||||
<td class="memname">uint32_t range_queries::perSegTree::size </td>
|
||||
<td>(</td>
|
||||
<td class="paramname"><span class="paramname"></span></td><td>)</td>
|
||||
<td class="paramname"><span class="paramname"><em></em></span></td><td>)</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table>
|
||||
@@ -566,27 +577,27 @@ Here is the call graph for this function:</div>
|
||||
<tr>
|
||||
<td class="memname"><a class="elRef" target="_blank" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr</a>< <a class="el" href="../../d5/d66/classrange__queries_1_1per_seg_tree_1_1_node.html">Node</a> > range_queries::perSegTree::update </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">const uint32_t &</td> <td class="paramname"><span class="paramname"><em>i</em>, </span></td>
|
||||
<td class="paramtype">const uint32_t &</td> <td class="paramname"><span class="paramname"><em>i</em></span>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">const uint32_t &</td> <td class="paramname"><span class="paramname"><em>j</em>, </span></td>
|
||||
<td class="paramtype">const uint32_t &</td> <td class="paramname"><span class="paramname"><em>j</em></span>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">const uint32_t &</td> <td class="paramname"><span class="paramname"><em>l</em>, </span></td>
|
||||
<td class="paramtype">const uint32_t &</td> <td class="paramname"><span class="paramname"><em>l</em></span>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">const uint32_t &</td> <td class="paramname"><span class="paramname"><em>r</em>, </span></td>
|
||||
<td class="paramtype">const uint32_t &</td> <td class="paramname"><span class="paramname"><em>r</em></span>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">const int64_t &</td> <td class="paramname"><span class="paramname"><em>value</em>, </span></td>
|
||||
<td class="paramtype">const int64_t &</td> <td class="paramname"><span class="paramname"><em>value</em></span>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
@@ -625,7 +636,7 @@ Here is the call graph for this function:</div>
|
||||
<div class="line"><span class="lineno"> 146</span> <span class="keywordflow">if</span> (i > r || j < l) {</div>
|
||||
<div class="line"><span class="lineno"> 147</span> <span class="keywordflow">return</span> curr;</div>
|
||||
<div class="line"><span class="lineno"> 148</span> }</div>
|
||||
<div class="line"><span class="lineno"> 149</span> <span class="keyword">auto</span> newNode = std::make_shared<Node>(<a class="code hl_class" href="../../db/d8b/struct_node.html">Node</a>());</div>
|
||||
<div class="line"><span class="lineno"> 149</span> <span class="keyword">auto</span> newNode = <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/memory/shared_ptr/make_shared.html">std::make_shared<Node></a>(<a class="code hl_class" href="../../db/d8b/struct_node.html">Node</a>());</div>
|
||||
<div class="line"><span class="lineno"> 150</span> uint32_t mid = i + (j - i) / 2;</div>
|
||||
<div class="line"><span class="lineno"> 151</span> newNode->left = <a class="code hl_function" href="#a24487eda25123bc4d112e8430821a6c6">update</a>(i, mid, l, r, value, curr->left);</div>
|
||||
<div class="line"><span class="lineno"> 152</span> newNode->right = <a class="code hl_function" href="#a24487eda25123bc4d112e8430821a6c6">update</a>(mid + 1, j, l, r, value, curr->right);</div>
|
||||
@@ -637,7 +648,7 @@ Here is the call graph for this function:</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="../../d8/d28/classrange__queries_1_1per_seg_tree_a24487eda25123bc4d112e8430821a6c6_cgraph.svg" width="639" height="82"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div>
|
||||
<div class="center"><div class="zoom"><iframe scrolling="no" frameborder="0" src="../../d8/d28/classrange__queries_1_1per_seg_tree_a24487eda25123bc4d112e8430821a6c6_cgraph.svg" width="100%" height="393"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div></div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
@@ -654,12 +665,12 @@ Here is the call graph for this function:</div>
|
||||
<tr>
|
||||
<td class="memname">void range_queries::perSegTree::update </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">const uint32_t &</td> <td class="paramname"><span class="paramname"><em>l</em>, </span></td>
|
||||
<td class="paramtype">const uint32_t &</td> <td class="paramname"><span class="paramname"><em>l</em></span>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">const uint32_t &</td> <td class="paramname"><span class="paramname"><em>r</em>, </span></td>
|
||||
<td class="paramtype">const uint32_t &</td> <td class="paramname"><span class="paramname"><em>r</em></span>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
@@ -693,7 +704,7 @@ Here is the call graph for this function:</div>
|
||||
</div><!-- fragment --><div class="dynheader">
|
||||
Here is the call graph for this function:</div>
|
||||
<div class="dyncontent">
|
||||
<div class="center"><div class="zoom"><iframe scrolling="no" frameborder="0" src="../../d8/d28/classrange__queries_1_1per_seg_tree_af87494e6cf012d28c4f5b9d1c15f9c5d_cgraph.svg" width="100%" height="431"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div></div>
|
||||
<div class="center"><div class="zoom"><iframe scrolling="no" frameborder="0" src="../../d8/d28/classrange__queries_1_1per_seg_tree_af87494e6cf012d28c4f5b9d1c15f9c5d_cgraph.svg" width="100%" height="442"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div></div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
@@ -757,7 +768,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="../../dd/d69/namespacerange__queries.html">range_queries</a></li><li class="navelem"><a class="el" href="../../d8/d28/classrange__queries_1_1per_seg_tree.html">perSegTree</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.10.0 </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.12.0 </li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
<map id="range_queries::perSegTree::newKid" name="range_queries::perSegTree::newKid">
|
||||
<area shape="rect" id="Node000001" title="Creating a new node with the same values of curr node." alt="" coords="5,5,183,46"/>
|
||||
<area shape="rect" id="Node000002" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/memory/shared_ptr/make_shared.html#" title=" " alt="" coords="231,13,356,38"/>
|
||||
<area shape="poly" id="edge1_Node000001_Node000002" title=" " alt="" coords="183,23,215,23,215,28,183,28"/>
|
||||
</map>
|
||||
@@ -0,0 +1 @@
|
||||
5c76faeb25963377f62265034e7eada0
|
||||
@@ -1,13 +1,14 @@
|
||||
<?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 9.0.0 (20230911.1827)
|
||||
<!-- Generated by graphviz version 12.1.0 (20240811.2233)
|
||||
-->
|
||||
<!-- Title: levelOrder Pages: 1 -->
|
||||
<svg width="192pt" height="27pt"
|
||||
viewBox="0.00 0.00 191.50 27.25" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<!-- Title: range_queries::perSegTree::newKid Pages: 1 -->
|
||||
<svg width="271pt" height="39pt"
|
||||
viewBox="0.00 0.00 271.00 38.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">
|
||||
|
||||
<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;}
|
||||
@@ -16,23 +17,24 @@
|
||||
]]></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 23.25)">
|
||||
<title>levelOrder</title>
|
||||
<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 34.5)">
|
||||
<title>range_queries::perSegTree::newKid</title>
|
||||
<!-- Node1 -->
|
||||
<g id="Node000001" class="node">
|
||||
<title>Node1</title>
|
||||
<g id="a_Node000001"><a xlink:title="prints given tree in the LevelOrder">
|
||||
<polygon fill="#999999" stroke="#666666" points="60.25,-19.25 0,-19.25 0,0 60.25,0 60.25,-19.25"/>
|
||||
<text text-anchor="middle" x="30.12" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">levelOrder</text>
|
||||
<g id="a_Node000001"><a xlink:title="Creating a new node with the same values of curr node.">
|
||||
<polygon fill="#999999" stroke="#666666" points="133,-30.5 0,-30.5 0,0 133,0 133,-30.5"/>
|
||||
<text text-anchor="start" x="8" y="-17" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::perSegTree</text>
|
||||
<text text-anchor="middle" x="66.5" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">::newKid</text>
|
||||
</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="183.5,-19.25 96.25,-19.25 96.25,0 183.5,0 183.5,-19.25"/>
|
||||
<text text-anchor="middle" x="139.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::vector::data</text>
|
||||
<g id="a_Node000002"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/memory/shared_ptr/make_shared.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="263,-24.88 169,-24.88 169,-5.63 263,-5.63 263,-24.88"/>
|
||||
<text text-anchor="middle" x="216" y="-11.38" font-family="Helvetica,sans-Serif" font-size="10.00">std::make_shared</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
@@ -40,8 +42,8 @@
|
||||
<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="M60.57,-9.62C68.11,-9.62 76.46,-9.62 84.81,-9.62"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="84.62,-13.13 94.62,-9.63 84.62,-6.13 84.62,-13.13"/>
|
||||
<path fill="none" stroke="#63b8ff" d="M133.48,-15.25C141.52,-15.25 149.69,-15.25 157.59,-15.25"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="157.42,-18.75 167.42,-15.25 157.42,-11.75 157.42,-18.75"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
|
Before Width: | Height: | Size: 2.5 KiB After Width: | Height: | Size: 2.6 KiB |
@@ -0,0 +1,40 @@
|
||||
<?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 12.1.0 (20240811.2233)
|
||||
-->
|
||||
<!-- Title: range_queries::perSegTree::newKid Pages: 1 -->
|
||||
<svg width="271pt" height="39pt"
|
||||
viewBox="0.00 0.00 271.00 38.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 34.5)">
|
||||
<title>range_queries::perSegTree::newKid</title>
|
||||
<!-- Node1 -->
|
||||
<g id="Node000001" class="node">
|
||||
<title>Node1</title>
|
||||
<g id="a_Node000001"><a xlink:title="Creating a new node with the same values of curr node.">
|
||||
<polygon fill="#999999" stroke="#666666" points="133,-30.5 0,-30.5 0,0 133,0 133,-30.5"/>
|
||||
<text text-anchor="start" x="8" y="-17" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::perSegTree</text>
|
||||
<text text-anchor="middle" x="66.5" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">::newKid</text>
|
||||
</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/memory/shared_ptr/make_shared.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="263,-24.88 169,-24.88 169,-5.63 263,-5.63 263,-24.88"/>
|
||||
<text text-anchor="middle" x="216" y="-11.38" font-family="Helvetica,sans-Serif" font-size="10.00">std::make_shared</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="M133.48,-15.25C141.52,-15.25 149.69,-15.25 157.59,-15.25"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="157.42,-18.75 167.42,-15.25 157.42,-11.75 157.42,-18.75"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.9 KiB |
@@ -1,5 +1,5 @@
|
||||
<map id="range_queries::perSegTree::size" name="range_queries::perSegTree::size">
|
||||
<area shape="rect" id="Node000001" title="Getting the number of versions after updates so far which is equal to the size of the pointers vector..." alt="" coords="5,5,183,46"/>
|
||||
<area shape="rect" id="Node000002" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/vector/size.html#" title=" " alt="" coords="231,13,346,39"/>
|
||||
<area shape="rect" id="Node000002" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/vector/size.html#" title=" " alt="" coords="231,13,346,38"/>
|
||||
<area shape="poly" id="edge1_Node000001_Node000002" title=" " alt="" coords="183,23,215,23,215,28,183,28"/>
|
||||
</map>
|
||||
|
||||
@@ -1,13 +1,14 @@
|
||||
<?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 9.0.0 (20230911.1827)
|
||||
<!-- Generated by graphviz version 12.1.0 (20240811.2233)
|
||||
-->
|
||||
<!-- Title: range_queries::perSegTree::size Pages: 1 -->
|
||||
<svg width="264pt" height="39pt"
|
||||
viewBox="0.00 0.00 263.50 38.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)">
|
||||
<svg id="main" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve">
|
||||
|
||||
<style type="text/css"><![CDATA[
|
||||
.node, .edge {opacity: 0.7;}
|
||||
.node.selected, .edge.selected {opacity: 1;}
|
||||
|
||||
|
Before Width: | Height: | Size: 2.7 KiB After Width: | Height: | Size: 2.7 KiB |
@@ -1,7 +1,7 @@
|
||||
<?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 9.0.0 (20230911.1827)
|
||||
<!-- Generated by graphviz version 12.1.0 (20240811.2233)
|
||||
-->
|
||||
<!-- Title: range_queries::perSegTree::size Pages: 1 -->
|
||||
<svg width="264pt" height="39pt"
|
||||
|
||||
|
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 1.9 KiB |
@@ -1,9 +1,12 @@
|
||||
<map id="range_queries::perSegTree::update" name="range_queries::perSegTree::update">
|
||||
<area shape="rect" id="Node000001" title="Doing range update, checking at every node if it has some value to be propagated. All nodes affected ..." alt="" coords="5,35,183,75"/>
|
||||
<area shape="poly" id="edge4_Node000001_Node000001" title=" " alt="" coords="51,35,49,25,56,16,71,10,94,8,118,10,133,17,131,22,117,16,94,13,73,15,60,20,55,26,57,33"/>
|
||||
<area shape="rect" id="Node000001" title="Doing range update, checking at every node if it has some value to be propagated. All nodes affected ..." alt="" coords="5,63,183,103"/>
|
||||
<area shape="poly" id="edge6_Node000001_Node000001" title=" " alt="" coords="51,63,49,53,56,44,71,38,94,36,118,38,133,45,131,50,117,44,94,41,73,43,60,48,55,54,57,61"/>
|
||||
<area shape="rect" id="Node000002" href="$d8/d28/classrange__queries_1_1per_seg_tree.html#ace7f57935b3bb9446f11c239fd89ae79" title="If there is some value to be propagated to the passed node, value is added to the node and the childr..." alt="" coords="231,5,408,46"/>
|
||||
<area shape="poly" id="edge1_Node000001_Node000002" title=" " alt="" coords="182,41,215,37,215,42,183,46"/>
|
||||
<area shape="rect" id="Node000003" href="$d8/d28/classrange__queries_1_1per_seg_tree.html#a0cec4b77d264521717cf9b0482c45817" title="Creating a new node with the same values of curr node." alt="" coords="456,35,633,75"/>
|
||||
<area shape="poly" id="edge3_Node000001_Node000003" title=" " alt="" coords="183,54,231,55,408,55,440,55,440,60,408,60,231,60,183,60"/>
|
||||
<area shape="poly" id="edge2_Node000002_Node000003" title=" " alt="" coords="408,35,441,39,440,44,408,40"/>
|
||||
<area shape="poly" id="edge1_Node000001_Node000002" title=" " alt="" coords="176,60,222,48,223,53,177,65"/>
|
||||
<area shape="rect" id="Node000003" href="$d8/d28/classrange__queries_1_1per_seg_tree.html#a0cec4b77d264521717cf9b0482c45817" title="Creating a new node with the same values of curr node." alt="" coords="456,56,633,97"/>
|
||||
<area shape="poly" id="edge5_Node000001_Node000003" title=" " alt="" coords="183,79,440,75,440,81,183,84"/>
|
||||
<area shape="rect" id="Node000004" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/memory/shared_ptr/make_shared.html#" title=" " alt="" coords="681,93,807,118"/>
|
||||
<area shape="poly" id="edge4_Node000001_Node000004" title=" " alt="" coords="183,88,312,98,456,106,545,107,633,106,666,105,666,110,633,111,545,112,456,111,312,103,183,94"/>
|
||||
<area shape="poly" id="edge2_Node000002_Node000003" title=" " alt="" coords="409,43,441,50,440,56,407,48"/>
|
||||
<area shape="poly" id="edge3_Node000003_Node000004" title=" " alt="" coords="634,87,667,92,666,97,634,92"/>
|
||||
</map>
|
||||
|
||||
@@ -1 +1 @@
|
||||
91a5a7f30e144f4b3c16504ead40a0c8
|
||||
51e5f27a9e087646c67ce74e273fefd6
|
||||
@@ -1,39 +1,76 @@
|
||||
<?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 9.0.0 (20230911.1827)
|
||||
<!-- Generated by graphviz version 12.1.0 (20240811.2233)
|
||||
-->
|
||||
<!-- Title: range_queries::perSegTree::update Pages: 1 -->
|
||||
<svg width="479pt" height="61pt"
|
||||
viewBox="0.00 0.00 479.00 60.50" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<!--zoomable 93 -->
|
||||
|
||||
<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>
|
||||
|
||||
<defs>
|
||||
<circle id="rim" cx="0" cy="0" r="7"/>
|
||||
<circle id="rim2" cx="0" cy="0" r="3.5"/>
|
||||
<g id="zoomPlus">
|
||||
<use xlink:href="#rim" fill="#404040"><set attributeName="fill" to="#808080" begin="zoomplus.mouseover" end="zoomplus.mouseout"/></use>
|
||||
<path d="M-4,0h8M0,-4v8" fill="none" stroke="white" stroke-width="1.5" pointer-events="none"/>
|
||||
</g>
|
||||
<g id="zoomMin">
|
||||
<use xlink:href="#rim" fill="#404040"><set attributeName="fill" to="#808080" begin="zoomminus.mouseover" end="zoomminus.mouseout"/></use>
|
||||
<path d="M-4,0h8" fill="none" stroke="white" stroke-width="1.5" pointer-events="none"/>
|
||||
</g>
|
||||
<g id="arrowUp" transform="translate(30 24)">
|
||||
<use xlink:href="#rim"/>
|
||||
<path pointer-events="none" fill="none" stroke="white" stroke-width="1.5" d="M0,-3.0v7 M-2.5,-0.5L0,-3.0L2.5,-0.5"/>
|
||||
</g>
|
||||
<g id="arrowRight" transform="rotate(90) translate(36 -43)">
|
||||
<use xlink:href="#rim"/>
|
||||
<path pointer-events="none" fill="none" stroke="white" stroke-width="1.5" d="M0,-3.0v7 M-2.5,-0.5L0,-3.0L2.5,-0.5"/>
|
||||
</g>
|
||||
<g id="arrowDown" transform="rotate(180) translate(-30 -48)">
|
||||
<use xlink:href="#rim"/>
|
||||
<path pointer-events="none" fill="none" stroke="white" stroke-width="1.5" d="M0,-3.0v7 M-2.5,-0.5L0,-3.0L2.5,-0.5"/>
|
||||
</g>
|
||||
<g id="arrowLeft" transform="rotate(270) translate(-36 17)">
|
||||
<use xlink:href="#rim"/>
|
||||
<path pointer-events="none" fill="none" stroke="white" stroke-width="1.5" d="M0,-3.0v7 M-2.5,-0.5L0,-3.0L2.5,-0.5"/>
|
||||
</g>
|
||||
<g id="resetDef">
|
||||
<use xlink:href="#rim2" fill="#404040"><set attributeName="fill" to="#808080" begin="reset.mouseover" end="reset.mouseout"/></use>
|
||||
</g>
|
||||
</defs>
|
||||
<script type="application/ecmascript">
|
||||
var viewWidth = 609;
|
||||
var viewHeight = 93;
|
||||
var sectionId = 'dynsection-8';
|
||||
</script>
|
||||
<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 56.5)">
|
||||
<g id="viewport">
|
||||
<title>range_queries::perSegTree::update</title>
|
||||
<!-- Node1 -->
|
||||
<g id="Node000001" class="node">
|
||||
<title>Node1</title>
|
||||
<g id="a_Node000001"><a xlink:title="Doing range update, checking at every node if it has some value to be propagated. All nodes affected ...">
|
||||
<polygon fill="#999999" stroke="#666666" points="133,-30.5 0,-30.5 0,0 133,0 133,-30.5"/>
|
||||
<text text-anchor="start" x="8" y="-17" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::perSegTree</text>
|
||||
<text text-anchor="middle" x="66.5" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">::update</text>
|
||||
<polygon fill="#999999" stroke="#666666" points="133,-41.88 0,-41.88 0,-11.37 133,-11.37 133,-41.88"/>
|
||||
<text text-anchor="start" x="8" y="-28.38" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::perSegTree</text>
|
||||
<text text-anchor="middle" x="66.5" y="-17.12" font-family="Helvetica,sans-Serif" font-size="10.00">::update</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node1 -->
|
||||
<g id="edge4_Node000001_Node000001" class="edge">
|
||||
<g id="edge6_Node000001_Node000001" class="edge">
|
||||
<title>Node1->Node1</title>
|
||||
<g id="a_edge4_Node000001_Node000001"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M36.55,-30.99C30.44,-40.06 40.42,-48.5 66.5,-48.5 80.76,-48.5 90.21,-45.97 94.84,-42.2"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="98.28,-42.88 96.23,-32.48 91.35,-41.89 98.28,-42.88"/>
|
||||
<g id="a_edge6_Node000001_Node000001"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M36.55,-42.36C30.44,-51.43 40.42,-59.88 66.5,-59.88 80.76,-59.88 90.21,-57.35 94.84,-53.58"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="98.28,-54.25 96.23,-43.86 91.35,-53.26 98.28,-54.25"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
@@ -41,9 +78,9 @@
|
||||
<g id="Node000002" class="node">
|
||||
<title>Node2</title>
|
||||
<g id="a_Node000002"><a xlink:href="../../d8/d28/classrange__queries_1_1per_seg_tree.html#ace7f57935b3bb9446f11c239fd89ae79" target="_top" xlink:title="If there is some value to be propagated to the passed node, value is added to the node and the childr...">
|
||||
<polygon fill="white" stroke="#666666" points="302,-52.5 169,-52.5 169,-22 302,-22 302,-52.5"/>
|
||||
<text text-anchor="start" x="177" y="-39" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::perSegTree</text>
|
||||
<text text-anchor="middle" x="235.5" y="-27.75" font-family="Helvetica,sans-Serif" font-size="10.00">::lazy</text>
|
||||
<polygon fill="white" stroke="#666666" points="302,-84.88 169,-84.88 169,-54.38 302,-54.38 302,-84.88"/>
|
||||
<text text-anchor="start" x="177" y="-71.38" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::perSegTree</text>
|
||||
<text text-anchor="middle" x="235.5" y="-60.12" font-family="Helvetica,sans-Serif" font-size="10.00">::lazy</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
@@ -51,8 +88,8 @@
|
||||
<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="M133.02,-23.88C140.97,-24.93 149.15,-26.01 157.25,-27.07"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="156.74,-30.54 167.12,-28.37 157.66,-23.6 156.74,-30.54"/>
|
||||
<path fill="none" stroke="#63b8ff" d="M128.26,-42.27C139.43,-45.15 151.18,-48.17 162.64,-51.12"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="161.48,-54.44 172.04,-53.54 163.23,-47.66 161.48,-54.44"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
@@ -60,18 +97,36 @@
|
||||
<g id="Node000003" class="node">
|
||||
<title>Node3</title>
|
||||
<g id="a_Node000003"><a xlink:href="../../d8/d28/classrange__queries_1_1per_seg_tree.html#a0cec4b77d264521717cf9b0482c45817" target="_top" xlink:title="Creating a new node with the same values of curr node.">
|
||||
<polygon fill="white" stroke="#666666" points="471,-30.5 338,-30.5 338,0 471,0 471,-30.5"/>
|
||||
<text text-anchor="start" x="346" y="-17" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::perSegTree</text>
|
||||
<text text-anchor="middle" x="404.5" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">::newKid</text>
|
||||
<polygon fill="white" stroke="#666666" points="471,-46.88 338,-46.88 338,-16.38 471,-16.38 471,-46.88"/>
|
||||
<text text-anchor="start" x="346" y="-33.38" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::perSegTree</text>
|
||||
<text text-anchor="middle" x="404.5" y="-22.12" font-family="Helvetica,sans-Serif" font-size="10.00">::newKid</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node3 -->
|
||||
<g id="edge3_Node000001_Node000003" class="edge">
|
||||
<g id="edge5_Node000001_Node000003" class="edge">
|
||||
<title>Node1->Node3</title>
|
||||
<g id="a_edge3_Node000001_Node000003"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M133.29,-13.76C145.18,-13.55 157.46,-13.36 169,-13.25 228.11,-12.67 242.89,-12.67 302,-13.25 309.85,-13.33 318.03,-13.44 326.2,-13.57"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="326.14,-17.07 336.2,-13.74 326.26,-10.07 326.14,-17.07"/>
|
||||
<g id="a_edge5_Node000001_Node000003"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M133.48,-27.61C188.85,-28.43 268,-29.61 326.3,-30.48"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="326.1,-33.97 336.16,-30.62 326.21,-26.97 326.1,-33.97"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node4 -->
|
||||
<g id="Node000004" class="node">
|
||||
<title>Node4</title>
|
||||
<g id="a_Node000004"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/memory/shared_ptr/make_shared.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="601,-19.25 507,-19.25 507,0 601,0 601,-19.25"/>
|
||||
<text text-anchor="middle" x="554" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::make_shared</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node4 -->
|
||||
<g id="edge4_Node000001_Node000004" class="edge">
|
||||
<title>Node1->Node4</title>
|
||||
<g id="a_edge4_Node000001_Node000004"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M133.3,-20.71C188.03,-16.1 268.02,-10.08 338,-7.62 397.07,-5.55 411.89,-6.9 471,-7.62 478.84,-7.72 487.1,-7.87 495.24,-8.04"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="495.01,-11.54 505.09,-8.26 495.17,-4.54 495.01,-11.54"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
@@ -79,13 +134,43 @@
|
||||
<g id="edge2_Node000002_Node000003" class="edge">
|
||||
<title>Node2->Node3</title>
|
||||
<g id="a_edge2_Node000002_Node000003"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M302.02,-28.62C309.97,-27.57 318.15,-26.49 326.25,-25.43"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="326.66,-28.9 336.12,-24.13 325.74,-21.96 326.66,-28.9"/>
|
||||
<path fill="none" stroke="#63b8ff" d="M302.02,-54.72C310.06,-52.89 318.34,-51 326.53,-49.14"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="327.17,-52.58 336.14,-46.95 325.61,-45.76 327.17,-52.58"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node3->Node4 -->
|
||||
<g id="edge3_Node000003_Node000004" class="edge">
|
||||
<title>Node3->Node4</title>
|
||||
<g id="a_edge3_Node000003_Node000004"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M471.48,-21.78C479.52,-20.58 487.69,-19.37 495.59,-18.19"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="496.06,-21.66 505.43,-16.72 495.03,-14.73 496.06,-21.66"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
||||
<g id="navigator" transform="translate(0 0)" fill="#404254">
|
||||
<rect fill="#f2f5e9" fill-opacity="0.5" stroke="#606060" stroke-width=".5" x="0" y="0" width="60" height="60"/>
|
||||
<use id="zoomplus" xlink:href="#zoomPlus" x="17" y="9" onmousedown="handleZoom(evt,'in')"/>
|
||||
<use id="zoomminus" xlink:href="#zoomMin" x="42" y="9" onmousedown="handleZoom(evt,'out')"/>
|
||||
<use id="reset" xlink:href="#resetDef" x="30" y="36" onmousedown="handleReset()"/>
|
||||
<use id="arrowup" xlink:href="#arrowUp" x="0" y="0" onmousedown="handlePan(0,-1)"/>
|
||||
<use id="arrowright" xlink:href="#arrowRight" x="0" y="0" onmousedown="handlePan(1,0)"/>
|
||||
<use id="arrowdown" xlink:href="#arrowDown" x="0" y="0" onmousedown="handlePan(0,1)"/>
|
||||
<use id="arrowleft" xlink:href="#arrowLeft" x="0" y="0" onmousedown="handlePan(-1,0)"/>
|
||||
</g>
|
||||
<svg viewBox="0 0 15 15" width="100%" height="30px" preserveAspectRatio="xMaxYMin meet">
|
||||
<g id="arrow_out" transform="scale(0.3 0.3)">
|
||||
<a xlink:href="classrange__queries_1_1per_seg_tree_a24487eda25123bc4d112e8430821a6c6_cgraph_org.svg" target="_base">
|
||||
<rect id="button" ry="5" rx="5" y="6" x="6" height="38" width="38"
|
||||
fill="#f2f5e9" fill-opacity="0.5" stroke="#606060" stroke-width="1.0"/>
|
||||
<path id="arrow"
|
||||
d="M 11.500037,31.436501 C 11.940474,20.09759 22.043105,11.32322 32.158766,21.979434 L 37.068811,17.246167 C 37.068811,17.246167 37.088388,32 37.088388,32 L 22.160133,31.978069 C 22.160133,31.978069 26.997745,27.140456 26.997745,27.140456 C 18.528582,18.264221 13.291696,25.230495 11.500037,31.436501 z"
|
||||
style="fill:#404040;"/>
|
||||
</a>
|
||||
</g>
|
||||
</svg>
|
||||
|
||||
<style type='text/css'>
|
||||
|
||||
|
Before Width: | Height: | Size: 4.8 KiB After Width: | Height: | Size: 9.1 KiB |
@@ -1,29 +1,29 @@
|
||||
<?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 9.0.0 (20230911.1827)
|
||||
<!-- Generated by graphviz version 12.1.0 (20240811.2233)
|
||||
-->
|
||||
<!-- Title: range_queries::perSegTree::update Pages: 1 -->
|
||||
<svg width="479pt" height="61pt"
|
||||
viewBox="0.00 0.00 479.00 60.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 56.5)">
|
||||
<svg width="609pt" height="93pt"
|
||||
viewBox="0.00 0.00 609.00 92.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 88.88)">
|
||||
<title>range_queries::perSegTree::update</title>
|
||||
<!-- Node1 -->
|
||||
<g id="Node000001" class="node">
|
||||
<title>Node1</title>
|
||||
<g id="a_Node000001"><a xlink:title="Doing range update, checking at every node if it has some value to be propagated. All nodes affected ...">
|
||||
<polygon fill="#999999" stroke="#666666" points="133,-30.5 0,-30.5 0,0 133,0 133,-30.5"/>
|
||||
<text text-anchor="start" x="8" y="-17" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::perSegTree</text>
|
||||
<text text-anchor="middle" x="66.5" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">::update</text>
|
||||
<polygon fill="#999999" stroke="#666666" points="133,-41.88 0,-41.88 0,-11.37 133,-11.37 133,-41.88"/>
|
||||
<text text-anchor="start" x="8" y="-28.38" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::perSegTree</text>
|
||||
<text text-anchor="middle" x="66.5" y="-17.12" font-family="Helvetica,sans-Serif" font-size="10.00">::update</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node1 -->
|
||||
<g id="edge4_Node000001_Node000001" class="edge">
|
||||
<g id="edge6_Node000001_Node000001" class="edge">
|
||||
<title>Node1->Node1</title>
|
||||
<g id="a_edge4_Node000001_Node000001"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M36.55,-30.99C30.44,-40.06 40.42,-48.5 66.5,-48.5 80.76,-48.5 90.21,-45.97 94.84,-42.2"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="98.28,-42.88 96.23,-32.48 91.35,-41.89 98.28,-42.88"/>
|
||||
<g id="a_edge6_Node000001_Node000001"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M36.55,-42.36C30.44,-51.43 40.42,-59.88 66.5,-59.88 80.76,-59.88 90.21,-57.35 94.84,-53.58"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="98.28,-54.25 96.23,-43.86 91.35,-53.26 98.28,-54.25"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
@@ -31,9 +31,9 @@
|
||||
<g id="Node000002" class="node">
|
||||
<title>Node2</title>
|
||||
<g id="a_Node000002"><a xlink:href="../../d8/d28/classrange__queries_1_1per_seg_tree.html#ace7f57935b3bb9446f11c239fd89ae79" target="_top" xlink:title="If there is some value to be propagated to the passed node, value is added to the node and the childr...">
|
||||
<polygon fill="white" stroke="#666666" points="302,-52.5 169,-52.5 169,-22 302,-22 302,-52.5"/>
|
||||
<text text-anchor="start" x="177" y="-39" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::perSegTree</text>
|
||||
<text text-anchor="middle" x="235.5" y="-27.75" font-family="Helvetica,sans-Serif" font-size="10.00">::lazy</text>
|
||||
<polygon fill="white" stroke="#666666" points="302,-84.88 169,-84.88 169,-54.38 302,-54.38 302,-84.88"/>
|
||||
<text text-anchor="start" x="177" y="-71.38" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::perSegTree</text>
|
||||
<text text-anchor="middle" x="235.5" y="-60.12" font-family="Helvetica,sans-Serif" font-size="10.00">::lazy</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
@@ -41,8 +41,8 @@
|
||||
<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="M133.02,-23.88C140.97,-24.93 149.15,-26.01 157.25,-27.07"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="156.74,-30.54 167.12,-28.37 157.66,-23.6 156.74,-30.54"/>
|
||||
<path fill="none" stroke="#63b8ff" d="M128.26,-42.27C139.43,-45.15 151.18,-48.17 162.64,-51.12"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="161.48,-54.44 172.04,-53.54 163.23,-47.66 161.48,-54.44"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
@@ -50,18 +50,36 @@
|
||||
<g id="Node000003" class="node">
|
||||
<title>Node3</title>
|
||||
<g id="a_Node000003"><a xlink:href="../../d8/d28/classrange__queries_1_1per_seg_tree.html#a0cec4b77d264521717cf9b0482c45817" target="_top" xlink:title="Creating a new node with the same values of curr node.">
|
||||
<polygon fill="white" stroke="#666666" points="471,-30.5 338,-30.5 338,0 471,0 471,-30.5"/>
|
||||
<text text-anchor="start" x="346" y="-17" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::perSegTree</text>
|
||||
<text text-anchor="middle" x="404.5" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">::newKid</text>
|
||||
<polygon fill="white" stroke="#666666" points="471,-46.88 338,-46.88 338,-16.38 471,-16.38 471,-46.88"/>
|
||||
<text text-anchor="start" x="346" y="-33.38" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::perSegTree</text>
|
||||
<text text-anchor="middle" x="404.5" y="-22.12" font-family="Helvetica,sans-Serif" font-size="10.00">::newKid</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node3 -->
|
||||
<g id="edge3_Node000001_Node000003" class="edge">
|
||||
<g id="edge5_Node000001_Node000003" class="edge">
|
||||
<title>Node1->Node3</title>
|
||||
<g id="a_edge3_Node000001_Node000003"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M133.29,-13.76C145.18,-13.55 157.46,-13.36 169,-13.25 228.11,-12.67 242.89,-12.67 302,-13.25 309.85,-13.33 318.03,-13.44 326.2,-13.57"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="326.14,-17.07 336.2,-13.74 326.26,-10.07 326.14,-17.07"/>
|
||||
<g id="a_edge5_Node000001_Node000003"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M133.48,-27.61C188.85,-28.43 268,-29.61 326.3,-30.48"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="326.1,-33.97 336.16,-30.62 326.21,-26.97 326.1,-33.97"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node4 -->
|
||||
<g id="Node000004" class="node">
|
||||
<title>Node4</title>
|
||||
<g id="a_Node000004"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/memory/shared_ptr/make_shared.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="601,-19.25 507,-19.25 507,0 601,0 601,-19.25"/>
|
||||
<text text-anchor="middle" x="554" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::make_shared</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node4 -->
|
||||
<g id="edge4_Node000001_Node000004" class="edge">
|
||||
<title>Node1->Node4</title>
|
||||
<g id="a_edge4_Node000001_Node000004"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M133.3,-20.71C188.03,-16.1 268.02,-10.08 338,-7.62 397.07,-5.55 411.89,-6.9 471,-7.62 478.84,-7.72 487.1,-7.87 495.24,-8.04"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="495.01,-11.54 505.09,-8.26 495.17,-4.54 495.01,-11.54"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
@@ -69,8 +87,17 @@
|
||||
<g id="edge2_Node000002_Node000003" class="edge">
|
||||
<title>Node2->Node3</title>
|
||||
<g id="a_edge2_Node000002_Node000003"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M302.02,-28.62C309.97,-27.57 318.15,-26.49 326.25,-25.43"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="326.66,-28.9 336.12,-24.13 325.74,-21.96 326.66,-28.9"/>
|
||||
<path fill="none" stroke="#63b8ff" d="M302.02,-54.72C310.06,-52.89 318.34,-51 326.53,-49.14"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="327.17,-52.58 336.14,-46.95 325.61,-45.76 327.17,-52.58"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node3->Node4 -->
|
||||
<g id="edge3_Node000003_Node000004" class="edge">
|
||||
<title>Node3->Node4</title>
|
||||
<g id="a_edge3_Node000003_Node000004"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M471.48,-21.78C479.52,-20.58 487.69,-19.37 495.59,-18.19"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="496.06,-21.66 505.43,-16.72 495.03,-14.73 496.06,-21.66"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
|
||||
|
Before Width: | Height: | Size: 4.0 KiB After Width: | Height: | Size: 5.2 KiB |
@@ -1,4 +1,6 @@
|
||||
<map id="range_queries::perSegTree::construct" name="range_queries::perSegTree::construct">
|
||||
<area shape="rect" id="Node000001" title="Constructing the segment tree with the early passed vector. Every call creates a node to hold the sum..." alt="" coords="5,29,183,70"/>
|
||||
<area shape="poly" id="edge1_Node000001_Node000001" title=" " alt="" coords="60,29,58,19,64,10,76,5,94,3,113,5,125,11,122,16,112,10,94,8,77,10,67,14,64,20,65,28"/>
|
||||
<area shape="poly" id="edge1_Node000001_Node000001" title=" " alt="" coords="56,29,54,19,60,10,74,5,94,3,116,5,129,11,126,16,114,10,94,8,75,10,64,15,59,20,61,28"/>
|
||||
<area shape="rect" id="Node000002" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/memory/shared_ptr/make_shared.html#" title=" " alt="" coords="231,37,356,62"/>
|
||||
<area shape="poly" id="edge2_Node000001_Node000002" title=" " alt="" coords="183,47,215,47,215,52,183,52"/>
|
||||
</map>
|
||||
|
||||
@@ -1 +1 @@
|
||||
6c6414afbd33f8d09864d085bdbd7a56
|
||||
88bb5f58349a7d23ae0639305e0eff77
|
||||
@@ -1,13 +1,14 @@
|
||||
<?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 9.0.0 (20230911.1827)
|
||||
<!-- Generated by graphviz version 12.1.0 (20240811.2233)
|
||||
-->
|
||||
<!-- Title: range_queries::perSegTree::construct Pages: 1 -->
|
||||
<svg width="141pt" height="57pt"
|
||||
viewBox="0.00 0.00 141.00 56.50" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<svg width="271pt" height="57pt"
|
||||
viewBox="0.00 0.00 271.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">
|
||||
|
||||
<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;}
|
||||
@@ -32,8 +33,26 @@
|
||||
<g id="edge1_Node000001_Node000001" class="edge">
|
||||
<title>Node1->Node1</title>
|
||||
<g id="a_edge1_Node000001_Node000001"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M42.93,-30.99C38.12,-40.06 45.98,-48.5 66.5,-48.5 77.72,-48.5 85.16,-45.97 88.8,-42.2"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="92.26,-42.82 89.9,-32.49 85.3,-42.04 92.26,-42.82"/>
|
||||
<path fill="none" stroke="#63b8ff" d="M40.01,-30.99C34.6,-40.06 43.43,-48.5 66.5,-48.5 79.11,-48.5 87.47,-45.97 91.57,-42.2"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="95.02,-42.85 92.8,-32.49 88.07,-41.97 95.02,-42.85"/>
|
||||
</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/memory/shared_ptr/make_shared.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="263,-24.88 169,-24.88 169,-5.63 263,-5.63 263,-24.88"/>
|
||||
<text text-anchor="middle" x="216" y="-11.38" font-family="Helvetica,sans-Serif" font-size="10.00">std::make_shared</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node2 -->
|
||||
<g id="edge2_Node000001_Node000002" class="edge">
|
||||
<title>Node1->Node2</title>
|
||||
<g id="a_edge2_Node000001_Node000002"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M133.48,-15.25C141.52,-15.25 149.69,-15.25 157.59,-15.25"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="157.42,-18.75 167.42,-15.25 157.42,-11.75 157.42,-18.75"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
|
||||
|
Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 3.1 KiB |
@@ -1,11 +1,11 @@
|
||||
<?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 9.0.0 (20230911.1827)
|
||||
<!-- Generated by graphviz version 12.1.0 (20240811.2233)
|
||||
-->
|
||||
<!-- Title: range_queries::perSegTree::construct Pages: 1 -->
|
||||
<svg width="141pt" height="57pt"
|
||||
viewBox="0.00 0.00 141.00 56.50" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<svg width="271pt" height="57pt"
|
||||
viewBox="0.00 0.00 271.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>range_queries::perSegTree::construct</title>
|
||||
<!-- Node1 -->
|
||||
@@ -22,8 +22,26 @@
|
||||
<g id="edge1_Node000001_Node000001" class="edge">
|
||||
<title>Node1->Node1</title>
|
||||
<g id="a_edge1_Node000001_Node000001"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M42.93,-30.99C38.12,-40.06 45.98,-48.5 66.5,-48.5 77.72,-48.5 85.16,-45.97 88.8,-42.2"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="92.26,-42.82 89.9,-32.49 85.3,-42.04 92.26,-42.82"/>
|
||||
<path fill="none" stroke="#63b8ff" d="M40.01,-30.99C34.6,-40.06 43.43,-48.5 66.5,-48.5 79.11,-48.5 87.47,-45.97 91.57,-42.2"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="95.02,-42.85 92.8,-32.49 88.07,-41.97 95.02,-42.85"/>
|
||||
</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/memory/shared_ptr/make_shared.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="263,-24.88 169,-24.88 169,-5.63 263,-5.63 263,-24.88"/>
|
||||
<text text-anchor="middle" x="216" y="-11.38" font-family="Helvetica,sans-Serif" font-size="10.00">std::make_shared</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node2 -->
|
||||
<g id="edge2_Node000001_Node000002" class="edge">
|
||||
<title>Node1->Node2</title>
|
||||
<g id="a_edge2_Node000001_Node000002"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M133.48,-15.25C141.52,-15.25 149.69,-15.25 157.59,-15.25"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="157.42,-18.75 167.42,-15.25 157.42,-11.75 157.42,-18.75"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
|
||||
|
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 2.3 KiB |
@@ -2,11 +2,13 @@
|
||||
<area shape="rect" id="Node000001" title="Constructing the segment tree with the values in the passed vector. Returned root pointer is pushed i..." alt="" coords="5,112,183,153"/>
|
||||
<area shape="rect" id="Node000002" href="$d8/d28/classrange__queries_1_1per_seg_tree.html#a6d3f2465a7c5803a1ff16c5378bcc5e4" title="Constructing the segment tree with the early passed vector. Every call creates a node to hold the sum..." alt="" coords="231,29,408,70"/>
|
||||
<area shape="poly" id="edge1_Node000001_Node000002" title=" " alt="" coords="150,109,230,79,246,73,247,78,232,84,152,114"/>
|
||||
<area shape="rect" id="Node000003" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/vector/empty.html#" title=" " alt="" coords="256,94,383,120"/>
|
||||
<area shape="poly" id="edge3_Node000001_Node000003" title=" " alt="" coords="182,120,240,113,240,119,183,125"/>
|
||||
<area shape="rect" id="Node000004" 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="242,144,397,169"/>
|
||||
<area shape="poly" id="edge4_Node000001_Node000004" title=" " alt="" coords="183,139,227,144,226,149,182,144"/>
|
||||
<area shape="rect" id="Node000005" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/vector/size.html#" title=" " alt="" coords="262,193,377,219"/>
|
||||
<area shape="poly" id="edge5_Node000001_Node000005" title=" " alt="" coords="151,151,231,179,253,186,251,191,230,184,149,156"/>
|
||||
<area shape="poly" id="edge2_Node000002_Node000002" title=" " alt="" coords="277,29,275,19,282,10,297,5,319,3,344,5,358,11,356,16,342,10,319,8,298,10,285,15,280,21,282,28"/>
|
||||
<area shape="rect" id="Node000004" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/vector/empty.html#" title=" " alt="" coords="256,94,383,120"/>
|
||||
<area shape="poly" id="edge4_Node000001_Node000004" title=" " alt="" coords="182,120,240,113,240,119,183,125"/>
|
||||
<area shape="rect" id="Node000005" 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="242,144,396,169"/>
|
||||
<area shape="poly" id="edge5_Node000001_Node000005" title=" " alt="" coords="183,139,227,144,226,149,182,144"/>
|
||||
<area shape="rect" id="Node000006" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/vector/size.html#" title=" " alt="" coords="262,193,377,218"/>
|
||||
<area shape="poly" id="edge6_Node000001_Node000006" title=" " alt="" coords="151,151,231,179,253,186,251,191,230,184,149,156"/>
|
||||
<area shape="poly" id="edge2_Node000002_Node000002" title=" " alt="" coords="281,29,280,19,286,10,299,5,319,3,341,5,354,11,352,16,340,10,319,8,300,10,289,15,285,20,287,28"/>
|
||||
<area shape="rect" id="Node000003" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/memory/shared_ptr/make_shared.html#" title=" " alt="" coords="456,37,581,62"/>
|
||||
<area shape="poly" id="edge3_Node000002_Node000003" title=" " alt="" coords="409,47,441,47,441,52,409,52"/>
|
||||
</map>
|
||||
|
||||
@@ -1 +1 @@
|
||||
be302fd57973e550a4e58515722cb6b6
|
||||
5304b706a99b2e16f6b9fdbd846ba643
|
||||
@@ -1,13 +1,14 @@
|
||||
<?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 9.0.0 (20230911.1827)
|
||||
<!-- Generated by graphviz version 12.1.0 (20240811.2233)
|
||||
-->
|
||||
<!-- Title: range_queries::perSegTree::construct Pages: 1 -->
|
||||
<svg width="310pt" height="168pt"
|
||||
viewBox="0.00 0.00 310.00 167.88" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<svg width="440pt" height="168pt"
|
||||
viewBox="0.00 0.00 440.00 167.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">
|
||||
|
||||
<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;}
|
||||
@@ -47,30 +48,12 @@
|
||||
</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/empty.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="283.25,-93.25 187.75,-93.25 187.75,-74 283.25,-74 283.25,-93.25"/>
|
||||
<text text-anchor="middle" x="235.5" y="-79.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::vector::empty</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="M133.02,-72.08C147.23,-73.7 162.17,-75.4 176.08,-76.98"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="175.65,-80.45 185.98,-78.1 176.44,-73.5 175.65,-80.45"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node4 -->
|
||||
<g id="Node000004" class="node">
|
||||
<title>Node4</title>
|
||||
<g id="a_Node000004"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/vector/push_back.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="293.38,-56.25 177.62,-56.25 177.62,-37 293.38,-37 293.38,-56.25"/>
|
||||
<text text-anchor="middle" x="235.5" y="-42.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::vector::push_back</text>
|
||||
<g id="a_Node000004"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/vector/empty.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="283.25,-93.25 187.75,-93.25 187.75,-74 283.25,-74 283.25,-93.25"/>
|
||||
<text text-anchor="middle" x="235.5" y="-79.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::vector::empty</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
@@ -78,17 +61,17 @@
|
||||
<g id="edge4_Node000001_Node000004" class="edge">
|
||||
<title>Node1->Node4</title>
|
||||
<g id="a_edge4_Node000001_Node000004"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M133.02,-57.56C143.87,-56.39 155.15,-55.18 166.07,-54"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="166.22,-57.51 175.79,-52.95 165.47,-50.55 166.22,-57.51"/>
|
||||
<path fill="none" stroke="#63b8ff" d="M133.02,-72.08C147.23,-73.7 162.17,-75.4 176.08,-76.98"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="175.65,-80.45 185.98,-78.1 176.44,-73.5 175.65,-80.45"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node5 -->
|
||||
<g id="Node000005" class="node">
|
||||
<title>Node5</title>
|
||||
<g id="a_Node000005"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/vector/size.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="278.75,-19.25 192.25,-19.25 192.25,0 278.75,0 278.75,-19.25"/>
|
||||
<text text-anchor="middle" x="235.5" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::vector::size</text>
|
||||
<g id="a_Node000005"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/vector/push_back.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="293.38,-56.25 177.62,-56.25 177.62,-37 293.38,-37 293.38,-56.25"/>
|
||||
<text text-anchor="middle" x="235.5" y="-42.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::vector::push_back</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
@@ -96,6 +79,24 @@
|
||||
<g id="edge5_Node000001_Node000005" class="edge">
|
||||
<title>Node1->Node5</title>
|
||||
<g id="a_edge5_Node000001_Node000005"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M133.02,-57.56C143.87,-56.39 155.15,-55.18 166.07,-54"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="166.22,-57.51 175.79,-52.95 165.47,-50.55 166.22,-57.51"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node6 -->
|
||||
<g id="Node000006" class="node">
|
||||
<title>Node6</title>
|
||||
<g id="a_Node000006"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/vector/size.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="278.75,-19.25 192.25,-19.25 192.25,0 278.75,0 278.75,-19.25"/>
|
||||
<text text-anchor="middle" x="235.5" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::vector::size</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node6 -->
|
||||
<g id="edge6_Node000001_Node000006" class="edge">
|
||||
<title>Node1->Node6</title>
|
||||
<g id="a_edge6_Node000001_Node000006"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M108.23,-48.92C126.67,-42.03 148.81,-34.07 169,-27.62 174.14,-25.99 179.53,-24.36 184.92,-22.79"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="185.78,-26.18 194.45,-20.08 183.87,-19.45 185.78,-26.18"/>
|
||||
</a>
|
||||
@@ -105,8 +106,26 @@
|
||||
<g id="edge2_Node000002_Node000002" class="edge">
|
||||
<title>Node2->Node2</title>
|
||||
<g id="a_edge2_Node000002_Node000002"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M205.55,-142.36C199.44,-151.43 209.42,-159.88 235.5,-159.88 249.76,-159.88 259.21,-157.35 263.84,-153.58"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="267.28,-154.25 265.23,-143.86 260.35,-153.26 267.28,-154.25"/>
|
||||
<path fill="none" stroke="#63b8ff" d="M209.01,-142.36C203.6,-151.43 212.43,-159.88 235.5,-159.88 248.11,-159.88 256.47,-157.35 260.57,-153.58"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="264.02,-154.22 261.8,-143.86 257.07,-153.34 264.02,-154.22"/>
|
||||
</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/memory/shared_ptr/make_shared.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="432,-136.25 338,-136.25 338,-117 432,-117 432,-136.25"/>
|
||||
<text text-anchor="middle" x="385" y="-122.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::make_shared</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node2->Node3 -->
|
||||
<g id="edge3_Node000002_Node000003" class="edge">
|
||||
<title>Node2->Node3</title>
|
||||
<g id="a_edge3_Node000002_Node000003"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M302.48,-126.62C310.52,-126.62 318.69,-126.62 326.59,-126.62"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="326.42,-130.13 336.42,-126.63 326.42,-123.13 326.42,-130.13"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
|
||||
|
Before Width: | Height: | Size: 6.0 KiB After Width: | Height: | Size: 6.8 KiB |
@@ -1,11 +1,11 @@
|
||||
<?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 9.0.0 (20230911.1827)
|
||||
<!-- Generated by graphviz version 12.1.0 (20240811.2233)
|
||||
-->
|
||||
<!-- Title: range_queries::perSegTree::construct Pages: 1 -->
|
||||
<svg width="310pt" height="168pt"
|
||||
viewBox="0.00 0.00 310.00 167.88" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<svg width="440pt" height="168pt"
|
||||
viewBox="0.00 0.00 440.00 167.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 163.88)">
|
||||
<title>range_queries::perSegTree::construct</title>
|
||||
<!-- Node1 -->
|
||||
@@ -37,30 +37,12 @@
|
||||
</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/empty.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="283.25,-93.25 187.75,-93.25 187.75,-74 283.25,-74 283.25,-93.25"/>
|
||||
<text text-anchor="middle" x="235.5" y="-79.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::vector::empty</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="M133.02,-72.08C147.23,-73.7 162.17,-75.4 176.08,-76.98"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="175.65,-80.45 185.98,-78.1 176.44,-73.5 175.65,-80.45"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node4 -->
|
||||
<g id="Node000004" class="node">
|
||||
<title>Node4</title>
|
||||
<g id="a_Node000004"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/vector/push_back.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="293.38,-56.25 177.62,-56.25 177.62,-37 293.38,-37 293.38,-56.25"/>
|
||||
<text text-anchor="middle" x="235.5" y="-42.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::vector::push_back</text>
|
||||
<g id="a_Node000004"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/vector/empty.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="283.25,-93.25 187.75,-93.25 187.75,-74 283.25,-74 283.25,-93.25"/>
|
||||
<text text-anchor="middle" x="235.5" y="-79.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::vector::empty</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
@@ -68,17 +50,17 @@
|
||||
<g id="edge4_Node000001_Node000004" class="edge">
|
||||
<title>Node1->Node4</title>
|
||||
<g id="a_edge4_Node000001_Node000004"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M133.02,-57.56C143.87,-56.39 155.15,-55.18 166.07,-54"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="166.22,-57.51 175.79,-52.95 165.47,-50.55 166.22,-57.51"/>
|
||||
<path fill="none" stroke="#63b8ff" d="M133.02,-72.08C147.23,-73.7 162.17,-75.4 176.08,-76.98"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="175.65,-80.45 185.98,-78.1 176.44,-73.5 175.65,-80.45"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node5 -->
|
||||
<g id="Node000005" class="node">
|
||||
<title>Node5</title>
|
||||
<g id="a_Node000005"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/vector/size.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="278.75,-19.25 192.25,-19.25 192.25,0 278.75,0 278.75,-19.25"/>
|
||||
<text text-anchor="middle" x="235.5" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::vector::size</text>
|
||||
<g id="a_Node000005"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/vector/push_back.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="293.38,-56.25 177.62,-56.25 177.62,-37 293.38,-37 293.38,-56.25"/>
|
||||
<text text-anchor="middle" x="235.5" y="-42.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::vector::push_back</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
@@ -86,6 +68,24 @@
|
||||
<g id="edge5_Node000001_Node000005" class="edge">
|
||||
<title>Node1->Node5</title>
|
||||
<g id="a_edge5_Node000001_Node000005"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M133.02,-57.56C143.87,-56.39 155.15,-55.18 166.07,-54"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="166.22,-57.51 175.79,-52.95 165.47,-50.55 166.22,-57.51"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node6 -->
|
||||
<g id="Node000006" class="node">
|
||||
<title>Node6</title>
|
||||
<g id="a_Node000006"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/vector/size.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="278.75,-19.25 192.25,-19.25 192.25,0 278.75,0 278.75,-19.25"/>
|
||||
<text text-anchor="middle" x="235.5" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::vector::size</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node6 -->
|
||||
<g id="edge6_Node000001_Node000006" class="edge">
|
||||
<title>Node1->Node6</title>
|
||||
<g id="a_edge6_Node000001_Node000006"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M108.23,-48.92C126.67,-42.03 148.81,-34.07 169,-27.62 174.14,-25.99 179.53,-24.36 184.92,-22.79"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="185.78,-26.18 194.45,-20.08 183.87,-19.45 185.78,-26.18"/>
|
||||
</a>
|
||||
@@ -95,8 +95,26 @@
|
||||
<g id="edge2_Node000002_Node000002" class="edge">
|
||||
<title>Node2->Node2</title>
|
||||
<g id="a_edge2_Node000002_Node000002"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M205.55,-142.36C199.44,-151.43 209.42,-159.88 235.5,-159.88 249.76,-159.88 259.21,-157.35 263.84,-153.58"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="267.28,-154.25 265.23,-143.86 260.35,-153.26 267.28,-154.25"/>
|
||||
<path fill="none" stroke="#63b8ff" d="M209.01,-142.36C203.6,-151.43 212.43,-159.88 235.5,-159.88 248.11,-159.88 256.47,-157.35 260.57,-153.58"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="264.02,-154.22 261.8,-143.86 257.07,-153.34 264.02,-154.22"/>
|
||||
</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/memory/shared_ptr/make_shared.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="432,-136.25 338,-136.25 338,-117 432,-117 432,-136.25"/>
|
||||
<text text-anchor="middle" x="385" y="-122.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::make_shared</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node2->Node3 -->
|
||||
<g id="edge3_Node000002_Node000003" class="edge">
|
||||
<title>Node2->Node3</title>
|
||||
<g id="a_edge3_Node000002_Node000003"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M302.48,-126.62C310.52,-126.62 318.69,-126.62 326.59,-126.62"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="326.42,-130.13 336.42,-126.63 326.42,-123.13 326.42,-130.13"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
|
||||
|
Before Width: | Height: | Size: 5.2 KiB After Width: | Height: | Size: 6.0 KiB |
@@ -2,4 +2,6 @@
|
||||
<area shape="rect" id="Node000001" title="If there is some value to be propagated to the passed node, value is added to the node and the childr..." alt="" coords="5,5,183,46"/>
|
||||
<area shape="rect" id="Node000002" href="$d8/d28/classrange__queries_1_1per_seg_tree.html#a0cec4b77d264521717cf9b0482c45817" title="Creating a new node with the same values of curr node." alt="" coords="231,5,408,46"/>
|
||||
<area shape="poly" id="edge1_Node000001_Node000002" title=" " alt="" coords="183,23,215,23,215,28,183,28"/>
|
||||
<area shape="rect" id="Node000003" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/memory/shared_ptr/make_shared.html#" title=" " alt="" coords="456,13,581,38"/>
|
||||
<area shape="poly" id="edge2_Node000002_Node000003" title=" " alt="" coords="409,23,441,23,441,28,409,28"/>
|
||||
</map>
|
||||
|
||||
@@ -1 +1 @@
|
||||
ef3518596e433556acaa5556fb2bae5e
|
||||
66e7a85b26e617502f8845c31cf0a79f
|
||||
@@ -1,13 +1,14 @@
|
||||
<?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 9.0.0 (20230911.1827)
|
||||
<!-- Generated by graphviz version 12.1.0 (20240811.2233)
|
||||
-->
|
||||
<!-- Title: range_queries::perSegTree::lazy Pages: 1 -->
|
||||
<svg width="310pt" height="39pt"
|
||||
viewBox="0.00 0.00 310.00 38.50" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<svg width="440pt" height="39pt"
|
||||
viewBox="0.00 0.00 440.00 38.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">
|
||||
|
||||
<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;}
|
||||
@@ -47,6 +48,24 @@
|
||||
</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/memory/shared_ptr/make_shared.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="432,-24.88 338,-24.88 338,-5.63 432,-5.63 432,-24.88"/>
|
||||
<text text-anchor="middle" x="385" y="-11.38" font-family="Helvetica,sans-Serif" font-size="10.00">std::make_shared</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node2->Node3 -->
|
||||
<g id="edge2_Node000002_Node000003" class="edge">
|
||||
<title>Node2->Node3</title>
|
||||
<g id="a_edge2_Node000002_Node000003"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M302.48,-15.25C310.52,-15.25 318.69,-15.25 326.59,-15.25"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="326.42,-18.75 336.42,-15.25 326.42,-11.75 326.42,-18.75"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
</svg>
|
||||
|
||||
|
Before Width: | Height: | Size: 2.9 KiB After Width: | Height: | Size: 3.7 KiB |
@@ -1,11 +1,11 @@
|
||||
<?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 9.0.0 (20230911.1827)
|
||||
<!-- Generated by graphviz version 12.1.0 (20240811.2233)
|
||||
-->
|
||||
<!-- Title: range_queries::perSegTree::lazy Pages: 1 -->
|
||||
<svg width="310pt" height="39pt"
|
||||
viewBox="0.00 0.00 310.00 38.50" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<svg width="440pt" height="39pt"
|
||||
viewBox="0.00 0.00 440.00 38.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 34.5)">
|
||||
<title>range_queries::perSegTree::lazy</title>
|
||||
<!-- Node1 -->
|
||||
@@ -37,5 +37,23 @@
|
||||
</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/memory/shared_ptr/make_shared.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="432,-24.88 338,-24.88 338,-5.63 432,-5.63 432,-24.88"/>
|
||||
<text text-anchor="middle" x="385" y="-11.38" font-family="Helvetica,sans-Serif" font-size="10.00">std::make_shared</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node2->Node3 -->
|
||||
<g id="edge2_Node000002_Node000003" class="edge">
|
||||
<title>Node2->Node3</title>
|
||||
<g id="a_edge2_Node000002_Node000003"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M302.48,-15.25C310.52,-15.25 318.69,-15.25 326.59,-15.25"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="326.42,-18.75 336.42,-15.25 326.42,-11.75 326.42,-18.75"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
||||
|
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 2.9 KiB |
@@ -2,9 +2,11 @@
|
||||
<area shape="rect" id="Node000001" title="Querying the range from index l to index r, getting the sum of the elements whose index x satisfies l..." alt="" coords="5,29,183,70"/>
|
||||
<area shape="rect" id="Node000002" href="$d8/d28/classrange__queries_1_1per_seg_tree.html#ae8ae4b1835e5e8aec32f68c5059ed4d4" title="Querying the range from index l to index r, checking at every node if it has some value to be propaga..." alt="" coords="231,29,408,70"/>
|
||||
<area shape="poly" id="edge1_Node000001_Node000002" title=" " alt="" coords="183,47,215,47,215,52,183,52"/>
|
||||
<area shape="poly" id="edge4_Node000002_Node000002" title=" " alt="" coords="277,29,275,19,282,10,297,5,319,3,344,5,358,11,356,16,342,10,319,8,298,10,285,15,280,21,282,28"/>
|
||||
<area shape="poly" id="edge5_Node000002_Node000002" title=" " alt="" coords="277,29,275,19,282,10,297,5,319,3,344,5,358,11,356,16,342,10,319,8,298,10,285,15,280,21,282,28"/>
|
||||
<area shape="rect" id="Node000003" href="$d8/d28/classrange__queries_1_1per_seg_tree.html#ace7f57935b3bb9446f11c239fd89ae79" title="If there is some value to be propagated to the passed node, value is added to the node and the childr..." alt="" coords="456,29,633,70"/>
|
||||
<area shape="poly" id="edge2_Node000002_Node000003" title=" " alt="" coords="408,47,440,47,440,52,408,52"/>
|
||||
<area shape="rect" id="Node000004" href="$d8/d28/classrange__queries_1_1per_seg_tree.html#a0cec4b77d264521717cf9b0482c45817" title="Creating a new node with the same values of curr node." alt="" coords="681,29,859,70"/>
|
||||
<area shape="poly" id="edge3_Node000003_Node000004" title=" " alt="" coords="633,47,666,47,666,52,633,52"/>
|
||||
<area shape="rect" id="Node000005" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/memory/shared_ptr/make_shared.html#" title=" " alt="" coords="907,37,1032,62"/>
|
||||
<area shape="poly" id="edge4_Node000004_Node000005" title=" " alt="" coords="859,47,891,47,891,52,859,52"/>
|
||||
</map>
|
||||
|
||||
@@ -1 +1 @@
|
||||
d87ad1a779660183ec12d19bde9a55cd
|
||||
f1a8b9d33a6aa48f41ba95b714426d6b
|
||||
@@ -1,12 +1,13 @@
|
||||
<?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 9.0.0 (20230911.1827)
|
||||
<!-- Generated by graphviz version 12.1.0 (20240811.2233)
|
||||
-->
|
||||
<!-- Title: range_queries::perSegTree::query Pages: 1 -->
|
||||
<!--zoomable 57 -->
|
||||
|
||||
<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;}
|
||||
@@ -46,9 +47,9 @@
|
||||
</g>
|
||||
</defs>
|
||||
<script type="application/ecmascript">
|
||||
var viewWidth = 648;
|
||||
var viewWidth = 778;
|
||||
var viewHeight = 57;
|
||||
var sectionId = 'dynsection-5';
|
||||
var sectionId = 'dynsection-6';
|
||||
</script>
|
||||
<script type="application/ecmascript" xlink:href="../../svg.min.js"/>
|
||||
<svg id="graph" class="graph">
|
||||
@@ -84,9 +85,9 @@ var sectionId = 'dynsection-5';
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node2->Node2 -->
|
||||
<g id="edge4_Node000002_Node000002" class="edge">
|
||||
<g id="edge5_Node000002_Node000002" class="edge">
|
||||
<title>Node2->Node2</title>
|
||||
<g id="a_edge4_Node000002_Node000002"><a xlink:title=" ">
|
||||
<g id="a_edge5_Node000002_Node000002"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M205.55,-30.99C199.44,-40.06 209.42,-48.5 235.5,-48.5 249.76,-48.5 259.21,-45.97 263.84,-42.2"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="267.28,-42.88 265.23,-32.48 260.35,-41.89 267.28,-42.88"/>
|
||||
</a>
|
||||
@@ -130,6 +131,24 @@ var sectionId = 'dynsection-5';
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node5 -->
|
||||
<g id="Node000005" class="node">
|
||||
<title>Node5</title>
|
||||
<g id="a_Node000005"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/memory/shared_ptr/make_shared.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="770,-24.88 676,-24.88 676,-5.63 770,-5.63 770,-24.88"/>
|
||||
<text text-anchor="middle" x="723" y="-11.38" font-family="Helvetica,sans-Serif" font-size="10.00">std::make_shared</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node4->Node5 -->
|
||||
<g id="edge4_Node000004_Node000005" class="edge">
|
||||
<title>Node4->Node5</title>
|
||||
<g id="a_edge4_Node000004_Node000005"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M640.48,-15.25C648.52,-15.25 656.69,-15.25 664.59,-15.25"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="664.42,-18.75 674.42,-15.25 664.42,-11.75 664.42,-18.75"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
||||
|
||||
|
Before Width: | Height: | Size: 8.5 KiB After Width: | Height: | Size: 9.3 KiB |
@@ -1,11 +1,11 @@
|
||||
<?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 9.0.0 (20230911.1827)
|
||||
<!-- Generated by graphviz version 12.1.0 (20240811.2233)
|
||||
-->
|
||||
<!-- Title: range_queries::perSegTree::query Pages: 1 -->
|
||||
<svg width="648pt" height="57pt"
|
||||
viewBox="0.00 0.00 648.00 56.50" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<svg width="778pt" height="57pt"
|
||||
viewBox="0.00 0.00 778.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>range_queries::perSegTree::query</title>
|
||||
<!-- Node1 -->
|
||||
@@ -38,9 +38,9 @@
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node2->Node2 -->
|
||||
<g id="edge4_Node000002_Node000002" class="edge">
|
||||
<g id="edge5_Node000002_Node000002" class="edge">
|
||||
<title>Node2->Node2</title>
|
||||
<g id="a_edge4_Node000002_Node000002"><a xlink:title=" ">
|
||||
<g id="a_edge5_Node000002_Node000002"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M205.55,-30.99C199.44,-40.06 209.42,-48.5 235.5,-48.5 249.76,-48.5 259.21,-45.97 263.84,-42.2"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="267.28,-42.88 265.23,-32.48 260.35,-41.89 267.28,-42.88"/>
|
||||
</a>
|
||||
@@ -84,5 +84,23 @@
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node5 -->
|
||||
<g id="Node000005" class="node">
|
||||
<title>Node5</title>
|
||||
<g id="a_Node000005"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/memory/shared_ptr/make_shared.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="770,-24.88 676,-24.88 676,-5.63 770,-5.63 770,-24.88"/>
|
||||
<text text-anchor="middle" x="723" y="-11.38" font-family="Helvetica,sans-Serif" font-size="10.00">std::make_shared</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node4->Node5 -->
|
||||
<g id="edge4_Node000004_Node000005" class="edge">
|
||||
<title>Node4->Node5</title>
|
||||
<g id="a_edge4_Node000004_Node000005"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M640.48,-15.25C648.52,-15.25 656.69,-15.25 664.59,-15.25"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="664.42,-18.75 674.42,-15.25 664.42,-11.75 664.42,-18.75"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
||||
|
Before Width: | Height: | Size: 4.6 KiB After Width: | Height: | Size: 5.4 KiB |
@@ -1,8 +1,10 @@
|
||||
<map id="range_queries::perSegTree::query" name="range_queries::perSegTree::query">
|
||||
<area shape="rect" id="Node000001" title="Querying the range from index l to index r, checking at every node if it has some value to be propaga..." alt="" coords="5,29,183,70"/>
|
||||
<area shape="poly" id="edge3_Node000001_Node000001" title=" " alt="" coords="51,29,49,19,56,10,71,5,94,3,118,5,133,11,131,16,117,10,94,8,73,10,60,15,55,21,57,28"/>
|
||||
<area shape="poly" id="edge4_Node000001_Node000001" title=" " alt="" coords="51,29,49,19,56,10,71,5,94,3,118,5,133,11,131,16,117,10,94,8,73,10,60,15,55,21,57,28"/>
|
||||
<area shape="rect" id="Node000002" href="$d8/d28/classrange__queries_1_1per_seg_tree.html#ace7f57935b3bb9446f11c239fd89ae79" title="If there is some value to be propagated to the passed node, value is added to the node and the childr..." alt="" coords="231,29,408,70"/>
|
||||
<area shape="poly" id="edge1_Node000001_Node000002" title=" " alt="" coords="183,47,215,47,215,52,183,52"/>
|
||||
<area shape="rect" id="Node000003" href="$d8/d28/classrange__queries_1_1per_seg_tree.html#a0cec4b77d264521717cf9b0482c45817" title="Creating a new node with the same values of curr node." alt="" coords="456,29,633,70"/>
|
||||
<area shape="poly" id="edge2_Node000002_Node000003" title=" " alt="" coords="408,47,440,47,440,52,408,52"/>
|
||||
<area shape="rect" id="Node000004" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/memory/shared_ptr/make_shared.html#" title=" " alt="" coords="681,37,807,62"/>
|
||||
<area shape="poly" id="edge3_Node000003_Node000004" title=" " alt="" coords="634,47,666,47,666,52,634,52"/>
|
||||
</map>
|
||||
|
||||
@@ -1 +1 @@
|
||||
991b705637377a9d6d81be7be1aa5a0b
|
||||
0f56b13ce35bed1d273893dd5a30225f
|
||||
@@ -1,22 +1,59 @@
|
||||
<?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 9.0.0 (20230911.1827)
|
||||
<!-- Generated by graphviz version 12.1.0 (20240811.2233)
|
||||
-->
|
||||
<!-- Title: range_queries::perSegTree::query Pages: 1 -->
|
||||
<svg width="479pt" height="57pt"
|
||||
viewBox="0.00 0.00 479.00 56.50" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<!--zoomable 57 -->
|
||||
|
||||
<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>
|
||||
|
||||
<defs>
|
||||
<circle id="rim" cx="0" cy="0" r="7"/>
|
||||
<circle id="rim2" cx="0" cy="0" r="3.5"/>
|
||||
<g id="zoomPlus">
|
||||
<use xlink:href="#rim" fill="#404040"><set attributeName="fill" to="#808080" begin="zoomplus.mouseover" end="zoomplus.mouseout"/></use>
|
||||
<path d="M-4,0h8M0,-4v8" fill="none" stroke="white" stroke-width="1.5" pointer-events="none"/>
|
||||
</g>
|
||||
<g id="zoomMin">
|
||||
<use xlink:href="#rim" fill="#404040"><set attributeName="fill" to="#808080" begin="zoomminus.mouseover" end="zoomminus.mouseout"/></use>
|
||||
<path d="M-4,0h8" fill="none" stroke="white" stroke-width="1.5" pointer-events="none"/>
|
||||
</g>
|
||||
<g id="arrowUp" transform="translate(30 24)">
|
||||
<use xlink:href="#rim"/>
|
||||
<path pointer-events="none" fill="none" stroke="white" stroke-width="1.5" d="M0,-3.0v7 M-2.5,-0.5L0,-3.0L2.5,-0.5"/>
|
||||
</g>
|
||||
<g id="arrowRight" transform="rotate(90) translate(36 -43)">
|
||||
<use xlink:href="#rim"/>
|
||||
<path pointer-events="none" fill="none" stroke="white" stroke-width="1.5" d="M0,-3.0v7 M-2.5,-0.5L0,-3.0L2.5,-0.5"/>
|
||||
</g>
|
||||
<g id="arrowDown" transform="rotate(180) translate(-30 -48)">
|
||||
<use xlink:href="#rim"/>
|
||||
<path pointer-events="none" fill="none" stroke="white" stroke-width="1.5" d="M0,-3.0v7 M-2.5,-0.5L0,-3.0L2.5,-0.5"/>
|
||||
</g>
|
||||
<g id="arrowLeft" transform="rotate(270) translate(-36 17)">
|
||||
<use xlink:href="#rim"/>
|
||||
<path pointer-events="none" fill="none" stroke="white" stroke-width="1.5" d="M0,-3.0v7 M-2.5,-0.5L0,-3.0L2.5,-0.5"/>
|
||||
</g>
|
||||
<g id="resetDef">
|
||||
<use xlink:href="#rim2" fill="#404040"><set attributeName="fill" to="#808080" begin="reset.mouseover" end="reset.mouseout"/></use>
|
||||
</g>
|
||||
</defs>
|
||||
<script type="application/ecmascript">
|
||||
var viewWidth = 609;
|
||||
var viewHeight = 57;
|
||||
var sectionId = 'dynsection-5';
|
||||
</script>
|
||||
<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)">
|
||||
<g id="viewport">
|
||||
<title>range_queries::perSegTree::query</title>
|
||||
<!-- Node1 -->
|
||||
<g id="Node000001" class="node">
|
||||
@@ -29,9 +66,9 @@
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node1 -->
|
||||
<g id="edge3_Node000001_Node000001" class="edge">
|
||||
<g id="edge4_Node000001_Node000001" class="edge">
|
||||
<title>Node1->Node1</title>
|
||||
<g id="a_edge3_Node000001_Node000001"><a xlink:title=" ">
|
||||
<g id="a_edge4_Node000001_Node000001"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M36.55,-30.99C30.44,-40.06 40.42,-48.5 66.5,-48.5 80.76,-48.5 90.21,-45.97 94.84,-42.2"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="98.28,-42.88 96.23,-32.48 91.35,-41.89 98.28,-42.88"/>
|
||||
</a>
|
||||
@@ -75,8 +112,47 @@
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node4 -->
|
||||
<g id="Node000004" class="node">
|
||||
<title>Node4</title>
|
||||
<g id="a_Node000004"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/memory/shared_ptr/make_shared.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="601,-24.88 507,-24.88 507,-5.63 601,-5.63 601,-24.88"/>
|
||||
<text text-anchor="middle" x="554" y="-11.38" font-family="Helvetica,sans-Serif" font-size="10.00">std::make_shared</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node3->Node4 -->
|
||||
<g id="edge3_Node000003_Node000004" class="edge">
|
||||
<title>Node3->Node4</title>
|
||||
<g id="a_edge3_Node000003_Node000004"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M471.48,-15.25C479.52,-15.25 487.69,-15.25 495.59,-15.25"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="495.42,-18.75 505.42,-15.25 495.42,-11.75 495.42,-18.75"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
||||
<g id="navigator" transform="translate(0 0)" fill="#404254">
|
||||
<rect fill="#f2f5e9" fill-opacity="0.5" stroke="#606060" stroke-width=".5" x="0" y="0" width="60" height="60"/>
|
||||
<use id="zoomplus" xlink:href="#zoomPlus" x="17" y="9" onmousedown="handleZoom(evt,'in')"/>
|
||||
<use id="zoomminus" xlink:href="#zoomMin" x="42" y="9" onmousedown="handleZoom(evt,'out')"/>
|
||||
<use id="reset" xlink:href="#resetDef" x="30" y="36" onmousedown="handleReset()"/>
|
||||
<use id="arrowup" xlink:href="#arrowUp" x="0" y="0" onmousedown="handlePan(0,-1)"/>
|
||||
<use id="arrowright" xlink:href="#arrowRight" x="0" y="0" onmousedown="handlePan(1,0)"/>
|
||||
<use id="arrowdown" xlink:href="#arrowDown" x="0" y="0" onmousedown="handlePan(0,1)"/>
|
||||
<use id="arrowleft" xlink:href="#arrowLeft" x="0" y="0" onmousedown="handlePan(-1,0)"/>
|
||||
</g>
|
||||
<svg viewBox="0 0 15 15" width="100%" height="30px" preserveAspectRatio="xMaxYMin meet">
|
||||
<g id="arrow_out" transform="scale(0.3 0.3)">
|
||||
<a xlink:href="classrange__queries_1_1per_seg_tree_ae8ae4b1835e5e8aec32f68c5059ed4d4_cgraph_org.svg" target="_base">
|
||||
<rect id="button" ry="5" rx="5" y="6" x="6" height="38" width="38"
|
||||
fill="#f2f5e9" fill-opacity="0.5" stroke="#606060" stroke-width="1.0"/>
|
||||
<path id="arrow"
|
||||
d="M 11.500037,31.436501 C 11.940474,20.09759 22.043105,11.32322 32.158766,21.979434 L 37.068811,17.246167 C 37.068811,17.246167 37.088388,32 37.088388,32 L 22.160133,31.978069 C 22.160133,31.978069 26.997745,27.140456 26.997745,27.140456 C 18.528582,18.264221 13.291696,25.230495 11.500037,31.436501 z"
|
||||
style="fill:#404040;"/>
|
||||
</a>
|
||||
</g>
|
||||
</svg>
|
||||
|
||||
<style type='text/css'>
|
||||
|
||||
|
Before Width: | Height: | Size: 4.3 KiB After Width: | Height: | Size: 8.2 KiB |
@@ -1,11 +1,11 @@
|
||||
<?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 9.0.0 (20230911.1827)
|
||||
<!-- Generated by graphviz version 12.1.0 (20240811.2233)
|
||||
-->
|
||||
<!-- Title: range_queries::perSegTree::query Pages: 1 -->
|
||||
<svg width="479pt" height="57pt"
|
||||
viewBox="0.00 0.00 479.00 56.50" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<svg width="609pt" height="57pt"
|
||||
viewBox="0.00 0.00 609.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>range_queries::perSegTree::query</title>
|
||||
<!-- Node1 -->
|
||||
@@ -19,9 +19,9 @@
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node1 -->
|
||||
<g id="edge3_Node000001_Node000001" class="edge">
|
||||
<g id="edge4_Node000001_Node000001" class="edge">
|
||||
<title>Node1->Node1</title>
|
||||
<g id="a_edge3_Node000001_Node000001"><a xlink:title=" ">
|
||||
<g id="a_edge4_Node000001_Node000001"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M36.55,-30.99C30.44,-40.06 40.42,-48.5 66.5,-48.5 80.76,-48.5 90.21,-45.97 94.84,-42.2"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="98.28,-42.88 96.23,-32.48 91.35,-41.89 98.28,-42.88"/>
|
||||
</a>
|
||||
@@ -65,5 +65,23 @@
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node4 -->
|
||||
<g id="Node000004" class="node">
|
||||
<title>Node4</title>
|
||||
<g id="a_Node000004"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/memory/shared_ptr/make_shared.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="601,-24.88 507,-24.88 507,-5.63 601,-5.63 601,-24.88"/>
|
||||
<text text-anchor="middle" x="554" y="-11.38" font-family="Helvetica,sans-Serif" font-size="10.00">std::make_shared</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node3->Node4 -->
|
||||
<g id="edge3_Node000003_Node000004" class="edge">
|
||||
<title>Node3->Node4</title>
|
||||
<g id="a_edge3_Node000003_Node000004"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M471.48,-15.25C479.52,-15.25 487.69,-15.25 495.59,-15.25"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="495.42,-18.75 505.42,-15.25 495.42,-11.75 495.42,-18.75"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
||||
|
Before Width: | Height: | Size: 3.5 KiB After Width: | Height: | Size: 4.4 KiB |
@@ -1,15 +1,18 @@
|
||||
<map id="range_queries::perSegTree::update" name="range_queries::perSegTree::update">
|
||||
<area shape="rect" id="Node000001" title="Doing range update by passing the left and right indexes of the range as well as the value to be adde..." alt="" coords="5,47,183,88"/>
|
||||
<area shape="rect" id="Node000002" 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="242,5,397,31"/>
|
||||
<area shape="rect" id="Node000002" 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="242,5,396,31"/>
|
||||
<area shape="poly" id="edge1_Node000001_Node000002" title=" " alt="" coords="182,46,242,32,243,37,183,51"/>
|
||||
<area shape="rect" id="Node000003" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/vector/size.html#" title=" " alt="" coords="262,55,377,80"/>
|
||||
<area shape="poly" id="edge2_Node000001_Node000003" title=" " alt="" coords="183,65,246,65,246,70,183,70"/>
|
||||
<area shape="rect" id="Node000004" href="$d8/d28/classrange__queries_1_1per_seg_tree.html#a24487eda25123bc4d112e8430821a6c6" title="Doing range update, checking at every node if it has some value to be propagated. All nodes affected ..." alt="" coords="231,129,408,169"/>
|
||||
<area shape="rect" id="Node000004" href="$d8/d28/classrange__queries_1_1per_seg_tree.html#a24487eda25123bc4d112e8430821a6c6" title="Doing range update, checking at every node if it has some value to be propagated. All nodes affected ..." alt="" coords="231,128,408,169"/>
|
||||
<area shape="poly" id="edge3_Node000001_Node000004" title=" " alt="" coords="154,86,248,120,246,125,152,91"/>
|
||||
<area shape="poly" id="edge7_Node000004_Node000004" title=" " alt="" coords="277,128,275,119,282,109,297,104,319,102,344,104,358,110,356,115,342,109,319,107,298,109,285,114,280,120,282,127"/>
|
||||
<area shape="rect" id="Node000005" href="$d8/d28/classrange__queries_1_1per_seg_tree.html#ace7f57935b3bb9446f11c239fd89ae79" title="If there is some value to be propagated to the passed node, value is added to the node and the childr..." alt="" coords="456,99,633,140"/>
|
||||
<area shape="poly" id="edge4_Node000004_Node000005" title=" " alt="" coords="408,135,440,130,441,136,408,140"/>
|
||||
<area shape="rect" id="Node000006" href="$d8/d28/classrange__queries_1_1per_seg_tree.html#a0cec4b77d264521717cf9b0482c45817" title="Creating a new node with the same values of curr node." alt="" coords="681,129,859,169"/>
|
||||
<area shape="poly" id="edge6_Node000004_Node000006" title=" " alt="" coords="408,148,456,149,633,149,666,148,666,154,633,154,456,154,408,153"/>
|
||||
<area shape="poly" id="edge5_Node000005_Node000006" title=" " alt="" coords="634,128,666,133,665,138,633,134"/>
|
||||
<area shape="poly" id="edge9_Node000004_Node000004" title=" " alt="" coords="277,128,275,119,282,109,297,104,319,102,344,104,358,110,356,115,342,109,319,107,298,109,285,114,280,120,282,127"/>
|
||||
<area shape="rect" id="Node000005" href="$d8/d28/classrange__queries_1_1per_seg_tree.html#ace7f57935b3bb9446f11c239fd89ae79" title="If there is some value to be propagated to the passed node, value is added to the node and the childr..." alt="" coords="456,71,633,112"/>
|
||||
<area shape="poly" id="edge4_Node000004_Node000005" title=" " alt="" coords="401,125,447,114,448,119,402,131"/>
|
||||
<area shape="rect" id="Node000006" href="$d8/d28/classrange__queries_1_1per_seg_tree.html#a0cec4b77d264521717cf9b0482c45817" title="Creating a new node with the same values of curr node." alt="" coords="681,122,859,162"/>
|
||||
<area shape="poly" id="edge8_Node000004_Node000006" title=" " alt="" coords="409,145,666,141,666,146,409,150"/>
|
||||
<area shape="rect" id="Node000007" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/memory/shared_ptr/make_shared.html#" title=" " alt="" coords="907,159,1032,184"/>
|
||||
<area shape="poly" id="edge7_Node000004_Node000007" title=" " alt="" coords="409,154,537,164,681,172,770,173,859,172,891,171,891,176,859,177,770,178,681,177,537,169,408,159"/>
|
||||
<area shape="poly" id="edge5_Node000005_Node000006" title=" " alt="" coords="634,109,667,116,665,121,633,114"/>
|
||||
<area shape="poly" id="edge6_Node000006_Node000007" title=" " alt="" coords="860,153,892,157,891,163,859,158"/>
|
||||
</map>
|
||||
|
||||
@@ -1 +1 @@
|
||||
cb6ff7d8ad587c855e5fa1152def7d89
|
||||
f277e769f847dc8fc67d8364c3c69894
|
||||
@@ -1,12 +1,13 @@
|
||||
<?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 9.0.0 (20230911.1827)
|
||||
<!-- Generated by graphviz version 12.1.0 (20240811.2233)
|
||||
-->
|
||||
<!-- Title: range_queries::perSegTree::update Pages: 1 -->
|
||||
<!--zoomable 131 -->
|
||||
<!--zoomable 142 -->
|
||||
|
||||
<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;}
|
||||
@@ -46,9 +47,9 @@
|
||||
</g>
|
||||
</defs>
|
||||
<script type="application/ecmascript">
|
||||
var viewWidth = 648;
|
||||
var viewHeight = 131;
|
||||
var sectionId = 'dynsection-8';
|
||||
var viewWidth = 778;
|
||||
var viewHeight = 142;
|
||||
var sectionId = 'dynsection-9';
|
||||
</script>
|
||||
<script type="application/ecmascript" xlink:href="../../svg.min.js"/>
|
||||
<svg id="graph" class="graph">
|
||||
@@ -58,9 +59,9 @@ var sectionId = 'dynsection-8';
|
||||
<g id="Node000001" class="node">
|
||||
<title>Node1</title>
|
||||
<g id="a_Node000001"><a xlink:title="Doing range update by passing the left and right indexes of the range as well as the value to be adde...">
|
||||
<polygon fill="#999999" stroke="#666666" points="133,-91.5 0,-91.5 0,-61 133,-61 133,-91.5"/>
|
||||
<text text-anchor="start" x="8" y="-78" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::perSegTree</text>
|
||||
<text text-anchor="middle" x="66.5" y="-66.75" font-family="Helvetica,sans-Serif" font-size="10.00">::update</text>
|
||||
<polygon fill="#999999" stroke="#666666" points="133,-102.88 0,-102.88 0,-72.38 133,-72.38 133,-102.88"/>
|
||||
<text text-anchor="start" x="8" y="-89.38" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::perSegTree</text>
|
||||
<text text-anchor="middle" x="66.5" y="-78.12" font-family="Helvetica,sans-Serif" font-size="10.00">::update</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
@@ -68,8 +69,8 @@ var sectionId = 'dynsection-8';
|
||||
<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/push_back.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="293.38,-122.88 177.62,-122.88 177.62,-103.62 293.38,-103.62 293.38,-122.88"/>
|
||||
<text text-anchor="middle" x="235.5" y="-109.38" font-family="Helvetica,sans-Serif" font-size="10.00">std::vector::push_back</text>
|
||||
<polygon fill="white" stroke="#666666" points="293.38,-134.25 177.62,-134.25 177.62,-115 293.38,-115 293.38,-134.25"/>
|
||||
<text text-anchor="middle" x="235.5" y="-120.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::vector::push_back</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
@@ -77,8 +78,8 @@ var sectionId = 'dynsection-8';
|
||||
<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="M133.02,-90.77C147.95,-94.07 163.68,-97.56 178.19,-100.77"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="177.01,-104.1 187.53,-102.84 178.52,-97.26 177.01,-104.1"/>
|
||||
<path fill="none" stroke="#63b8ff" d="M133.02,-102.14C147.95,-105.45 163.68,-108.94 178.19,-112.15"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="177.01,-115.47 187.53,-114.22 178.52,-108.64 177.01,-115.47"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
@@ -86,8 +87,8 @@ var sectionId = 'dynsection-8';
|
||||
<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/size.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="278.75,-85.88 192.25,-85.88 192.25,-66.62 278.75,-66.62 278.75,-85.88"/>
|
||||
<text text-anchor="middle" x="235.5" y="-72.38" font-family="Helvetica,sans-Serif" font-size="10.00">std::vector::size</text>
|
||||
<polygon fill="white" stroke="#666666" points="278.75,-97.25 192.25,-97.25 192.25,-78 278.75,-78 278.75,-97.25"/>
|
||||
<text text-anchor="middle" x="235.5" y="-83.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::vector::size</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
@@ -95,8 +96,8 @@ var sectionId = 'dynsection-8';
|
||||
<g id="edge2_Node000001_Node000003" class="edge">
|
||||
<title>Node1->Node3</title>
|
||||
<g id="a_edge2_Node000001_Node000003"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M133.02,-76.25C148.75,-76.25 165.37,-76.25 180.51,-76.25"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="180.24,-79.75 190.24,-76.25 180.24,-72.75 180.24,-79.75"/>
|
||||
<path fill="none" stroke="#63b8ff" d="M133.02,-87.62C148.75,-87.62 165.37,-87.62 180.51,-87.62"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="180.24,-91.13 190.24,-87.63 180.24,-84.13 180.24,-91.13"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
@@ -104,9 +105,9 @@ var sectionId = 'dynsection-8';
|
||||
<g id="Node000004" class="node">
|
||||
<title>Node4</title>
|
||||
<g id="a_Node000004"><a xlink:href="../../d8/d28/classrange__queries_1_1per_seg_tree.html#a24487eda25123bc4d112e8430821a6c6" target="_top" xlink:title="Doing range update, checking at every node if it has some value to be propagated. All nodes affected ...">
|
||||
<polygon fill="white" stroke="#666666" points="302,-30.5 169,-30.5 169,0 302,0 302,-30.5"/>
|
||||
<text text-anchor="start" x="177" y="-17" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::perSegTree</text>
|
||||
<text text-anchor="middle" x="235.5" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">::update</text>
|
||||
<polygon fill="white" stroke="#666666" points="302,-41.88 169,-41.88 169,-11.37 302,-11.37 302,-41.88"/>
|
||||
<text text-anchor="start" x="177" y="-28.38" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::perSegTree</text>
|
||||
<text text-anchor="middle" x="235.5" y="-17.12" font-family="Helvetica,sans-Serif" font-size="10.00">::update</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
@@ -114,17 +115,17 @@ var sectionId = 'dynsection-8';
|
||||
<g id="edge3_Node000001_Node000004" class="edge">
|
||||
<title>Node1->Node4</title>
|
||||
<g id="a_edge3_Node000001_Node000004"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M110.51,-60.54C132.03,-52.68 158.29,-43.09 181.1,-34.76"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="182.03,-38.14 190.22,-31.43 179.62,-31.57 182.03,-38.14"/>
|
||||
<path fill="none" stroke="#63b8ff" d="M110.51,-71.92C132.03,-64.05 158.29,-54.46 181.1,-46.13"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="182.03,-49.52 190.22,-42.8 179.62,-42.94 182.03,-49.52"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node4->Node4 -->
|
||||
<g id="edge7_Node000004_Node000004" class="edge">
|
||||
<g id="edge9_Node000004_Node000004" class="edge">
|
||||
<title>Node4->Node4</title>
|
||||
<g id="a_edge7_Node000004_Node000004"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M205.55,-30.99C199.44,-40.06 209.42,-48.5 235.5,-48.5 249.76,-48.5 259.21,-45.97 263.84,-42.2"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="267.28,-42.88 265.23,-32.48 260.35,-41.89 267.28,-42.88"/>
|
||||
<g id="a_edge9_Node000004_Node000004"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M205.55,-42.36C199.44,-51.43 209.42,-59.88 235.5,-59.88 249.76,-59.88 259.21,-57.35 263.84,-53.58"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="267.28,-54.25 265.23,-43.86 260.35,-53.26 267.28,-54.25"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
@@ -132,9 +133,9 @@ var sectionId = 'dynsection-8';
|
||||
<g id="Node000005" class="node">
|
||||
<title>Node5</title>
|
||||
<g id="a_Node000005"><a xlink:href="../../d8/d28/classrange__queries_1_1per_seg_tree.html#ace7f57935b3bb9446f11c239fd89ae79" target="_top" xlink:title="If there is some value to be propagated to the passed node, value is added to the node and the childr...">
|
||||
<polygon fill="white" stroke="#666666" points="471,-52.5 338,-52.5 338,-22 471,-22 471,-52.5"/>
|
||||
<text text-anchor="start" x="346" y="-39" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::perSegTree</text>
|
||||
<text text-anchor="middle" x="404.5" y="-27.75" font-family="Helvetica,sans-Serif" font-size="10.00">::lazy</text>
|
||||
<polygon fill="white" stroke="#666666" points="471,-84.88 338,-84.88 338,-54.38 471,-54.38 471,-84.88"/>
|
||||
<text text-anchor="start" x="346" y="-71.38" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::perSegTree</text>
|
||||
<text text-anchor="middle" x="404.5" y="-60.12" font-family="Helvetica,sans-Serif" font-size="10.00">::lazy</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
@@ -142,8 +143,8 @@ var sectionId = 'dynsection-8';
|
||||
<g id="edge4_Node000004_Node000005" class="edge">
|
||||
<title>Node4->Node5</title>
|
||||
<g id="a_edge4_Node000004_Node000005"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M302.02,-23.88C309.97,-24.93 318.15,-26.01 326.25,-27.07"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="325.74,-30.54 336.12,-28.37 326.66,-23.6 325.74,-30.54"/>
|
||||
<path fill="none" stroke="#63b8ff" d="M297.26,-42.27C308.43,-45.15 320.18,-48.17 331.64,-51.12"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="330.48,-54.44 341.04,-53.54 332.23,-47.66 330.48,-54.44"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
@@ -151,18 +152,36 @@ var sectionId = 'dynsection-8';
|
||||
<g id="Node000006" class="node">
|
||||
<title>Node6</title>
|
||||
<g id="a_Node000006"><a xlink:href="../../d8/d28/classrange__queries_1_1per_seg_tree.html#a0cec4b77d264521717cf9b0482c45817" target="_top" xlink:title="Creating a new node with the same values of curr node.">
|
||||
<polygon fill="white" stroke="#666666" points="640,-30.5 507,-30.5 507,0 640,0 640,-30.5"/>
|
||||
<text text-anchor="start" x="515" y="-17" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::perSegTree</text>
|
||||
<text text-anchor="middle" x="573.5" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">::newKid</text>
|
||||
<polygon fill="white" stroke="#666666" points="640,-46.88 507,-46.88 507,-16.38 640,-16.38 640,-46.88"/>
|
||||
<text text-anchor="start" x="515" y="-33.38" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::perSegTree</text>
|
||||
<text text-anchor="middle" x="573.5" y="-22.12" font-family="Helvetica,sans-Serif" font-size="10.00">::newKid</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node4->Node6 -->
|
||||
<g id="edge6_Node000004_Node000006" class="edge">
|
||||
<g id="edge8_Node000004_Node000006" class="edge">
|
||||
<title>Node4->Node6</title>
|
||||
<g id="a_edge6_Node000004_Node000006"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M302.29,-13.76C314.18,-13.55 326.46,-13.36 338,-13.25 397.11,-12.67 411.89,-12.67 471,-13.25 478.85,-13.33 487.03,-13.44 495.2,-13.57"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="495.14,-17.07 505.2,-13.74 495.26,-10.07 495.14,-17.07"/>
|
||||
<g id="a_edge8_Node000004_Node000006"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M302.48,-27.61C357.85,-28.43 437,-29.61 495.3,-30.48"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="495.1,-33.97 505.16,-30.62 495.21,-26.97 495.1,-33.97"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node7 -->
|
||||
<g id="Node000007" class="node">
|
||||
<title>Node7</title>
|
||||
<g id="a_Node000007"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/memory/shared_ptr/make_shared.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="770,-19.25 676,-19.25 676,0 770,0 770,-19.25"/>
|
||||
<text text-anchor="middle" x="723" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::make_shared</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node4->Node7 -->
|
||||
<g id="edge7_Node000004_Node000007" class="edge">
|
||||
<title>Node4->Node7</title>
|
||||
<g id="a_edge7_Node000004_Node000007"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M302.3,-20.71C357.03,-16.1 437.02,-10.08 507,-7.62 566.07,-5.55 580.89,-6.9 640,-7.62 647.84,-7.72 656.1,-7.87 664.24,-8.04"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="664.01,-11.54 674.09,-8.26 664.17,-4.54 664.01,-11.54"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
@@ -170,8 +189,17 @@ var sectionId = 'dynsection-8';
|
||||
<g id="edge5_Node000005_Node000006" class="edge">
|
||||
<title>Node5->Node6</title>
|
||||
<g id="a_edge5_Node000005_Node000006"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M471.02,-28.62C478.97,-27.57 487.15,-26.49 495.25,-25.43"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="495.66,-28.9 505.12,-24.13 494.74,-21.96 495.66,-28.9"/>
|
||||
<path fill="none" stroke="#63b8ff" d="M471.02,-54.72C479.06,-52.89 487.34,-51 495.53,-49.14"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="496.17,-52.58 505.14,-46.95 494.61,-45.76 496.17,-52.58"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node6->Node7 -->
|
||||
<g id="edge6_Node000006_Node000007" class="edge">
|
||||
<title>Node6->Node7</title>
|
||||
<g id="a_edge6_Node000006_Node000007"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M640.48,-21.78C648.52,-20.58 656.69,-19.37 664.59,-18.19"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="665.06,-21.66 674.43,-16.72 664.03,-14.73 665.06,-21.66"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
|
||||
|
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 12 KiB |
@@ -1,20 +1,20 @@
|
||||
<?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 9.0.0 (20230911.1827)
|
||||
<!-- Generated by graphviz version 12.1.0 (20240811.2233)
|
||||
-->
|
||||
<!-- Title: range_queries::perSegTree::update Pages: 1 -->
|
||||
<svg width="648pt" height="131pt"
|
||||
viewBox="0.00 0.00 648.00 130.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 126.88)">
|
||||
<svg width="778pt" height="142pt"
|
||||
viewBox="0.00 0.00 778.00 142.25" 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 138.25)">
|
||||
<title>range_queries::perSegTree::update</title>
|
||||
<!-- Node1 -->
|
||||
<g id="Node000001" class="node">
|
||||
<title>Node1</title>
|
||||
<g id="a_Node000001"><a xlink:title="Doing range update by passing the left and right indexes of the range as well as the value to be adde...">
|
||||
<polygon fill="#999999" stroke="#666666" points="133,-91.5 0,-91.5 0,-61 133,-61 133,-91.5"/>
|
||||
<text text-anchor="start" x="8" y="-78" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::perSegTree</text>
|
||||
<text text-anchor="middle" x="66.5" y="-66.75" font-family="Helvetica,sans-Serif" font-size="10.00">::update</text>
|
||||
<polygon fill="#999999" stroke="#666666" points="133,-102.88 0,-102.88 0,-72.38 133,-72.38 133,-102.88"/>
|
||||
<text text-anchor="start" x="8" y="-89.38" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::perSegTree</text>
|
||||
<text text-anchor="middle" x="66.5" y="-78.12" font-family="Helvetica,sans-Serif" font-size="10.00">::update</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
@@ -22,8 +22,8 @@
|
||||
<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/push_back.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="293.38,-122.88 177.62,-122.88 177.62,-103.62 293.38,-103.62 293.38,-122.88"/>
|
||||
<text text-anchor="middle" x="235.5" y="-109.38" font-family="Helvetica,sans-Serif" font-size="10.00">std::vector::push_back</text>
|
||||
<polygon fill="white" stroke="#666666" points="293.38,-134.25 177.62,-134.25 177.62,-115 293.38,-115 293.38,-134.25"/>
|
||||
<text text-anchor="middle" x="235.5" y="-120.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::vector::push_back</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
@@ -31,8 +31,8 @@
|
||||
<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="M133.02,-90.77C147.95,-94.07 163.68,-97.56 178.19,-100.77"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="177.01,-104.1 187.53,-102.84 178.52,-97.26 177.01,-104.1"/>
|
||||
<path fill="none" stroke="#63b8ff" d="M133.02,-102.14C147.95,-105.45 163.68,-108.94 178.19,-112.15"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="177.01,-115.47 187.53,-114.22 178.52,-108.64 177.01,-115.47"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
@@ -40,8 +40,8 @@
|
||||
<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/size.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="278.75,-85.88 192.25,-85.88 192.25,-66.62 278.75,-66.62 278.75,-85.88"/>
|
||||
<text text-anchor="middle" x="235.5" y="-72.38" font-family="Helvetica,sans-Serif" font-size="10.00">std::vector::size</text>
|
||||
<polygon fill="white" stroke="#666666" points="278.75,-97.25 192.25,-97.25 192.25,-78 278.75,-78 278.75,-97.25"/>
|
||||
<text text-anchor="middle" x="235.5" y="-83.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::vector::size</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
@@ -49,8 +49,8 @@
|
||||
<g id="edge2_Node000001_Node000003" class="edge">
|
||||
<title>Node1->Node3</title>
|
||||
<g id="a_edge2_Node000001_Node000003"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M133.02,-76.25C148.75,-76.25 165.37,-76.25 180.51,-76.25"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="180.24,-79.75 190.24,-76.25 180.24,-72.75 180.24,-79.75"/>
|
||||
<path fill="none" stroke="#63b8ff" d="M133.02,-87.62C148.75,-87.62 165.37,-87.62 180.51,-87.62"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="180.24,-91.13 190.24,-87.63 180.24,-84.13 180.24,-91.13"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
@@ -58,9 +58,9 @@
|
||||
<g id="Node000004" class="node">
|
||||
<title>Node4</title>
|
||||
<g id="a_Node000004"><a xlink:href="../../d8/d28/classrange__queries_1_1per_seg_tree.html#a24487eda25123bc4d112e8430821a6c6" target="_top" xlink:title="Doing range update, checking at every node if it has some value to be propagated. All nodes affected ...">
|
||||
<polygon fill="white" stroke="#666666" points="302,-30.5 169,-30.5 169,0 302,0 302,-30.5"/>
|
||||
<text text-anchor="start" x="177" y="-17" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::perSegTree</text>
|
||||
<text text-anchor="middle" x="235.5" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">::update</text>
|
||||
<polygon fill="white" stroke="#666666" points="302,-41.88 169,-41.88 169,-11.37 302,-11.37 302,-41.88"/>
|
||||
<text text-anchor="start" x="177" y="-28.38" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::perSegTree</text>
|
||||
<text text-anchor="middle" x="235.5" y="-17.12" font-family="Helvetica,sans-Serif" font-size="10.00">::update</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
@@ -68,17 +68,17 @@
|
||||
<g id="edge3_Node000001_Node000004" class="edge">
|
||||
<title>Node1->Node4</title>
|
||||
<g id="a_edge3_Node000001_Node000004"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M110.51,-60.54C132.03,-52.68 158.29,-43.09 181.1,-34.76"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="182.03,-38.14 190.22,-31.43 179.62,-31.57 182.03,-38.14"/>
|
||||
<path fill="none" stroke="#63b8ff" d="M110.51,-71.92C132.03,-64.05 158.29,-54.46 181.1,-46.13"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="182.03,-49.52 190.22,-42.8 179.62,-42.94 182.03,-49.52"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node4->Node4 -->
|
||||
<g id="edge7_Node000004_Node000004" class="edge">
|
||||
<g id="edge9_Node000004_Node000004" class="edge">
|
||||
<title>Node4->Node4</title>
|
||||
<g id="a_edge7_Node000004_Node000004"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M205.55,-30.99C199.44,-40.06 209.42,-48.5 235.5,-48.5 249.76,-48.5 259.21,-45.97 263.84,-42.2"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="267.28,-42.88 265.23,-32.48 260.35,-41.89 267.28,-42.88"/>
|
||||
<g id="a_edge9_Node000004_Node000004"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M205.55,-42.36C199.44,-51.43 209.42,-59.88 235.5,-59.88 249.76,-59.88 259.21,-57.35 263.84,-53.58"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="267.28,-54.25 265.23,-43.86 260.35,-53.26 267.28,-54.25"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
@@ -86,9 +86,9 @@
|
||||
<g id="Node000005" class="node">
|
||||
<title>Node5</title>
|
||||
<g id="a_Node000005"><a xlink:href="../../d8/d28/classrange__queries_1_1per_seg_tree.html#ace7f57935b3bb9446f11c239fd89ae79" target="_top" xlink:title="If there is some value to be propagated to the passed node, value is added to the node and the childr...">
|
||||
<polygon fill="white" stroke="#666666" points="471,-52.5 338,-52.5 338,-22 471,-22 471,-52.5"/>
|
||||
<text text-anchor="start" x="346" y="-39" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::perSegTree</text>
|
||||
<text text-anchor="middle" x="404.5" y="-27.75" font-family="Helvetica,sans-Serif" font-size="10.00">::lazy</text>
|
||||
<polygon fill="white" stroke="#666666" points="471,-84.88 338,-84.88 338,-54.38 471,-54.38 471,-84.88"/>
|
||||
<text text-anchor="start" x="346" y="-71.38" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::perSegTree</text>
|
||||
<text text-anchor="middle" x="404.5" y="-60.12" font-family="Helvetica,sans-Serif" font-size="10.00">::lazy</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
@@ -96,8 +96,8 @@
|
||||
<g id="edge4_Node000004_Node000005" class="edge">
|
||||
<title>Node4->Node5</title>
|
||||
<g id="a_edge4_Node000004_Node000005"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M302.02,-23.88C309.97,-24.93 318.15,-26.01 326.25,-27.07"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="325.74,-30.54 336.12,-28.37 326.66,-23.6 325.74,-30.54"/>
|
||||
<path fill="none" stroke="#63b8ff" d="M297.26,-42.27C308.43,-45.15 320.18,-48.17 331.64,-51.12"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="330.48,-54.44 341.04,-53.54 332.23,-47.66 330.48,-54.44"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
@@ -105,18 +105,36 @@
|
||||
<g id="Node000006" class="node">
|
||||
<title>Node6</title>
|
||||
<g id="a_Node000006"><a xlink:href="../../d8/d28/classrange__queries_1_1per_seg_tree.html#a0cec4b77d264521717cf9b0482c45817" target="_top" xlink:title="Creating a new node with the same values of curr node.">
|
||||
<polygon fill="white" stroke="#666666" points="640,-30.5 507,-30.5 507,0 640,0 640,-30.5"/>
|
||||
<text text-anchor="start" x="515" y="-17" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::perSegTree</text>
|
||||
<text text-anchor="middle" x="573.5" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">::newKid</text>
|
||||
<polygon fill="white" stroke="#666666" points="640,-46.88 507,-46.88 507,-16.38 640,-16.38 640,-46.88"/>
|
||||
<text text-anchor="start" x="515" y="-33.38" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::perSegTree</text>
|
||||
<text text-anchor="middle" x="573.5" y="-22.12" font-family="Helvetica,sans-Serif" font-size="10.00">::newKid</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node4->Node6 -->
|
||||
<g id="edge6_Node000004_Node000006" class="edge">
|
||||
<g id="edge8_Node000004_Node000006" class="edge">
|
||||
<title>Node4->Node6</title>
|
||||
<g id="a_edge6_Node000004_Node000006"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M302.29,-13.76C314.18,-13.55 326.46,-13.36 338,-13.25 397.11,-12.67 411.89,-12.67 471,-13.25 478.85,-13.33 487.03,-13.44 495.2,-13.57"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="495.14,-17.07 505.2,-13.74 495.26,-10.07 495.14,-17.07"/>
|
||||
<g id="a_edge8_Node000004_Node000006"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M302.48,-27.61C357.85,-28.43 437,-29.61 495.3,-30.48"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="495.1,-33.97 505.16,-30.62 495.21,-26.97 495.1,-33.97"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node7 -->
|
||||
<g id="Node000007" class="node">
|
||||
<title>Node7</title>
|
||||
<g id="a_Node000007"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/memory/shared_ptr/make_shared.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="770,-19.25 676,-19.25 676,0 770,0 770,-19.25"/>
|
||||
<text text-anchor="middle" x="723" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::make_shared</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node4->Node7 -->
|
||||
<g id="edge7_Node000004_Node000007" class="edge">
|
||||
<title>Node4->Node7</title>
|
||||
<g id="a_edge7_Node000004_Node000007"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M302.3,-20.71C357.03,-16.1 437.02,-10.08 507,-7.62 566.07,-5.55 580.89,-6.9 640,-7.62 647.84,-7.72 656.1,-7.87 664.24,-8.04"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="664.01,-11.54 674.09,-8.26 664.17,-4.54 664.01,-11.54"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
@@ -124,8 +142,17 @@
|
||||
<g id="edge5_Node000005_Node000006" class="edge">
|
||||
<title>Node5->Node6</title>
|
||||
<g id="a_edge5_Node000005_Node000006"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M471.02,-28.62C478.97,-27.57 487.15,-26.49 495.25,-25.43"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="495.66,-28.9 505.12,-24.13 494.74,-21.96 495.66,-28.9"/>
|
||||
<path fill="none" stroke="#63b8ff" d="M471.02,-54.72C479.06,-52.89 487.34,-51 495.53,-49.14"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="496.17,-52.58 505.14,-46.95 494.61,-45.76 496.17,-52.58"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node6->Node7 -->
|
||||
<g id="edge6_Node000006_Node000007" class="edge">
|
||||
<title>Node6->Node7</title>
|
||||
<g id="a_edge6_Node000006_Node000007"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M640.48,-21.78C648.52,-20.58 656.69,-19.37 664.59,-18.19"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="665.06,-21.66 674.43,-16.72 664.03,-14.73 665.06,-21.66"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
|
||||
|
Before Width: | Height: | Size: 6.8 KiB After Width: | Height: | Size: 8.0 KiB |
@@ -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.10.0"/>
|
||||
<meta name="generator" content="Doxygen 1.12.0"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>Algorithms_in_C++: a1z26 Namespace Reference</title>
|
||||
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
|
||||
@@ -11,9 +11,9 @@
|
||||
<script type="text/javascript" src="../../dynsections.js"></script>
|
||||
<script type="text/javascript" src="../../clipboard.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>
|
||||
<script type="text/javascript" src="../../resize.js"></script>
|
||||
<script type="text/javascript" src="../../cookie.js"></script>
|
||||
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="../../search/searchdata.js"></script>
|
||||
@@ -43,18 +43,23 @@ MathJax.Hub.Config({
|
||||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.10.0 -->
|
||||
<!-- Generated by Doxygen 1.12.0 -->
|
||||
<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">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
$(function() { codefold.init(1); });
|
||||
/* @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');
|
||||
initMenu('../../',true,false,'search.php','Search',true);
|
||||
$(function() { init_search(); });
|
||||
});
|
||||
/* @license-end */
|
||||
@@ -73,7 +78,7 @@ $(function() {
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
$(function(){initNavTree('d8/d2a/namespacea1z26.html','../../'); initResizable(); });
|
||||
$(function(){initNavTree('d8/d2a/namespacea1z26.html','../../'); initResizable(true); });
|
||||
/* @license-end */
|
||||
</script>
|
||||
<div id="doc-content">
|
||||
@@ -113,7 +118,7 @@ $(function(){initNavTree('d8/d2a/namespacea1z26.html','../../'); initResizable()
|
||||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="../../d8/d2a/namespacea1z26.html">a1z26</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.10.0 </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.12.0 </li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
|
||||
@@ -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.10.0"/>
|
||||
<meta name="generator" content="Doxygen 1.12.0"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>Algorithms_in_C++: cut_rod Namespace Reference</title>
|
||||
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
|
||||
@@ -11,9 +11,9 @@
|
||||
<script type="text/javascript" src="../../dynsections.js"></script>
|
||||
<script type="text/javascript" src="../../clipboard.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>
|
||||
<script type="text/javascript" src="../../resize.js"></script>
|
||||
<script type="text/javascript" src="../../cookie.js"></script>
|
||||
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="../../search/searchdata.js"></script>
|
||||
@@ -43,18 +43,23 @@ MathJax.Hub.Config({
|
||||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.10.0 -->
|
||||
<!-- Generated by Doxygen 1.12.0 -->
|
||||
<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">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
$(function() { codefold.init(1); });
|
||||
/* @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');
|
||||
initMenu('../../',true,false,'search.php','Search',true);
|
||||
$(function() { init_search(); });
|
||||
});
|
||||
/* @license-end */
|
||||
@@ -73,7 +78,7 @@ $(function() {
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
$(function(){initNavTree('d8/d36/namespacecut__rod.html','../../'); initResizable(); });
|
||||
$(function(){initNavTree('d8/d36/namespacecut__rod.html','../../'); initResizable(true); });
|
||||
/* @license-end */
|
||||
</script>
|
||||
<div id="doc-content">
|
||||
@@ -113,7 +118,7 @@ $(function(){initNavTree('d8/d36/namespacecut__rod.html','../../'); initResizabl
|
||||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="../../d8/d36/namespacecut__rod.html">cut_rod</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.10.0 </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.12.0 </li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
|
||||
@@ -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.10.0"/>
|
||||
<meta name="generator" content="Doxygen 1.12.0"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>Algorithms_in_C++: Member List</title>
|
||||
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
|
||||
@@ -11,9 +11,9 @@
|
||||
<script type="text/javascript" src="../../dynsections.js"></script>
|
||||
<script type="text/javascript" src="../../clipboard.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>
|
||||
<script type="text/javascript" src="../../resize.js"></script>
|
||||
<script type="text/javascript" src="../../cookie.js"></script>
|
||||
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="../../search/searchdata.js"></script>
|
||||
@@ -43,18 +43,23 @@ MathJax.Hub.Config({
|
||||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.10.0 -->
|
||||
<!-- Generated by Doxygen 1.12.0 -->
|
||||
<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">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
$(function() { codefold.init(1); });
|
||||
/* @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');
|
||||
initMenu('../../',true,false,'search.php','Search',true);
|
||||
$(function() { init_search(); });
|
||||
});
|
||||
/* @license-end */
|
||||
@@ -73,7 +78,7 @@ $(function() {
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
$(function(){initNavTree('dd/d1b/structquery.html','../../'); initResizable(); });
|
||||
$(function(){initNavTree('dd/d1b/structquery.html','../../'); initResizable(true); });
|
||||
/* @license-end */
|
||||
</script>
|
||||
<div id="doc-content">
|
||||
@@ -113,7 +118,7 @@ $(function(){initNavTree('dd/d1b/structquery.html','../../'); initResizable(); }
|
||||
<!-- start footer part -->
|
||||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
<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.10.0 </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.12.0 </li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<map id="data_structures::BloomFilter< T >" name="data_structures::BloomFilter< T >">
|
||||
<area shape="rect" id="Node000001" title="Bloom filter template class." alt="" coords="135,286,353,312"/>
|
||||
<area shape="rect" id="Node000002" href="$d9/dae/classdata__structures_1_1_bitset.html" title="Simple bitset implementation for bloom filter." alt="" coords="75,190,229,216"/>
|
||||
<area shape="rect" id="Node000001" title="Bloom filter template class." alt="" coords="135,286,352,312"/>
|
||||
<area shape="rect" id="Node000002" href="$d9/dae/classdata__structures_1_1_bitset.html" title="Simple bitset implementation for bloom filter." alt="" coords="75,190,228,216"/>
|
||||
<area shape="poly" id="edge1_Node000001_Node000002" title=" " alt="" coords="176,225,234,284,230,288,172,229"/>
|
||||
<area shape="rect" id="Node000003" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/vector.html" title=" " alt="" coords="110,94,279,120"/>
|
||||
<area shape="poly" id="edge2_Node000002_Node000003" title=" " alt="" coords="185,135,160,191,155,189,180,133"/>
|
||||
@@ -10,5 +10,5 @@
|
||||
<area shape="rect" id="Node000005" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/vector.html" title=" " alt="" coords="252,183,420,223"/>
|
||||
<area shape="poly" id="edge5_Node000001_Node000005" title=" " alt="" coords="308,236,257,288,253,284,304,233"/>
|
||||
<area shape="rect" id="Node000006" title=" " alt="" coords="317,94,355,120"/>
|
||||
<area shape="poly" id="edge6_Node000005_Node000006" title=" " alt="" coords="339,135,339,182,333,182,333,135"/>
|
||||
<area shape="poly" id="edge6_Node000005_Node000006" title=" " alt="" coords="338,135,338,182,333,182,333,135"/>
|
||||
</map>
|
||||
|
||||
@@ -1,13 +1,14 @@
|
||||
<?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 9.0.0 (20230911.1827)
|
||||
<!-- Generated by graphviz version 12.1.0 (20240811.2233)
|
||||
-->
|
||||
<!-- Title: data_structures::BloomFilter< T > Pages: 1 -->
|
||||
<svg width="319pt" height="238pt"
|
||||
viewBox="0.00 0.00 318.62 238.00" 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)">
|
||||
<svg id="main" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve">
|
||||
|
||||
<style type="text/css"><![CDATA[
|
||||
.node, .edge {opacity: 0.7;}
|
||||
.node.selected, .edge.selected {opacity: 1;}
|
||||
@@ -44,7 +45,7 @@
|
||||
<polygon fill="#9a32cd" stroke="#9a32cd" points="124.19,-61.21 119.68,-70.79 129.18,-66.12 124.19,-61.21"/>
|
||||
</a>
|
||||
</g>
|
||||
<text text-anchor="middle" x="161.12" y="-39" font-family="Helvetica,sans-Serif" font-size="10.00" fill="grey"> set</text>
|
||||
<text text-anchor="middle" x="160.83" y="-39" font-family="Helvetica,sans-Serif" font-size="10.00" fill="grey"> set</text>
|
||||
</g>
|
||||
<!-- Node3 -->
|
||||
<g id="Node000003" class="node">
|
||||
@@ -63,7 +64,7 @@
|
||||
<polygon fill="#9a32cd" stroke="#9a32cd" points="129.86,-134.97 137.19,-142.62 136.23,-132.07 129.86,-134.97"/>
|
||||
</a>
|
||||
</g>
|
||||
<text text-anchor="middle" x="140.75" y="-116.75" font-family="Helvetica,sans-Serif" font-size="10.00" fill="grey"> data</text>
|
||||
<text text-anchor="middle" x="140.56" y="-116.75" font-family="Helvetica,sans-Serif" font-size="10.00" fill="grey"> data</text>
|
||||
</g>
|
||||
<!-- Node4 -->
|
||||
<g id="Node000004" class="node">
|
||||
@@ -82,7 +83,7 @@
|
||||
<polygon fill="#9a32cd" stroke="#9a32cd" points="20.17,-200.65 26.66,-209.02 26.8,-198.43 20.17,-200.65"/>
|
||||
</a>
|
||||
</g>
|
||||
<text text-anchor="middle" x="47.75" y="-150" font-family="Helvetica,sans-Serif" font-size="10.00" fill="grey"> blockSize</text>
|
||||
<text text-anchor="middle" x="47" y="-150" font-family="Helvetica,sans-Serif" font-size="10.00" fill="grey"> blockSize</text>
|
||||
</g>
|
||||
<!-- Node4->Node3 -->
|
||||
<g id="edge3_Node000003_Node000004" class="edge">
|
||||
@@ -92,7 +93,7 @@
|
||||
<polygon fill="#9a32cd" stroke="#9a32cd" points="54.51,-201.6 47.62,-209.65 58.02,-207.65 54.51,-201.6"/>
|
||||
</a>
|
||||
</g>
|
||||
<text text-anchor="middle" x="115.25" y="-183.25" font-family="Helvetica,sans-Serif" font-size="10.00" fill="grey"> elements</text>
|
||||
<text text-anchor="middle" x="114.4" y="-183.25" font-family="Helvetica,sans-Serif" font-size="10.00" fill="grey"> elements</text>
|
||||
</g>
|
||||
<!-- Node5 -->
|
||||
<g id="Node000005" class="node">
|
||||
@@ -112,7 +113,7 @@
|
||||
<polygon fill="#9a32cd" stroke="#9a32cd" points="223.01,-60.47 232.52,-65.14 228,-55.56 223.01,-60.47"/>
|
||||
</a>
|
||||
</g>
|
||||
<text text-anchor="middle" x="241.38" y="-39" font-family="Helvetica,sans-Serif" font-size="10.00" fill="grey"> hashFunks</text>
|
||||
<text text-anchor="middle" x="240.94" y="-39" font-family="Helvetica,sans-Serif" font-size="10.00" fill="grey"> hashFunks</text>
|
||||
</g>
|
||||
<!-- Node6 -->
|
||||
<g id="Node000006" class="node">
|
||||
|
||||
|
Before Width: | Height: | Size: 7.3 KiB After Width: | Height: | Size: 7.2 KiB |
@@ -1,7 +1,7 @@
|
||||
<?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 9.0.0 (20230911.1827)
|
||||
<!-- Generated by graphviz version 12.1.0 (20240811.2233)
|
||||
-->
|
||||
<!-- Title: data_structures::BloomFilter< T > Pages: 1 -->
|
||||
<svg width="319pt" height="238pt"
|
||||
@@ -34,7 +34,7 @@
|
||||
<polygon fill="#9a32cd" stroke="#9a32cd" points="124.19,-61.21 119.68,-70.79 129.18,-66.12 124.19,-61.21"/>
|
||||
</a>
|
||||
</g>
|
||||
<text text-anchor="middle" x="161.12" y="-39" font-family="Helvetica,sans-Serif" font-size="10.00" fill="grey"> set</text>
|
||||
<text text-anchor="middle" x="160.83" y="-39" font-family="Helvetica,sans-Serif" font-size="10.00" fill="grey"> set</text>
|
||||
</g>
|
||||
<!-- Node3 -->
|
||||
<g id="Node000003" class="node">
|
||||
@@ -53,7 +53,7 @@
|
||||
<polygon fill="#9a32cd" stroke="#9a32cd" points="129.86,-134.97 137.19,-142.62 136.23,-132.07 129.86,-134.97"/>
|
||||
</a>
|
||||
</g>
|
||||
<text text-anchor="middle" x="140.75" y="-116.75" font-family="Helvetica,sans-Serif" font-size="10.00" fill="grey"> data</text>
|
||||
<text text-anchor="middle" x="140.56" y="-116.75" font-family="Helvetica,sans-Serif" font-size="10.00" fill="grey"> data</text>
|
||||
</g>
|
||||
<!-- Node4 -->
|
||||
<g id="Node000004" class="node">
|
||||
@@ -72,7 +72,7 @@
|
||||
<polygon fill="#9a32cd" stroke="#9a32cd" points="20.17,-200.65 26.66,-209.02 26.8,-198.43 20.17,-200.65"/>
|
||||
</a>
|
||||
</g>
|
||||
<text text-anchor="middle" x="47.75" y="-150" font-family="Helvetica,sans-Serif" font-size="10.00" fill="grey"> blockSize</text>
|
||||
<text text-anchor="middle" x="47" y="-150" font-family="Helvetica,sans-Serif" font-size="10.00" fill="grey"> blockSize</text>
|
||||
</g>
|
||||
<!-- Node4->Node3 -->
|
||||
<g id="edge3_Node000003_Node000004" class="edge">
|
||||
@@ -82,7 +82,7 @@
|
||||
<polygon fill="#9a32cd" stroke="#9a32cd" points="54.51,-201.6 47.62,-209.65 58.02,-207.65 54.51,-201.6"/>
|
||||
</a>
|
||||
</g>
|
||||
<text text-anchor="middle" x="115.25" y="-183.25" font-family="Helvetica,sans-Serif" font-size="10.00" fill="grey"> elements</text>
|
||||
<text text-anchor="middle" x="114.4" y="-183.25" font-family="Helvetica,sans-Serif" font-size="10.00" fill="grey"> elements</text>
|
||||
</g>
|
||||
<!-- Node5 -->
|
||||
<g id="Node000005" class="node">
|
||||
@@ -102,7 +102,7 @@
|
||||
<polygon fill="#9a32cd" stroke="#9a32cd" points="223.01,-60.47 232.52,-65.14 228,-55.56 223.01,-60.47"/>
|
||||
</a>
|
||||
</g>
|
||||
<text text-anchor="middle" x="241.38" y="-39" font-family="Helvetica,sans-Serif" font-size="10.00" fill="grey"> hashFunks</text>
|
||||
<text text-anchor="middle" x="240.94" y="-39" font-family="Helvetica,sans-Serif" font-size="10.00" fill="grey"> hashFunks</text>
|
||||
</g>
|
||||
<!-- Node6 -->
|
||||
<g id="Node000006" class="node">
|
||||
|
||||
|
Before Width: | Height: | Size: 6.5 KiB After Width: | Height: | Size: 6.5 KiB |
734
d8/d41/namespacegames_1_1memory__game.html
Normal file
@@ -0,0 +1,734 @@
|
||||
<!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.12.0"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>Algorithms_in_C++: games::memory_game Namespace 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>
|
||||
<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>
|
||||
<script type="text/javascript" src="../../navtree.js"></script>
|
||||
<script type="text/javascript" src="../../resize.js"></script>
|
||||
<script type="text/javascript" src="../../cookie.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.12.0 -->
|
||||
<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">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
$(function() { codefold.init(1); });
|
||||
/* @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',true);
|
||||
$(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 */
|
||||
$(function(){initNavTree('d8/d41/namespacegames_1_1memory__game.html','../../'); initResizable(true); });
|
||||
/* @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="#func-members">Functions</a> </div>
|
||||
<div class="headertitle"><div class="title">games::memory_game Namespace Reference</div></div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
|
||||
<p>Functions for the <a href="https://en.wikipedia.org/wiki/Matching_game" target="_blank">Memory Game</a> implementation.
|
||||
<a href="#details">More...</a></p>
|
||||
<table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="func-members" name="func-members"></a>
|
||||
Functions</h2></td></tr>
|
||||
<tr class="memitem:a33167bb9cce6d527b478b4f6ae8c3f59" id="r_a33167bb9cce6d527b478b4f6ae8c3f59"><td class="memTemplParams" colspan="2">template<typename T > </td></tr>
|
||||
<tr class="memitem:a33167bb9cce6d527b478b4f6ae8c3f59"><td class="memTemplItemLeft" align="right" valign="top">bool </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="#a33167bb9cce6d527b478b4f6ae8c3f59">is_number</a> (const T &input)</td></tr>
|
||||
<tr class="memdesc:a33167bb9cce6d527b478b4f6ae8c3f59"><td class="mdescLeft"> </td><td class="mdescRight">Utility function to verify if the given input is a number or not. This is very useful to prevent the program being stuck in a loop. <br /></td></tr>
|
||||
<tr class="separator:a33167bb9cce6d527b478b4f6ae8c3f59"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ad573c8ae66ab66156d03e5e81bbba214" id="r_ad573c8ae66ab66156d03e5e81bbba214"><td class="memTemplParams" colspan="2">template<typename T > </td></tr>
|
||||
<tr class="memitem:ad573c8ae66ab66156d03e5e81bbba214"><td class="memTemplItemLeft" align="right" valign="top">void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="#ad573c8ae66ab66156d03e5e81bbba214">init</a> (<a class="elRef" target="_blank" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector</a>< T > *table)</td></tr>
|
||||
<tr class="memdesc:ad573c8ae66ab66156d03e5e81bbba214"><td class="mdescLeft"> </td><td class="mdescRight">Initializes the table with the letters. <br /></td></tr>
|
||||
<tr class="separator:ad573c8ae66ab66156d03e5e81bbba214"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ac589ef65abb0a6b9a7116ee0f9fd5280" id="r_ac589ef65abb0a6b9a7116ee0f9fd5280"><td class="memTemplParams" colspan="2">template<typename T > </td></tr>
|
||||
<tr class="memitem:ac589ef65abb0a6b9a7116ee0f9fd5280"><td class="memTemplItemLeft" align="right" valign="top">void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="#ac589ef65abb0a6b9a7116ee0f9fd5280">print_table</a> (const <a class="elRef" target="_blank" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector</a>< T > &table)</td></tr>
|
||||
<tr class="memdesc:ac589ef65abb0a6b9a7116ee0f9fd5280"><td class="mdescLeft"> </td><td class="mdescRight">Utility function to print the table. <br /></td></tr>
|
||||
<tr class="separator:ac589ef65abb0a6b9a7116ee0f9fd5280"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:adc62ebb75853446656e24932bdc6dd6b" id="r_adc62ebb75853446656e24932bdc6dd6b"><td class="memTemplParams" colspan="2">template<typename T > </td></tr>
|
||||
<tr class="memitem:adc62ebb75853446656e24932bdc6dd6b"><td class="memTemplItemLeft" align="right" valign="top">void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="#adc62ebb75853446656e24932bdc6dd6b">reset_data</a> (const <a class="elRef" target="_blank" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector</a>< T > &table, int *answer, int *old_answer, int *memory_count)</td></tr>
|
||||
<tr class="memdesc:adc62ebb75853446656e24932bdc6dd6b"><td class="mdescLeft"> </td><td class="mdescRight">Utility function that resets the data if the user enters an invalid value. <br /></td></tr>
|
||||
<tr class="separator:adc62ebb75853446656e24932bdc6dd6b"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a5714d97649c0edd57b4fb449799676a3" id="r_a5714d97649c0edd57b4fb449799676a3"><td class="memTemplParams" colspan="2">template<typename T > </td></tr>
|
||||
<tr class="memitem:a5714d97649c0edd57b4fb449799676a3"><td class="memTemplItemLeft" align="right" valign="top">void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="#a5714d97649c0edd57b4fb449799676a3">ask_data</a> (const <a class="elRef" target="_blank" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector</a>< T > &table, int *answer, int *old_answer, int *memory_count)</td></tr>
|
||||
<tr class="memdesc:a5714d97649c0edd57b4fb449799676a3"><td class="mdescLeft"> </td><td class="mdescRight">Function that asks the user for their input in the table they previously chose. <br /></td></tr>
|
||||
<tr class="separator:a5714d97649c0edd57b4fb449799676a3"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a370760f2b328ad341bcb77d82fa17b01" id="r_a370760f2b328ad341bcb77d82fa17b01"><td class="memTemplParams" colspan="2">template<typename T > </td></tr>
|
||||
<tr class="memitem:a370760f2b328ad341bcb77d82fa17b01"><td class="memTemplItemLeft" align="right" valign="top">bool </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="#a370760f2b328ad341bcb77d82fa17b01">match</a> (const <a class="elRef" target="_blank" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector</a>< T > &table, <a class="elRef" target="_blank" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector</a>< T > *table_empty, const int &answer, bool *first_time, int *old_answer, int *memory_count)</td></tr>
|
||||
<tr class="memdesc:a370760f2b328ad341bcb77d82fa17b01"><td class="mdescLeft"> </td><td class="mdescRight">Checks if the two values given by the user match. <br /></td></tr>
|
||||
<tr class="separator:a370760f2b328ad341bcb77d82fa17b01"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a3ceeea62d8fa6c563e2c66359fd73413" id="r_a3ceeea62d8fa6c563e2c66359fd73413"><td class="memTemplParams" colspan="2">template<typename T > </td></tr>
|
||||
<tr class="memitem:a3ceeea62d8fa6c563e2c66359fd73413"><td class="memTemplItemLeft" align="right" valign="top">void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="#a3ceeea62d8fa6c563e2c66359fd73413">assign_results</a> (<a class="elRef" target="_blank" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector</a>< T > *table_empty, <a class="elRef" target="_blank" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector</a>< T > *table, int *answer, bool *first_time, int *old_answer, int *memory_count)</td></tr>
|
||||
<tr class="memdesc:a3ceeea62d8fa6c563e2c66359fd73413"><td class="mdescLeft"> </td><td class="mdescRight">Function to assign the results to the table. <br /></td></tr>
|
||||
<tr class="separator:a3ceeea62d8fa6c563e2c66359fd73413"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
||||
<div class="textblock"><p>Functions for the <a href="https://en.wikipedia.org/wiki/Matching_game" target="_blank">Memory Game</a> implementation. </p>
|
||||
</div><h2 class="groupheader">Function Documentation</h2>
|
||||
<a id="a5714d97649c0edd57b4fb449799676a3" name="a5714d97649c0edd57b4fb449799676a3"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#a5714d97649c0edd57b4fb449799676a3">◆ </a></span>ask_data()</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<div class="memtemplate">
|
||||
template<typename T > </div>
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">void games::memory_game::ask_data </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">const <a class="elRef" target="_blank" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector</a>< T > &</td> <td class="paramname"><span class="paramname"><em>table</em></span>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">int *</td> <td class="paramname"><span class="paramname"><em>answer</em></span>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">int *</td> <td class="paramname"><span class="paramname"><em>old_answer</em></span>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">int *</td> <td class="paramname"><span class="paramname"><em>memory_count</em></span> )</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Function that asks the user for their input in the table they previously chose. </p>
|
||||
<dl class="tparams"><dt>Template Parameters</dt><dd>
|
||||
<table class="tparams">
|
||||
<tr><td class="paramname">T</td><td>The type of the table. </td></tr>
|
||||
</table>
|
||||
</dd>
|
||||
</dl>
|
||||
<dl class="params"><dt>Parameters</dt><dd>
|
||||
<table class="params">
|
||||
<tr><td class="paramname">table</td><td>The table that's used to get the user's input and data. </td></tr>
|
||||
<tr><td class="paramname">answer</td><td>The user's answer. </td></tr>
|
||||
<tr><td class="paramname">old_answer</td><td>The user's previous answer. </td></tr>
|
||||
<tr><td class="paramname">memory_count</td><td>A counter to check if the user has already answered two values. </td></tr>
|
||||
</table>
|
||||
</dd>
|
||||
</dl>
|
||||
<dl class="section return"><dt>Returns</dt><dd>void </dd></dl>
|
||||
<div class="fragment"><div class="line"><span class="lineno"> 162</span> {</div>
|
||||
<div class="line"><span class="lineno"> 163</span> (*old_answer) = (*answer);</div>
|
||||
<div class="line"><span class="lineno"> 164</span> <a class="code hl_function" href="#ac589ef65abb0a6b9a7116ee0f9fd5280">print_table</a>(table);</div>
|
||||
<div class="line"><span class="lineno"> 165</span> </div>
|
||||
<div class="line"><span class="lineno"> 166</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> << <span class="stringliteral">"\n\nType your response here (number index):\n"</span>;</div>
|
||||
<div class="line"><span class="lineno"> 167</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_istream.html">std::cin</a> >> (*answer);</div>
|
||||
<div class="line"><span class="lineno"> 168</span> </div>
|
||||
<div class="line"><span class="lineno"> 169</span> <span class="keywordflow">if</span> (!<a class="code hl_function" href="#a33167bb9cce6d527b478b4f6ae8c3f59">is_number</a>((*answer))) {</div>
|
||||
<div class="line"><span class="lineno"> 170</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> << <span class="stringliteral">"\nYou must enter a valid number.\n\n"</span>;</div>
|
||||
<div class="line"><span class="lineno"> 171</span> <a class="code hl_function" href="#adc62ebb75853446656e24932bdc6dd6b">reset_data</a>(table, answer, old_answer, memory_count);</div>
|
||||
<div class="line"><span class="lineno"> 172</span> }</div>
|
||||
<div class="line"><span class="lineno"> 173</span> </div>
|
||||
<div class="line"><span class="lineno"> 174</span> <span class="comment">// Increase the memory count, which will be later on used for checking if</span></div>
|
||||
<div class="line"><span class="lineno"> 175</span> <span class="comment">// the user has already answered two values.</span></div>
|
||||
<div class="line"><span class="lineno"> 176</span> (*memory_count)++;</div>
|
||||
<div class="line"><span class="lineno"> 177</span> </div>
|
||||
<div class="line"><span class="lineno"> 178</span> <span class="keywordflow">if</span> (((*answer) > table.size()) || ((*answer) < 1)) {</div>
|
||||
<div class="line"><span class="lineno"> 179</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> << <span class="stringliteral">"\nYou can't check a value that doesn't exist (or an "</span></div>
|
||||
<div class="line"><span class="lineno"> 180</span> <span class="stringliteral">"invalid number).\n\n"</span>;</div>
|
||||
<div class="line"><span class="lineno"> 181</span> reset_data(table, answer, old_answer, memory_count);</div>
|
||||
<div class="line"><span class="lineno"> 182</span> }</div>
|
||||
<div class="line"><span class="lineno"> 183</span> </div>
|
||||
<div class="line"><span class="lineno"> 184</span> <span class="keywordflow">if</span> ((*old_answer) == (*answer)) {</div>
|
||||
<div class="line"><span class="lineno"> 185</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> << <span class="stringliteral">"\nYou can't check the same value twice.\n\n"</span>;</div>
|
||||
<div class="line"><span class="lineno"> 186</span> reset_data(table, answer, old_answer, memory_count);</div>
|
||||
<div class="line"><span class="lineno"> 187</span> }</div>
|
||||
<div class="line"><span class="lineno"> 188</span> </div>
|
||||
<div class="line"><span class="lineno"> 189</span> <span class="comment">// If two matches are answered already, but the user checkes a non-answered</span></div>
|
||||
<div class="line"><span class="lineno"> 190</span> <span class="comment">// and an answered value, the program will mark it as no match, however, we</span></div>
|
||||
<div class="line"><span class="lineno"> 191</span> <span class="comment">// must not allow the user to check the same value twice.</span></div>
|
||||
<div class="line"><span class="lineno"> 192</span> <span class="keywordflow">if</span> ((table[(*answer) - 1] != 0) &&</div>
|
||||
<div class="line"><span class="lineno"> 193</span> ((table[(*old_answer)] == 0) || (table[(*old_answer)] != 0))) {</div>
|
||||
<div class="line"><span class="lineno"> 194</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> << <span class="stringliteral">"\nYou can't check the same value twice.\n\n"</span>;</div>
|
||||
<div class="line"><span class="lineno"> 195</span> <a class="code hl_function" href="#adc62ebb75853446656e24932bdc6dd6b">reset_data</a>(table, answer, old_answer, memory_count);</div>
|
||||
<div class="line"><span class="lineno"> 196</span> }</div>
|
||||
<div class="line"><span class="lineno"> 197</span>}</div>
|
||||
<div class="ttc" id="abasic_istream_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/io/basic_istream.html">std::cin</a></div></div>
|
||||
<div class="ttc" id="abasic_ostream_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a></div></div>
|
||||
<div class="ttc" id="anamespacegames_1_1memory__game_html_a33167bb9cce6d527b478b4f6ae8c3f59"><div class="ttname"><a href="#a33167bb9cce6d527b478b4f6ae8c3f59">games::memory_game::is_number</a></div><div class="ttdeci">bool is_number(const T &input)</div><div class="ttdoc">Utility function to verify if the given input is a number or not. This is very useful to prevent the ...</div><div class="ttdef"><b>Definition</b> memory_game.cpp:62</div></div>
|
||||
<div class="ttc" id="anamespacegames_1_1memory__game_html_ac589ef65abb0a6b9a7116ee0f9fd5280"><div class="ttname"><a href="#ac589ef65abb0a6b9a7116ee0f9fd5280">games::memory_game::print_table</a></div><div class="ttdeci">void print_table(const std::vector< T > &table)</div><div class="ttdoc">Utility function to print the table.</div><div class="ttdef"><b>Definition</b> memory_game.cpp:123</div></div>
|
||||
<div class="ttc" id="anamespacegames_1_1memory__game_html_adc62ebb75853446656e24932bdc6dd6b"><div class="ttname"><a href="#adc62ebb75853446656e24932bdc6dd6b">games::memory_game::reset_data</a></div><div class="ttdeci">void reset_data(const std::vector< T > &, int *, int *, int *)</div><div class="ttdoc">Utility function that resets the data if the user enters an invalid value.</div><div class="ttdef"><b>Definition</b> memory_game.cpp:211</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="../../d8/d41/namespacegames_1_1memory__game_a5714d97649c0edd57b4fb449799676a3_cgraph.svg" width="368" height="183"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a id="a3ceeea62d8fa6c563e2c66359fd73413" name="a3ceeea62d8fa6c563e2c66359fd73413"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#a3ceeea62d8fa6c563e2c66359fd73413">◆ </a></span>assign_results()</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<div class="memtemplate">
|
||||
template<typename T > </div>
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">void games::memory_game::assign_results </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype"><a class="elRef" target="_blank" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector</a>< T > *</td> <td class="paramname"><span class="paramname"><em>table_empty</em></span>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype"><a class="elRef" target="_blank" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector</a>< T > *</td> <td class="paramname"><span class="paramname"><em>table</em></span>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">int *</td> <td class="paramname"><span class="paramname"><em>answer</em></span>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">bool *</td> <td class="paramname"><span class="paramname"><em>first_time</em></span>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">int *</td> <td class="paramname"><span class="paramname"><em>old_answer</em></span>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">int *</td> <td class="paramname"><span class="paramname"><em>memory_count</em></span> )</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Function to assign the results to the table. </p>
|
||||
<p>Also checkes if the user has answered all the values already, as well as verify if the user made a match or not. </p><dl class="tparams"><dt>Template Parameters</dt><dd>
|
||||
<table class="tparams">
|
||||
<tr><td class="paramname">T</td><td>The type of the tables. </td></tr>
|
||||
</table>
|
||||
</dd>
|
||||
</dl>
|
||||
<dl class="params"><dt>Parameters</dt><dd>
|
||||
<table class="params">
|
||||
<tr><td class="paramname">table_empty</td><td>The table with no values, slowly assigned from <code>table</code> depending on the user's input. </td></tr>
|
||||
<tr><td class="paramname">table</td><td>The table with the original values. </td></tr>
|
||||
<tr><td class="paramname">answer</td><td>The user's answer. </td></tr>
|
||||
<tr><td class="paramname">first_time</td><td>A boolean to check if the user has already answered a value. </td></tr>
|
||||
<tr><td class="paramname">old_answer</td><td>The user's previous answer. </td></tr>
|
||||
<tr><td class="paramname">memory_count</td><td>A counter to check if the user has already answered two values. </td></tr>
|
||||
</table>
|
||||
</dd>
|
||||
</dl>
|
||||
<dl class="section return"><dt>Returns</dt><dd>void </dd></dl>
|
||||
<div class="fragment"><div class="line"><span class="lineno"> 291</span> {</div>
|
||||
<div class="line"><span class="lineno"> 292</span> <span class="comment">// Search through the entire table and if the answer matches the index, show</span></div>
|
||||
<div class="line"><span class="lineno"> 293</span> <span class="comment">// the value. If it doesn't match, hide both the values. Don't forget to</span></div>
|
||||
<div class="line"><span class="lineno"> 294</span> <span class="comment">// keep older values already answered.</span></div>
|
||||
<div class="line"><span class="lineno"> 295</span> <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i < (*table).size() + 1; i++) {</div>
|
||||
<div class="line"><span class="lineno"> 296</span> <span class="keywordflow">if</span> (i == (*answer)) {</div>
|
||||
<div class="line"><span class="lineno"> 297</span> <span class="keywordflow">if</span> (<a class="code hl_function" href="#a370760f2b328ad341bcb77d82fa17b01">match</a>((*table), table_empty, (*answer), first_time, old_answer,</div>
|
||||
<div class="line"><span class="lineno"> 298</span> memory_count) == <span class="keyword">true</span>) {</div>
|
||||
<div class="line"><span class="lineno"> 299</span> (*table_empty)[i - 1] = (*table)[i - 1];</div>
|
||||
<div class="line"><span class="lineno"> 300</span> (*first_time) = <span class="keyword">true</span>;</div>
|
||||
<div class="line"><span class="lineno"> 301</span> }</div>
|
||||
<div class="line"><span class="lineno"> 302</span> }</div>
|
||||
<div class="line"><span class="lineno"> 303</span> }</div>
|
||||
<div class="line"><span class="lineno"> 304</span> </div>
|
||||
<div class="line"><span class="lineno"> 305</span> <span class="keywordflow">if</span> ((*memory_count) == 1) {</div>
|
||||
<div class="line"><span class="lineno"> 306</span> (*first_time) = <span class="keyword">false</span>;</div>
|
||||
<div class="line"><span class="lineno"> 307</span> (*memory_count) = 0;</div>
|
||||
<div class="line"><span class="lineno"> 308</span> }</div>
|
||||
<div class="line"><span class="lineno"> 309</span> </div>
|
||||
<div class="line"><span class="lineno"> 310</span> <span class="keywordtype">char</span> try_again = <span class="charliteral">'n'</span>;</div>
|
||||
<div class="line"><span class="lineno"> 311</span> </div>
|
||||
<div class="line"><span class="lineno"> 312</span> <span class="comment">// Has the user finished the game? Use a `for` loop, and if the table is</span></div>
|
||||
<div class="line"><span class="lineno"> 313</span> <span class="comment">// full, ask the user if he wants to play again.</span></div>
|
||||
<div class="line"><span class="lineno"> 314</span> <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i < (*table).size() + 1; i++) {</div>
|
||||
<div class="line"><span class="lineno"> 315</span> <span class="keywordflow">if</span> ((*table_empty)[i] == 0) {</div>
|
||||
<div class="line"><span class="lineno"> 316</span> <span class="keywordflow">break</span>;</div>
|
||||
<div class="line"><span class="lineno"> 317</span> } <span class="keywordflow">else</span> <span class="keywordflow">if</span> (i == (*table).size() - 1) {</div>
|
||||
<div class="line"><span class="lineno"> 318</span> <a class="code hl_function" href="#ac589ef65abb0a6b9a7116ee0f9fd5280">print_table</a>((*table));</div>
|
||||
<div class="line"><span class="lineno"> 319</span> </div>
|
||||
<div class="line"><span class="lineno"> 320</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> << <span class="stringliteral">"\n\nYou won. Congratulations! Do you want to play "</span></div>
|
||||
<div class="line"><span class="lineno"> 321</span> <span class="stringliteral">"again? (y/n)\n"</span>;</div>
|
||||
<div class="line"><span class="lineno"> 322</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a></div>
|
||||
<div class="line"><span class="lineno"> 323</span> << <span class="stringliteral">"Size "</span> << (*table).size()</div>
|
||||
<div class="line"><span class="lineno"> 324</span> << <span class="stringliteral">" will be used. This can be changed by re-running the game."</span>;</div>
|
||||
<div class="line"><span class="lineno"> 325</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_istream.html">std::cin</a> >> try_again;</div>
|
||||
<div class="line"><span class="lineno"> 326</span> <span class="keywordflow">if</span> (try_again == <span class="charliteral">'y'</span>) {</div>
|
||||
<div class="line"><span class="lineno"> 327</span> <span class="comment">// This is needed when checking if the user has two matches</span></div>
|
||||
<div class="line"><span class="lineno"> 328</span> <span class="comment">// already.</span></div>
|
||||
<div class="line"><span class="lineno"> 329</span> <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i < (*table_empty).size(); i++) {</div>
|
||||
<div class="line"><span class="lineno"> 330</span> (*table_empty)[i] = 0;</div>
|
||||
<div class="line"><span class="lineno"> 331</span> }</div>
|
||||
<div class="line"><span class="lineno"> 332</span> </div>
|
||||
<div class="line"><span class="lineno"> 333</span> <a class="code hl_function" href="#ad573c8ae66ab66156d03e5e81bbba214">init</a>(table);</div>
|
||||
<div class="line"><span class="lineno"> 334</span> } <span class="keywordflow">else</span> <span class="keywordflow">if</span> (try_again == <span class="charliteral">'n'</span>) {</div>
|
||||
<div class="line"><span class="lineno"> 335</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> << <span class="stringliteral">"\nThanks for playing the game!\n"</span>;</div>
|
||||
<div class="line"><span class="lineno"> 336</span> <a class="code hl_function" href="../../dd/d92/memory__game_8cpp.html#a5bdc30951221eae9c33413ff9eb574f6">SLEEP</a>(3);</div>
|
||||
<div class="line"><span class="lineno"> 337</span> </div>
|
||||
<div class="line"><span class="lineno"> 338</span> <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/utility/program/exit.html">exit</a>(0);</div>
|
||||
<div class="line"><span class="lineno"> 339</span> } <span class="keywordflow">else</span> {</div>
|
||||
<div class="line"><span class="lineno"> 340</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> << <span class="stringliteral">"\nInvalid input (exitting...).\n"</span>;</div>
|
||||
<div class="line"><span class="lineno"> 341</span> <a class="code hl_function" href="../../dd/d92/memory__game_8cpp.html#a5bdc30951221eae9c33413ff9eb574f6">SLEEP</a>(3);</div>
|
||||
<div class="line"><span class="lineno"> 342</span> </div>
|
||||
<div class="line"><span class="lineno"> 343</span> <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/utility/program/exit.html">exit</a>(0);</div>
|
||||
<div class="line"><span class="lineno"> 344</span> }</div>
|
||||
<div class="line"><span class="lineno"> 345</span> }</div>
|
||||
<div class="line"><span class="lineno"> 346</span> }</div>
|
||||
<div class="line"><span class="lineno"> 347</span> </div>
|
||||
<div class="line"><span class="lineno"> 348</span> <span class="comment">// Ask data again.</span></div>
|
||||
<div class="line"><span class="lineno"> 349</span> <a class="code hl_function" href="#a5714d97649c0edd57b4fb449799676a3">ask_data</a>((*table_empty), answer, old_answer, memory_count);</div>
|
||||
<div class="line"><span class="lineno"> 350</span> <a class="code hl_function" href="#a3ceeea62d8fa6c563e2c66359fd73413">assign_results</a>(table_empty, table, answer, first_time, old_answer,</div>
|
||||
<div class="line"><span class="lineno"> 351</span> memory_count);</div>
|
||||
<div class="line"><span class="lineno"> 352</span>}</div>
|
||||
<div class="ttc" id="aexit_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/utility/program/exit.html">std::exit</a></div><div class="ttdeci">T exit(T... args)</div></div>
|
||||
<div class="ttc" id="amemory__game_8cpp_html_a5bdc30951221eae9c33413ff9eb574f6"><div class="ttname"><a href="../../dd/d92/memory__game_8cpp.html#a5bdc30951221eae9c33413ff9eb574f6">SLEEP</a></div><div class="ttdeci">constexpr T SLEEP(T seconds)</div><div class="ttdoc">for sleep()</div><div class="ttdef"><b>Definition</b> memory_game.cpp:36</div></div>
|
||||
<div class="ttc" id="anamespacegames_1_1memory__game_html_a370760f2b328ad341bcb77d82fa17b01"><div class="ttname"><a href="#a370760f2b328ad341bcb77d82fa17b01">games::memory_game::match</a></div><div class="ttdeci">bool match(const std::vector< T > &table, std::vector< T > *table_empty, const int &answer, bool *first_time, int *old_answer, int *memory_count)</div><div class="ttdoc">Checks if the two values given by the user match.</div><div class="ttdef"><b>Definition</b> memory_game.cpp:235</div></div>
|
||||
<div class="ttc" id="anamespacegames_1_1memory__game_html_a3ceeea62d8fa6c563e2c66359fd73413"><div class="ttname"><a href="#a3ceeea62d8fa6c563e2c66359fd73413">games::memory_game::assign_results</a></div><div class="ttdeci">void assign_results(std::vector< T > *table_empty, std::vector< T > *table, int *answer, bool *first_time, int *old_answer, int *memory_count)</div><div class="ttdoc">Function to assign the results to the table.</div><div class="ttdef"><b>Definition</b> memory_game.cpp:289</div></div>
|
||||
<div class="ttc" id="anamespacegames_1_1memory__game_html_a5714d97649c0edd57b4fb449799676a3"><div class="ttname"><a href="#a5714d97649c0edd57b4fb449799676a3">games::memory_game::ask_data</a></div><div class="ttdeci">void ask_data(const std::vector< T > &table, int *answer, int *old_answer, int *memory_count)</div><div class="ttdoc">Function that asks the user for their input in the table they previously chose.</div><div class="ttdef"><b>Definition</b> memory_game.cpp:161</div></div>
|
||||
<div class="ttc" id="anamespacegames_1_1memory__game_html_ad573c8ae66ab66156d03e5e81bbba214"><div class="ttname"><a href="#ad573c8ae66ab66156d03e5e81bbba214">games::memory_game::init</a></div><div class="ttdeci">void init(std::vector< T > *table)</div><div class="ttdoc">Initializes the table with the letters.</div><div class="ttdef"><b>Definition</b> memory_game.cpp:80</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="../../d8/d41/namespacegames_1_1memory__game_a3ceeea62d8fa6c563e2c66359fd73413_cgraph.svg" width="570" height="430"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a id="ad573c8ae66ab66156d03e5e81bbba214" name="ad573c8ae66ab66156d03e5e81bbba214"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#ad573c8ae66ab66156d03e5e81bbba214">◆ </a></span>init()</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<div class="memtemplate">
|
||||
template<typename T > </div>
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">void games::memory_game::init </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype"><a class="elRef" target="_blank" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector</a>< T > *</td> <td class="paramname"><span class="paramname"><em>table</em></span></td><td>)</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Initializes the table with the letters. </p>
|
||||
<dl class="tparams"><dt>Template Parameters</dt><dd>
|
||||
<table class="tparams">
|
||||
<tr><td class="paramname">T</td><td>The type of the table. </td></tr>
|
||||
</table>
|
||||
</dd>
|
||||
</dl>
|
||||
<dl class="params"><dt>Parameters</dt><dd>
|
||||
<table class="params">
|
||||
<tr><td class="paramname">table</td><td>The table to initialize. </td></tr>
|
||||
</table>
|
||||
</dd>
|
||||
</dl>
|
||||
<dl class="section return"><dt>Returns</dt><dd>void </dd></dl>
|
||||
<div class="fragment"><div class="line"><span class="lineno"> 80</span> {</div>
|
||||
<div class="line"><span class="lineno"> 81</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector<char></a> letters(7);</div>
|
||||
<div class="line"><span class="lineno"> 82</span> </div>
|
||||
<div class="line"><span class="lineno"> 83</span> <span class="comment">// Decrease / increase the number of letters depending on the size.</span></div>
|
||||
<div class="line"><span class="lineno"> 84</span> <span class="keywordflow">if</span> ((*table).size() == 10) { <span class="comment">// 5x2</span></div>
|
||||
<div class="line"><span class="lineno"> 85</span> letters = {<span class="charliteral">'A'</span>, <span class="charliteral">'E'</span>, <span class="charliteral">'Z'</span>, <span class="charliteral">'P'</span>, <span class="charliteral">'D'</span>};</div>
|
||||
<div class="line"><span class="lineno"> 86</span> } <span class="keywordflow">else</span> <span class="keywordflow">if</span> ((*table).size() == 8) { <span class="comment">// 4x2</span></div>
|
||||
<div class="line"><span class="lineno"> 87</span> letters = {<span class="charliteral">'A'</span>, <span class="charliteral">'E'</span>, <span class="charliteral">'Z'</span>, <span class="charliteral">'D'</span>};</div>
|
||||
<div class="line"><span class="lineno"> 88</span> } <span class="keywordflow">else</span> <span class="keywordflow">if</span> ((*table).size() == 14) { <span class="comment">// 7x2</span></div>
|
||||
<div class="line"><span class="lineno"> 89</span> letters = {<span class="charliteral">'A'</span>, <span class="charliteral">'E'</span>, <span class="charliteral">'Z'</span>, <span class="charliteral">'P'</span>, <span class="charliteral">'D'</span>, <span class="charliteral">'B'</span>, <span class="charliteral">'M'</span>};</div>
|
||||
<div class="line"><span class="lineno"> 90</span> }</div>
|
||||
<div class="line"><span class="lineno"> 91</span> </div>
|
||||
<div class="line"><span class="lineno"> 92</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector<char></a> pairs;</div>
|
||||
<div class="line"><span class="lineno"> 93</span> <span class="keywordflow">for</span> (<span class="keywordtype">char</span> letter : letters) {</div>
|
||||
<div class="line"><span class="lineno"> 94</span> pairs.<a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/container/vector/push_back.html">push_back</a>(letter);</div>
|
||||
<div class="line"><span class="lineno"> 95</span> pairs.<a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/container/vector/push_back.html">push_back</a>(letter);</div>
|
||||
<div class="line"><span class="lineno"> 96</span> }</div>
|
||||
<div class="line"><span class="lineno"> 97</span> </div>
|
||||
<div class="line"><span class="lineno"> 98</span> <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/algorithm/random_shuffle.html">std::shuffle</a>(pairs.<a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/container/vector/begin.html">begin</a>(), pairs.<a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/container/vector/end.html">end</a>(),</div>
|
||||
<div class="line"><span class="lineno"> 99</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/numeric/random/mersenne_twister_engine.html">std::mt19937</a>(<a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/numeric/random/random_device.html">std::random_device</a>()()));</div>
|
||||
<div class="line"><span class="lineno"> 100</span> </div>
|
||||
<div class="line"><span class="lineno"> 101</span> <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i < (*table).size(); i++) {</div>
|
||||
<div class="line"><span class="lineno"> 102</span> (*table)[i] = pairs[i];</div>
|
||||
<div class="line"><span class="lineno"> 103</span> }</div>
|
||||
<div class="line"><span class="lineno"> 104</span> </div>
|
||||
<div class="line"><span class="lineno"> 105</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> << <span class="stringliteral">"All available types are: "</span>;</div>
|
||||
<div class="line"><span class="lineno"> 106</span> </div>
|
||||
<div class="line"><span class="lineno"> 107</span> <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i < letters.size(); i++) {</div>
|
||||
<div class="line"><span class="lineno"> 108</span> <span class="keywordflow">if</span> (i == letters.size() - 1) {</div>
|
||||
<div class="line"><span class="lineno"> 109</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> << <span class="stringliteral">"and "</span> << letters[i] << <span class="stringliteral">".\n\n"</span>;</div>
|
||||
<div class="line"><span class="lineno"> 110</span> } <span class="keywordflow">else</span> {</div>
|
||||
<div class="line"><span class="lineno"> 111</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> << letters[i] << <span class="stringliteral">", "</span>;</div>
|
||||
<div class="line"><span class="lineno"> 112</span> }</div>
|
||||
<div class="line"><span class="lineno"> 113</span> }</div>
|
||||
<div class="line"><span class="lineno"> 114</span>}</div>
|
||||
<div class="ttc" id="abegin_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/container/vector/begin.html">std::vector::begin</a></div><div class="ttdeci">T begin(T... args)</div></div>
|
||||
<div class="ttc" id="aend_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/container/vector/end.html">std::vector::end</a></div><div class="ttdeci">T end(T... args)</div></div>
|
||||
<div class="ttc" id="amersenne_twister_engine_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/numeric/random/mersenne_twister_engine.html">std::mt19937</a></div></div>
|
||||
<div class="ttc" id="apush_back_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/container/vector/push_back.html">std::vector::push_back</a></div><div class="ttdeci">T push_back(T... args)</div></div>
|
||||
<div class="ttc" id="arandom_device_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/numeric/random/random_device.html">std::random_device</a></div></div>
|
||||
<div class="ttc" id="arandom_shuffle_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/algorithm/random_shuffle.html">std::shuffle</a></div><div class="ttdeci">T shuffle(T... args)</div></div>
|
||||
<div class="ttc" id="avector_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector</a></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="../../d8/d41/namespacegames_1_1memory__game_ad573c8ae66ab66156d03e5e81bbba214_cgraph.svg" width="368" height="234"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a id="a33167bb9cce6d527b478b4f6ae8c3f59" name="a33167bb9cce6d527b478b4f6ae8c3f59"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#a33167bb9cce6d527b478b4f6ae8c3f59">◆ </a></span>is_number()</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<div class="memtemplate">
|
||||
template<typename T > </div>
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">bool games::memory_game::is_number </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">const T &</td> <td class="paramname"><span class="paramname"><em>input</em></span></td><td>)</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Utility function to verify if the given input is a number or not. This is very useful to prevent the program being stuck in a loop. </p>
|
||||
<dl class="tparams"><dt>Template Parameters</dt><dd>
|
||||
<table class="tparams">
|
||||
<tr><td class="paramname">T</td><td>The type of the input </td></tr>
|
||||
</table>
|
||||
</dd>
|
||||
</dl>
|
||||
<dl class="params"><dt>Parameters</dt><dd>
|
||||
<table class="params">
|
||||
<tr><td class="paramname">input</td><td>The input to check. </td></tr>
|
||||
</table>
|
||||
</dd>
|
||||
</dl>
|
||||
<dl class="section return"><dt>Returns</dt><dd>false if the input IS empty or if it contains a non-digit character </dd>
|
||||
<dd>
|
||||
true if the input is NOT empty and if it contains only digit characters </dd></dl>
|
||||
<div class="fragment"><div class="line"><span class="lineno"> 62</span> {</div>
|
||||
<div class="line"><span class="lineno"> 63</span> <span class="keywordflow">if</span> (<a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_istream.html">std::cin</a>.fail()) {</div>
|
||||
<div class="line"><span class="lineno"> 64</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_istream.html">std::cin</a>.clear();</div>
|
||||
<div class="line"><span class="lineno"> 65</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_istream.html">std::cin</a>.ignore(256, <span class="charliteral">'\n'</span>);</div>
|
||||
<div class="line"><span class="lineno"> 66</span> </div>
|
||||
<div class="line"><span class="lineno"> 67</span> <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
|
||||
<div class="line"><span class="lineno"> 68</span> }</div>
|
||||
<div class="line"><span class="lineno"> 69</span> </div>
|
||||
<div class="line"><span class="lineno"> 70</span> <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
|
||||
<div class="line"><span class="lineno"> 71</span>}</div>
|
||||
</div><!-- fragment -->
|
||||
</div>
|
||||
</div>
|
||||
<a id="a370760f2b328ad341bcb77d82fa17b01" name="a370760f2b328ad341bcb77d82fa17b01"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#a370760f2b328ad341bcb77d82fa17b01">◆ </a></span>match()</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<div class="memtemplate">
|
||||
template<typename T > </div>
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">bool games::memory_game::match </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">const <a class="elRef" target="_blank" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector</a>< T > &</td> <td class="paramname"><span class="paramname"><em>table</em></span>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype"><a class="elRef" target="_blank" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector</a>< T > *</td> <td class="paramname"><span class="paramname"><em>table_empty</em></span>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">const int &</td> <td class="paramname"><span class="paramname"><em>answer</em></span>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">bool *</td> <td class="paramname"><span class="paramname"><em>first_time</em></span>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">int *</td> <td class="paramname"><span class="paramname"><em>old_answer</em></span>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">int *</td> <td class="paramname"><span class="paramname"><em>memory_count</em></span> )</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Checks if the two values given by the user match. </p>
|
||||
<dl class="tparams"><dt>Template Parameters</dt><dd>
|
||||
<table class="tparams">
|
||||
<tr><td class="paramname">T</td><td>The type of the table. </td></tr>
|
||||
</table>
|
||||
</dd>
|
||||
</dl>
|
||||
<dl class="params"><dt>Parameters</dt><dd>
|
||||
<table class="params">
|
||||
<tr><td class="paramname">table_empty</td><td>The table with no values, slowly assigned from <code>table</code> depending on the user's input. </td></tr>
|
||||
<tr><td class="paramname">table</td><td>The table with the original values. </td></tr>
|
||||
<tr><td class="paramname">answer</td><td>The user's answer. </td></tr>
|
||||
<tr><td class="paramname">first_time</td><td>A boolean to check if the user has already answered a value. </td></tr>
|
||||
<tr><td class="paramname">old_answer</td><td>The user's previous answer. </td></tr>
|
||||
<tr><td class="paramname">memory_count</td><td>A counter to check if the user has already answered two values. </td></tr>
|
||||
</table>
|
||||
</dd>
|
||||
</dl>
|
||||
<dl class="section return"><dt>Returns</dt><dd>true IF the values given by the user match </dd>
|
||||
<dd>
|
||||
false if the values given by the user do NOT match </dd></dl>
|
||||
<div class="fragment"><div class="line"><span class="lineno"> 237</span> {</div>
|
||||
<div class="line"><span class="lineno"> 238</span> <span class="keywordflow">if</span> ((*first_time) == <span class="keyword">true</span>) {</div>
|
||||
<div class="line"><span class="lineno"> 239</span> <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
|
||||
<div class="line"><span class="lineno"> 240</span> }</div>
|
||||
<div class="line"><span class="lineno"> 241</span> </div>
|
||||
<div class="line"><span class="lineno"> 242</span> <span class="comment">// Search across the whole table and if the two values match, keep results,</span></div>
|
||||
<div class="line"><span class="lineno"> 243</span> <span class="comment">// otherwise, hide 'em up.</span></div>
|
||||
<div class="line"><span class="lineno"> 244</span> <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i < table.size() + 1; i++) {</div>
|
||||
<div class="line"><span class="lineno"> 245</span> <span class="keywordflow">if</span> (i == answer) {</div>
|
||||
<div class="line"><span class="lineno"> 246</span> <span class="keywordflow">if</span> (table[i - 1] == table[(*old_answer) - 1]) {</div>
|
||||
<div class="line"><span class="lineno"> 247</span> (*first_time) = <span class="keyword">true</span>;</div>
|
||||
<div class="line"><span class="lineno"> 248</span> (*memory_count) = 0;</div>
|
||||
<div class="line"><span class="lineno"> 249</span> </div>
|
||||
<div class="line"><span class="lineno"> 250</span> (*old_answer) = 0;</div>
|
||||
<div class="line"><span class="lineno"> 251</span> <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
|
||||
<div class="line"><span class="lineno"> 252</span> } <span class="keywordflow">else</span> {</div>
|
||||
<div class="line"><span class="lineno"> 253</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> << <span class="stringliteral">"\nNo match (value was "</span> << table[i - 1]</div>
|
||||
<div class="line"><span class="lineno"> 254</span> << <span class="stringliteral">", index is "</span> << i << <span class="stringliteral">").\n\n"</span>;</div>
|
||||
<div class="line"><span class="lineno"> 255</span> </div>
|
||||
<div class="line"><span class="lineno"> 256</span> (*table_empty)[(*old_answer) - 1] = 0;</div>
|
||||
<div class="line"><span class="lineno"> 257</span> (*table_empty)[answer - 1] = 0;</div>
|
||||
<div class="line"><span class="lineno"> 258</span> </div>
|
||||
<div class="line"><span class="lineno"> 259</span> (*first_time) = <span class="keyword">true</span>;</div>
|
||||
<div class="line"><span class="lineno"> 260</span> (*memory_count) = 0;</div>
|
||||
<div class="line"><span class="lineno"> 261</span> </div>
|
||||
<div class="line"><span class="lineno"> 262</span> (*old_answer) = 0;</div>
|
||||
<div class="line"><span class="lineno"> 263</span> <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
|
||||
<div class="line"><span class="lineno"> 264</span> }</div>
|
||||
<div class="line"><span class="lineno"> 265</span> }</div>
|
||||
<div class="line"><span class="lineno"> 266</span> }</div>
|
||||
<div class="line"><span class="lineno"> 267</span> </div>
|
||||
<div class="line"><span class="lineno"> 268</span> <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
|
||||
<div class="line"><span class="lineno"> 269</span>}</div>
|
||||
</div><!-- fragment -->
|
||||
</div>
|
||||
</div>
|
||||
<a id="ac589ef65abb0a6b9a7116ee0f9fd5280" name="ac589ef65abb0a6b9a7116ee0f9fd5280"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#ac589ef65abb0a6b9a7116ee0f9fd5280">◆ </a></span>print_table()</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<div class="memtemplate">
|
||||
template<typename T > </div>
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">void games::memory_game::print_table </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">const <a class="elRef" target="_blank" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector</a>< T > &</td> <td class="paramname"><span class="paramname"><em>table</em></span></td><td>)</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Utility function to print the table. </p>
|
||||
<dl class="tparams"><dt>Template Parameters</dt><dd>
|
||||
<table class="tparams">
|
||||
<tr><td class="paramname">T</td><td>The type of the table. </td></tr>
|
||||
</table>
|
||||
</dd>
|
||||
</dl>
|
||||
<dl class="params"><dt>Parameters</dt><dd>
|
||||
<table class="params">
|
||||
<tr><td class="paramname">table</td><td>The table to print. </td></tr>
|
||||
</table>
|
||||
</dd>
|
||||
</dl>
|
||||
<dl class="section return"><dt>Returns</dt><dd>void </dd></dl>
|
||||
<div class="fragment"><div class="line"><span class="lineno"> 123</span> {</div>
|
||||
<div class="line"><span class="lineno"> 124</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> << <span class="stringliteral">"| "</span>;</div>
|
||||
<div class="line"><span class="lineno"> 125</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector<T></a> table_print(table.size());</div>
|
||||
<div class="line"><span class="lineno"> 126</span> </div>
|
||||
<div class="line"><span class="lineno"> 127</span> <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i < table.size(); i++) {</div>
|
||||
<div class="line"><span class="lineno"> 128</span> table_print[i] = <span class="charliteral">' '</span>;</div>
|
||||
<div class="line"><span class="lineno"> 129</span> </div>
|
||||
<div class="line"><span class="lineno"> 130</span> <span class="keywordflow">if</span> (table[i] != 0) {</div>
|
||||
<div class="line"><span class="lineno"> 131</span> table_print[i] = table[i];</div>
|
||||
<div class="line"><span class="lineno"> 132</span> }</div>
|
||||
<div class="line"><span class="lineno"> 133</span> }</div>
|
||||
<div class="line"><span class="lineno"> 134</span> </div>
|
||||
<div class="line"><span class="lineno"> 135</span> <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i < table.size(); i++) {</div>
|
||||
<div class="line"><span class="lineno"> 136</span> <span class="keywordflow">if</span> (i % 5 == 0 && i != 0) {</div>
|
||||
<div class="line"><span class="lineno"> 137</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> << <span class="stringliteral">"\n| "</span>;</div>
|
||||
<div class="line"><span class="lineno"> 138</span> }</div>
|
||||
<div class="line"><span class="lineno"> 139</span> </div>
|
||||
<div class="line"><span class="lineno"> 140</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> << table_print[i] << <span class="stringliteral">" | "</span>;</div>
|
||||
<div class="line"><span class="lineno"> 141</span> }</div>
|
||||
<div class="line"><span class="lineno"> 142</span>}</div>
|
||||
</div><!-- fragment -->
|
||||
</div>
|
||||
</div>
|
||||
<a id="adc62ebb75853446656e24932bdc6dd6b" name="adc62ebb75853446656e24932bdc6dd6b"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#adc62ebb75853446656e24932bdc6dd6b">◆ </a></span>reset_data()</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<div class="memtemplate">
|
||||
template<typename T > </div>
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">void games::memory_game::reset_data </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">const <a class="elRef" target="_blank" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector</a>< T > &</td> <td class="paramname"><span class="paramname"><em>table</em></span>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">int *</td> <td class="paramname"><span class="paramname"><em>answer</em></span>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">int *</td> <td class="paramname"><span class="paramname"><em>old_answer</em></span>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">int *</td> <td class="paramname"><span class="paramname"><em>memory_count</em></span> )</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Utility function that resets the data if the user enters an invalid value. </p>
|
||||
<dl class="tparams"><dt>Template Parameters</dt><dd>
|
||||
<table class="tparams">
|
||||
<tr><td class="paramname">T</td><td>The type of the table. </td></tr>
|
||||
</table>
|
||||
</dd>
|
||||
</dl>
|
||||
<dl class="params"><dt>Parameters</dt><dd>
|
||||
<table class="params">
|
||||
<tr><td class="paramname">table</td><td>The table that will be used to call <code><a class="el" href="#a5714d97649c0edd57b4fb449799676a3" title="Function that asks the user for their input in the table they previously chose.">ask_data()</a></code>. </td></tr>
|
||||
<tr><td class="paramname">answer</td><td>The user's answer. </td></tr>
|
||||
<tr><td class="paramname">old_answer</td><td>The user's previous answer. </td></tr>
|
||||
<tr><td class="paramname">memory_count</td><td>A counter to check if the user has already answered two values. </td></tr>
|
||||
</table>
|
||||
</dd>
|
||||
</dl>
|
||||
<dl class="section return"><dt>Returns</dt><dd>void </dd></dl>
|
||||
<div class="fragment"><div class="line"><span class="lineno"> 212</span> {</div>
|
||||
<div class="line"><span class="lineno"> 213</span> (*answer) = (*old_answer);</div>
|
||||
<div class="line"><span class="lineno"> 214</span> (*memory_count)--;</div>
|
||||
<div class="line"><span class="lineno"> 215</span> </div>
|
||||
<div class="line"><span class="lineno"> 216</span> <a class="code hl_function" href="#a5714d97649c0edd57b4fb449799676a3">ask_data</a>(table, answer, old_answer, memory_count);</div>
|
||||
<div class="line"><span class="lineno"> 217</span>}</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="../../d8/d41/namespacegames_1_1memory__game_adc62ebb75853446656e24932bdc6dd6b_cgraph.svg" width="570" height="118"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</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="../../da/d9c/namespacegames.html">games</a></li><li class="navelem"><a class="el" href="../../d8/d41/namespacegames_1_1memory__game.html">memory_game</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.12.0 </li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,30 @@
|
||||
<map id="games::memory_game::assign_results" name="games::memory_game::assign_results">
|
||||
<area shape="rect" id="Node000001" title="Function to assign the results to the table." alt="" coords="5,243,160,283"/>
|
||||
<area shape="poly" id="edge6_Node000001_Node000001" title=" " alt="" coords="44,243,42,233,48,224,62,218,83,216,105,218,118,225,115,229,103,224,82,221,63,223,52,228,47,234,49,241"/>
|
||||
<area shape="rect" id="Node000002" href="$d8/d41/namespacegames_1_1memory__game.html#a5714d97649c0edd57b4fb449799676a3" title="Function that asks the user for their input in the table they previously chose." alt="" coords="208,136,362,177"/>
|
||||
<area shape="poly" id="edge1_Node000001_Node000002" title=" " alt="" coords="122,240,230,182,232,187,124,245"/>
|
||||
<area shape="rect" id="Node000004" href="$d8/d41/namespacegames_1_1memory__game.html#ac589ef65abb0a6b9a7116ee0f9fd5280" title="Utility function to print the table." alt="" coords="410,5,564,46"/>
|
||||
<area shape="poly" id="edge14_Node000001_Node000004" title=" " alt="" coords="95,241,140,182,171,150,206,122,252,96,300,74,394,43,396,48,302,79,254,100,209,127,175,154,144,186,99,244"/>
|
||||
<area shape="rect" id="Node000006" href="$d8/d41/namespacegames_1_1memory__game.html#ad573c8ae66ab66156d03e5e81bbba214" title="Initializes the table with the letters." alt="" coords="208,243,362,283"/>
|
||||
<area shape="poly" id="edge7_Node000001_Node000006" title=" " alt="" coords="160,260,192,260,192,266,160,266"/>
|
||||
<area shape="rect" id="Node000012" href="$d8/d41/namespacegames_1_1memory__game.html#a370760f2b328ad341bcb77d82fa17b01" title="Checks if the two values given by the user match." alt="" coords="208,308,362,349"/>
|
||||
<area shape="poly" id="edge13_Node000001_Node000012" title=" " alt="" coords="148,281,206,300,204,305,147,286"/>
|
||||
<area shape="rect" id="Node000013" href="$dd/d92/memory__game_8cpp.html#a5bdc30951221eae9c33413ff9eb574f6" title="for sleep()" alt="" coords="253,373,317,398"/>
|
||||
<area shape="poly" id="edge15_Node000001_Node000013" title=" " alt="" coords="107,282,152,320,209,358,239,371,237,376,206,363,149,324,104,286"/>
|
||||
<area shape="rect" id="Node000003" href="$d8/d41/namespacegames_1_1memory__game.html#a33167bb9cce6d527b478b4f6ae8c3f59" title="Utility function to verify if the given input is a number or not. This is very useful to prevent the ..." alt="" coords="410,71,564,111"/>
|
||||
<area shape="poly" id="edge2_Node000002_Node000003" title=" " alt="" coords="349,133,407,114,408,119,351,138"/>
|
||||
<area shape="poly" id="edge3_Node000002_Node000004" title=" " alt="" coords="307,133,353,96,409,57,419,51,421,56,411,61,356,100,311,137"/>
|
||||
<area shape="rect" id="Node000005" href="$d8/d41/namespacegames_1_1memory__game.html#adc62ebb75853446656e24932bdc6dd6b" title="Utility function that resets the data if the user enters an invalid value." alt="" coords="410,136,564,177"/>
|
||||
<area shape="poly" id="edge4_Node000002_Node000005" title=" " alt="" coords="362,162,395,163,395,168,362,168"/>
|
||||
<area shape="poly" id="edge5_Node000005_Node000002" title=" " alt="" coords="410,150,377,150,377,145,410,145"/>
|
||||
<area shape="rect" id="Node000007" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/vector/begin.html#" title=" " alt="" coords="426,201,548,226"/>
|
||||
<area shape="poly" id="edge8_Node000006_Node000007" title=" " alt="" coords="362,242,417,228,418,233,363,247"/>
|
||||
<area shape="rect" id="Node000008" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/vector/end.html#" title=" " alt="" coords="431,250,543,276"/>
|
||||
<area shape="poly" id="edge9_Node000006_Node000008" title=" " alt="" coords="362,260,415,260,415,266,362,266"/>
|
||||
<area shape="rect" id="Node000009" 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="410,300,564,325"/>
|
||||
<area shape="poly" id="edge10_Node000006_Node000009" title=" " alt="" coords="363,279,418,293,417,298,362,284"/>
|
||||
<area shape="rect" id="Node000010" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/algorithm/random_shuffle.html#" title=" " alt="" coords="444,349,530,374"/>
|
||||
<area shape="poly" id="edge11_Node000006_Node000010" title=" " alt="" coords="341,282,364,294,387,315,411,335,431,344,429,349,409,340,384,320,360,299,338,286"/>
|
||||
<area shape="rect" id="Node000011" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/vector/size.html#" title=" " alt="" coords="430,398,545,424"/>
|
||||
<area shape="poly" id="edge12_Node000006_Node000011" title=" " alt="" coords="347,282,364,294,381,318,388,342,395,364,412,385,418,389,415,394,408,389,390,366,383,343,376,321,360,298,343,286"/>
|
||||
</map>
|
||||
@@ -0,0 +1 @@
|
||||
477db5ebb4e3e2ba05b485349a023c27
|
||||
@@ -0,0 +1,297 @@
|
||||
<?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 12.1.0 (20240811.2233)
|
||||
-->
|
||||
<!-- Title: games::memory_game::assign_results Pages: 1 -->
|
||||
<svg width="427pt" height="322pt"
|
||||
viewBox="0.00 0.00 427.25 321.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">
|
||||
|
||||
<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 317.88)">
|
||||
<title>games::memory_game::assign_results</title>
|
||||
<!-- Node1 -->
|
||||
<g id="Node000001" class="node">
|
||||
<title>Node1</title>
|
||||
<g id="a_Node000001"><a xlink:title="Function to assign the results to the table.">
|
||||
<polygon fill="#999999" stroke="#666666" points="115.75,-135.88 0,-135.88 0,-105.38 115.75,-105.38 115.75,-135.88"/>
|
||||
<text text-anchor="start" x="8" y="-122.38" font-family="Helvetica,sans-Serif" font-size="10.00">games::memory_game</text>
|
||||
<text text-anchor="middle" x="57.88" y="-111.12" font-family="Helvetica,sans-Serif" font-size="10.00">::assign_results</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node1 -->
|
||||
<g id="edge6_Node000001_Node000001" class="edge">
|
||||
<title>Node1->Node1</title>
|
||||
<g id="a_edge6_Node000001_Node000001"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M30.98,-136.36C25.5,-145.43 34.46,-153.88 57.88,-153.88 70.68,-153.88 79.16,-151.35 83.32,-147.58"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="86.77,-148.23 84.57,-137.86 79.83,-147.33 86.77,-148.23"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node2 -->
|
||||
<g id="Node000002" class="node">
|
||||
<title>Node2</title>
|
||||
<g id="a_Node000002"><a xlink:href="../../d8/d41/namespacegames_1_1memory__game.html#a5714d97649c0edd57b4fb449799676a3" target="_top" xlink:title="Function that asks the user for their input in the table they previously chose.">
|
||||
<polygon fill="white" stroke="#666666" points="267.5,-215.88 151.75,-215.88 151.75,-185.38 267.5,-185.38 267.5,-215.88"/>
|
||||
<text text-anchor="start" x="159.75" y="-202.38" font-family="Helvetica,sans-Serif" font-size="10.00">games::memory_game</text>
|
||||
<text text-anchor="middle" x="209.62" y="-191.12" font-family="Helvetica,sans-Serif" font-size="10.00">::ask_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="M88.1,-136.24C111.22,-148.59 143.72,-165.95 169.15,-179.54"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="167.41,-182.58 177.88,-184.2 170.71,-176.4 167.41,-182.58"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node4 -->
|
||||
<g id="Node000004" class="node">
|
||||
<title>Node4</title>
|
||||
<g id="a_Node000004"><a xlink:href="../../d8/d41/namespacegames_1_1memory__game.html#ac589ef65abb0a6b9a7116ee0f9fd5280" target="_top" xlink:title="Utility function to print the table.">
|
||||
<polygon fill="white" stroke="#666666" points="419.25,-313.88 303.5,-313.88 303.5,-283.38 419.25,-283.38 419.25,-313.88"/>
|
||||
<text text-anchor="start" x="311.5" y="-300.38" font-family="Helvetica,sans-Serif" font-size="10.00">games::memory_game</text>
|
||||
<text text-anchor="middle" x="361.38" y="-289.12" font-family="Helvetica,sans-Serif" font-size="10.00">::print_table</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node4 -->
|
||||
<g id="edge14_Node000001_Node000004" class="edge">
|
||||
<title>Node1->Node4</title>
|
||||
<g id="a_edge14_Node000001_Node000004"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M69.01,-136.26C84.36,-158.79 115.58,-200.33 151.75,-224.62 194.45,-253.3 249.53,-272.22 292.37,-283.75"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="291.24,-287.07 301.8,-286.21 293.01,-280.29 291.24,-287.07"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node6 -->
|
||||
<g id="Node000006" class="node">
|
||||
<title>Node6</title>
|
||||
<g id="a_Node000006"><a xlink:href="../../d8/d41/namespacegames_1_1memory__game.html#ad573c8ae66ab66156d03e5e81bbba214" target="_top" xlink:title="Initializes the table with the letters.">
|
||||
<polygon fill="white" stroke="#666666" points="267.5,-135.88 151.75,-135.88 151.75,-105.38 267.5,-105.38 267.5,-135.88"/>
|
||||
<text text-anchor="start" x="159.75" y="-122.38" font-family="Helvetica,sans-Serif" font-size="10.00">games::memory_game</text>
|
||||
<text text-anchor="middle" x="209.62" y="-111.12" font-family="Helvetica,sans-Serif" font-size="10.00">::init</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node6 -->
|
||||
<g id="edge7_Node000001_Node000006" class="edge">
|
||||
<title>Node1->Node6</title>
|
||||
<g id="a_edge7_Node000001_Node000006"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M115.92,-120.62C123.89,-120.62 132.16,-120.62 140.32,-120.62"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="140.23,-124.13 150.23,-120.63 140.23,-117.13 140.23,-124.13"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node12 -->
|
||||
<g id="Node000012" class="node">
|
||||
<title>Node12</title>
|
||||
<g id="a_Node000012"><a xlink:href="../../d8/d41/namespacegames_1_1memory__game.html#a370760f2b328ad341bcb77d82fa17b01" target="_top" xlink:title="Checks if the two values given by the user match.">
|
||||
<polygon fill="white" stroke="#666666" points="267.5,-86.88 151.75,-86.88 151.75,-56.38 267.5,-56.38 267.5,-86.88"/>
|
||||
<text text-anchor="start" x="159.75" y="-73.38" font-family="Helvetica,sans-Serif" font-size="10.00">games::memory_game</text>
|
||||
<text text-anchor="middle" x="209.62" y="-62.12" font-family="Helvetica,sans-Serif" font-size="10.00">::match</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node12 -->
|
||||
<g id="edge13_Node000001_Node000012" class="edge">
|
||||
<title>Node1->Node12</title>
|
||||
<g id="a_edge13_Node000001_Node000012"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M106.67,-104.99C120.38,-100.5 135.49,-95.56 149.78,-90.88"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="150.66,-94.27 159.08,-87.84 148.48,-87.62 150.66,-94.27"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node13 -->
|
||||
<g id="Node000013" class="node">
|
||||
<title>Node13</title>
|
||||
<g id="a_Node000013"><a xlink:href="../../dd/d92/memory__game_8cpp.html#a5bdc30951221eae9c33413ff9eb574f6" target="_top" xlink:title="for sleep()">
|
||||
<polygon fill="white" stroke="#666666" points="233.75,-38.25 185.5,-38.25 185.5,-19 233.75,-19 233.75,-38.25"/>
|
||||
<text text-anchor="middle" x="209.62" y="-24.75" font-family="Helvetica,sans-Serif" font-size="10.00">SLEEP</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node13 -->
|
||||
<g id="edge15_Node000001_Node000013" class="edge">
|
||||
<title>Node1->Node13</title>
|
||||
<g id="a_edge15_Node000001_Node000013"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M75.09,-105C92.72,-88.74 122.32,-63.48 151.75,-47.62 158.77,-43.84 166.68,-40.62 174.32,-37.97"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="175.29,-41.33 183.74,-34.94 173.15,-34.67 175.29,-41.33"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node3 -->
|
||||
<g id="Node000003" class="node">
|
||||
<title>Node3</title>
|
||||
<g id="a_Node000003"><a xlink:href="../../d8/d41/namespacegames_1_1memory__game.html#a33167bb9cce6d527b478b4f6ae8c3f59" target="_top" xlink:title="Utility function to verify if the given input is a number or not. This is very useful to prevent the ...">
|
||||
<polygon fill="white" stroke="#666666" points="419.25,-264.88 303.5,-264.88 303.5,-234.38 419.25,-234.38 419.25,-264.88"/>
|
||||
<text text-anchor="start" x="311.5" y="-251.38" font-family="Helvetica,sans-Serif" font-size="10.00">games::memory_game</text>
|
||||
<text text-anchor="middle" x="361.38" y="-240.12" font-family="Helvetica,sans-Serif" font-size="10.00">::is_number</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node2->Node3 -->
|
||||
<g id="edge2_Node000002_Node000003" class="edge">
|
||||
<title>Node2->Node3</title>
|
||||
<g id="a_edge2_Node000002_Node000003"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M258.42,-216.26C272.13,-220.75 287.24,-225.69 301.53,-230.37"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="300.23,-233.63 310.83,-233.41 302.41,-226.98 300.23,-233.63"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node2->Node4 -->
|
||||
<g id="edge3_Node000002_Node000004" class="edge">
|
||||
<title>Node2->Node4</title>
|
||||
<g id="a_edge3_Node000002_Node000004"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M227.8,-216.31C245.75,-232.15 275.18,-256.64 303.5,-273.62 305.93,-275.08 308.46,-276.5 311.04,-277.88"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="309.31,-280.92 319.82,-282.28 312.44,-274.67 309.31,-280.92"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node5 -->
|
||||
<g id="Node000005" class="node">
|
||||
<title>Node5</title>
|
||||
<g id="a_Node000005"><a xlink:href="../../d8/d41/namespacegames_1_1memory__game.html#adc62ebb75853446656e24932bdc6dd6b" target="_top" xlink:title="Utility function that resets the data if the user enters an invalid value.">
|
||||
<polygon fill="white" stroke="#666666" points="419.25,-215.88 303.5,-215.88 303.5,-185.38 419.25,-185.38 419.25,-215.88"/>
|
||||
<text text-anchor="start" x="311.5" y="-202.38" font-family="Helvetica,sans-Serif" font-size="10.00">games::memory_game</text>
|
||||
<text text-anchor="middle" x="361.38" y="-191.12" font-family="Helvetica,sans-Serif" font-size="10.00">::reset_data</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node2->Node5 -->
|
||||
<g id="edge4_Node000002_Node000005" class="edge">
|
||||
<title>Node2->Node5</title>
|
||||
<g id="a_edge4_Node000002_Node000005"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M267.67,-194.05C275.64,-193.89 283.91,-193.84 292.07,-193.9"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="291.93,-197.4 301.98,-194.03 292.03,-190.4 291.93,-197.4"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node5->Node2 -->
|
||||
<g id="edge5_Node000005_Node000002" class="edge">
|
||||
<title>Node5->Node2</title>
|
||||
<g id="a_edge5_Node000005_Node000002"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M303.49,-207.2C295.52,-207.36 287.26,-207.41 279.09,-207.35"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="279.23,-203.85 269.18,-207.22 279.13,-210.85 279.23,-203.85"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node7 -->
|
||||
<g id="Node000007" class="node">
|
||||
<title>Node7</title>
|
||||
<g id="a_Node000007"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/vector/begin.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="407.25,-167.25 315.5,-167.25 315.5,-148 407.25,-148 407.25,-167.25"/>
|
||||
<text text-anchor="middle" x="361.38" y="-153.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::vector::begin</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node6->Node7 -->
|
||||
<g id="edge8_Node000006_Node000007" class="edge">
|
||||
<title>Node6->Node7</title>
|
||||
<g id="a_edge8_Node000006_Node000007"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M267.67,-134.72C281.23,-138.07 295.62,-141.62 308.91,-144.91"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="307.76,-148.23 318.31,-147.23 309.44,-141.43 307.76,-148.23"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node8 -->
|
||||
<g id="Node000008" class="node">
|
||||
<title>Node8</title>
|
||||
<g id="a_Node000008"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/vector/end.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="403.5,-130.25 319.25,-130.25 319.25,-111 403.5,-111 403.5,-130.25"/>
|
||||
<text text-anchor="middle" x="361.38" y="-116.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::vector::end</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node6->Node8 -->
|
||||
<g id="edge9_Node000006_Node000008" class="edge">
|
||||
<title>Node6->Node8</title>
|
||||
<g id="a_edge9_Node000006_Node000008"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M267.67,-120.62C280.7,-120.62 294.5,-120.62 307.36,-120.62"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="307.35,-124.13 317.35,-120.63 307.35,-117.13 307.35,-124.13"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node9 -->
|
||||
<g id="Node000009" class="node">
|
||||
<title>Node9</title>
|
||||
<g id="a_Node000009"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/vector/push_back.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="419.25,-93.25 303.5,-93.25 303.5,-74 419.25,-74 419.25,-93.25"/>
|
||||
<text text-anchor="middle" x="361.38" y="-79.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::vector::push_back</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node6->Node9 -->
|
||||
<g id="edge10_Node000006_Node000009" class="edge">
|
||||
<title>Node6->Node9</title>
|
||||
<g id="a_edge10_Node000006_Node000009"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M267.67,-106.53C281.23,-103.18 295.62,-99.63 308.91,-96.34"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="309.44,-99.82 318.31,-94.02 307.76,-93.02 309.44,-99.82"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node10 -->
|
||||
<g id="Node000010" class="node">
|
||||
<title>Node10</title>
|
||||
<g id="a_Node000010"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/algorithm/random_shuffle.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="393.75,-56.25 329,-56.25 329,-37 393.75,-37 393.75,-56.25"/>
|
||||
<text text-anchor="middle" x="361.38" y="-42.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::shuffle</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node6->Node10 -->
|
||||
<g id="edge11_Node000006_Node000010" class="edge">
|
||||
<title>Node6->Node10</title>
|
||||
<g id="a_edge11_Node000006_Node000010"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M250.57,-104.88C256.39,-102.07 262.21,-98.96 267.5,-95.62 285.36,-84.36 285.06,-74.91 303.5,-64.62 308.12,-62.05 313.16,-59.78 318.27,-57.81"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="319.02,-61.26 327.31,-54.66 316.71,-54.65 319.02,-61.26"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node11 -->
|
||||
<g id="Node000011" class="node">
|
||||
<title>Node11</title>
|
||||
<g id="a_Node000011"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/vector/size.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="404.62,-19.25 318.12,-19.25 318.12,0 404.62,0 404.62,-19.25"/>
|
||||
<text text-anchor="middle" x="361.38" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::vector::size</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node6->Node11 -->
|
||||
<g id="edge12_Node000006_Node000011" class="edge">
|
||||
<title>Node6->Node11</title>
|
||||
<g id="a_edge12_Node000006_Node000011"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M254.74,-104.91C259.34,-102.23 263.71,-99.15 267.5,-95.62 292.54,-72.34 277.24,-49.53 303.5,-27.62 304.95,-26.42 306.48,-25.29 308.07,-24.24"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="309.3,-27.55 316.42,-19.72 305.96,-21.4 309.3,-27.55"/>
|
||||
</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>
|
||||
|
After Width: | Height: | Size: 15 KiB |
@@ -0,0 +1,271 @@
|
||||
<?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 12.1.0 (20240811.2233)
|
||||
-->
|
||||
<!-- Title: games::memory_game::assign_results Pages: 1 -->
|
||||
<svg width="427pt" height="322pt"
|
||||
viewBox="0.00 0.00 427.25 321.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 317.88)">
|
||||
<title>games::memory_game::assign_results</title>
|
||||
<!-- Node1 -->
|
||||
<g id="Node000001" class="node">
|
||||
<title>Node1</title>
|
||||
<g id="a_Node000001"><a xlink:title="Function to assign the results to the table.">
|
||||
<polygon fill="#999999" stroke="#666666" points="115.75,-135.88 0,-135.88 0,-105.38 115.75,-105.38 115.75,-135.88"/>
|
||||
<text text-anchor="start" x="8" y="-122.38" font-family="Helvetica,sans-Serif" font-size="10.00">games::memory_game</text>
|
||||
<text text-anchor="middle" x="57.88" y="-111.12" font-family="Helvetica,sans-Serif" font-size="10.00">::assign_results</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node1 -->
|
||||
<g id="edge6_Node000001_Node000001" class="edge">
|
||||
<title>Node1->Node1</title>
|
||||
<g id="a_edge6_Node000001_Node000001"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M30.98,-136.36C25.5,-145.43 34.46,-153.88 57.88,-153.88 70.68,-153.88 79.16,-151.35 83.32,-147.58"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="86.77,-148.23 84.57,-137.86 79.83,-147.33 86.77,-148.23"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node2 -->
|
||||
<g id="Node000002" class="node">
|
||||
<title>Node2</title>
|
||||
<g id="a_Node000002"><a xlink:href="../../d8/d41/namespacegames_1_1memory__game.html#a5714d97649c0edd57b4fb449799676a3" target="_top" xlink:title="Function that asks the user for their input in the table they previously chose.">
|
||||
<polygon fill="white" stroke="#666666" points="267.5,-215.88 151.75,-215.88 151.75,-185.38 267.5,-185.38 267.5,-215.88"/>
|
||||
<text text-anchor="start" x="159.75" y="-202.38" font-family="Helvetica,sans-Serif" font-size="10.00">games::memory_game</text>
|
||||
<text text-anchor="middle" x="209.62" y="-191.12" font-family="Helvetica,sans-Serif" font-size="10.00">::ask_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="M88.1,-136.24C111.22,-148.59 143.72,-165.95 169.15,-179.54"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="167.41,-182.58 177.88,-184.2 170.71,-176.4 167.41,-182.58"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node4 -->
|
||||
<g id="Node000004" class="node">
|
||||
<title>Node4</title>
|
||||
<g id="a_Node000004"><a xlink:href="../../d8/d41/namespacegames_1_1memory__game.html#ac589ef65abb0a6b9a7116ee0f9fd5280" target="_top" xlink:title="Utility function to print the table.">
|
||||
<polygon fill="white" stroke="#666666" points="419.25,-313.88 303.5,-313.88 303.5,-283.38 419.25,-283.38 419.25,-313.88"/>
|
||||
<text text-anchor="start" x="311.5" y="-300.38" font-family="Helvetica,sans-Serif" font-size="10.00">games::memory_game</text>
|
||||
<text text-anchor="middle" x="361.38" y="-289.12" font-family="Helvetica,sans-Serif" font-size="10.00">::print_table</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node4 -->
|
||||
<g id="edge14_Node000001_Node000004" class="edge">
|
||||
<title>Node1->Node4</title>
|
||||
<g id="a_edge14_Node000001_Node000004"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M69.01,-136.26C84.36,-158.79 115.58,-200.33 151.75,-224.62 194.45,-253.3 249.53,-272.22 292.37,-283.75"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="291.24,-287.07 301.8,-286.21 293.01,-280.29 291.24,-287.07"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node6 -->
|
||||
<g id="Node000006" class="node">
|
||||
<title>Node6</title>
|
||||
<g id="a_Node000006"><a xlink:href="../../d8/d41/namespacegames_1_1memory__game.html#ad573c8ae66ab66156d03e5e81bbba214" target="_top" xlink:title="Initializes the table with the letters.">
|
||||
<polygon fill="white" stroke="#666666" points="267.5,-135.88 151.75,-135.88 151.75,-105.38 267.5,-105.38 267.5,-135.88"/>
|
||||
<text text-anchor="start" x="159.75" y="-122.38" font-family="Helvetica,sans-Serif" font-size="10.00">games::memory_game</text>
|
||||
<text text-anchor="middle" x="209.62" y="-111.12" font-family="Helvetica,sans-Serif" font-size="10.00">::init</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node6 -->
|
||||
<g id="edge7_Node000001_Node000006" class="edge">
|
||||
<title>Node1->Node6</title>
|
||||
<g id="a_edge7_Node000001_Node000006"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M115.92,-120.62C123.89,-120.62 132.16,-120.62 140.32,-120.62"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="140.23,-124.13 150.23,-120.63 140.23,-117.13 140.23,-124.13"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node12 -->
|
||||
<g id="Node000012" class="node">
|
||||
<title>Node12</title>
|
||||
<g id="a_Node000012"><a xlink:href="../../d8/d41/namespacegames_1_1memory__game.html#a370760f2b328ad341bcb77d82fa17b01" target="_top" xlink:title="Checks if the two values given by the user match.">
|
||||
<polygon fill="white" stroke="#666666" points="267.5,-86.88 151.75,-86.88 151.75,-56.38 267.5,-56.38 267.5,-86.88"/>
|
||||
<text text-anchor="start" x="159.75" y="-73.38" font-family="Helvetica,sans-Serif" font-size="10.00">games::memory_game</text>
|
||||
<text text-anchor="middle" x="209.62" y="-62.12" font-family="Helvetica,sans-Serif" font-size="10.00">::match</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node12 -->
|
||||
<g id="edge13_Node000001_Node000012" class="edge">
|
||||
<title>Node1->Node12</title>
|
||||
<g id="a_edge13_Node000001_Node000012"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M106.67,-104.99C120.38,-100.5 135.49,-95.56 149.78,-90.88"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="150.66,-94.27 159.08,-87.84 148.48,-87.62 150.66,-94.27"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node13 -->
|
||||
<g id="Node000013" class="node">
|
||||
<title>Node13</title>
|
||||
<g id="a_Node000013"><a xlink:href="../../dd/d92/memory__game_8cpp.html#a5bdc30951221eae9c33413ff9eb574f6" target="_top" xlink:title="for sleep()">
|
||||
<polygon fill="white" stroke="#666666" points="233.75,-38.25 185.5,-38.25 185.5,-19 233.75,-19 233.75,-38.25"/>
|
||||
<text text-anchor="middle" x="209.62" y="-24.75" font-family="Helvetica,sans-Serif" font-size="10.00">SLEEP</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node13 -->
|
||||
<g id="edge15_Node000001_Node000013" class="edge">
|
||||
<title>Node1->Node13</title>
|
||||
<g id="a_edge15_Node000001_Node000013"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M75.09,-105C92.72,-88.74 122.32,-63.48 151.75,-47.62 158.77,-43.84 166.68,-40.62 174.32,-37.97"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="175.29,-41.33 183.74,-34.94 173.15,-34.67 175.29,-41.33"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node3 -->
|
||||
<g id="Node000003" class="node">
|
||||
<title>Node3</title>
|
||||
<g id="a_Node000003"><a xlink:href="../../d8/d41/namespacegames_1_1memory__game.html#a33167bb9cce6d527b478b4f6ae8c3f59" target="_top" xlink:title="Utility function to verify if the given input is a number or not. This is very useful to prevent the ...">
|
||||
<polygon fill="white" stroke="#666666" points="419.25,-264.88 303.5,-264.88 303.5,-234.38 419.25,-234.38 419.25,-264.88"/>
|
||||
<text text-anchor="start" x="311.5" y="-251.38" font-family="Helvetica,sans-Serif" font-size="10.00">games::memory_game</text>
|
||||
<text text-anchor="middle" x="361.38" y="-240.12" font-family="Helvetica,sans-Serif" font-size="10.00">::is_number</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node2->Node3 -->
|
||||
<g id="edge2_Node000002_Node000003" class="edge">
|
||||
<title>Node2->Node3</title>
|
||||
<g id="a_edge2_Node000002_Node000003"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M258.42,-216.26C272.13,-220.75 287.24,-225.69 301.53,-230.37"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="300.23,-233.63 310.83,-233.41 302.41,-226.98 300.23,-233.63"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node2->Node4 -->
|
||||
<g id="edge3_Node000002_Node000004" class="edge">
|
||||
<title>Node2->Node4</title>
|
||||
<g id="a_edge3_Node000002_Node000004"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M227.8,-216.31C245.75,-232.15 275.18,-256.64 303.5,-273.62 305.93,-275.08 308.46,-276.5 311.04,-277.88"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="309.31,-280.92 319.82,-282.28 312.44,-274.67 309.31,-280.92"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node5 -->
|
||||
<g id="Node000005" class="node">
|
||||
<title>Node5</title>
|
||||
<g id="a_Node000005"><a xlink:href="../../d8/d41/namespacegames_1_1memory__game.html#adc62ebb75853446656e24932bdc6dd6b" target="_top" xlink:title="Utility function that resets the data if the user enters an invalid value.">
|
||||
<polygon fill="white" stroke="#666666" points="419.25,-215.88 303.5,-215.88 303.5,-185.38 419.25,-185.38 419.25,-215.88"/>
|
||||
<text text-anchor="start" x="311.5" y="-202.38" font-family="Helvetica,sans-Serif" font-size="10.00">games::memory_game</text>
|
||||
<text text-anchor="middle" x="361.38" y="-191.12" font-family="Helvetica,sans-Serif" font-size="10.00">::reset_data</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node2->Node5 -->
|
||||
<g id="edge4_Node000002_Node000005" class="edge">
|
||||
<title>Node2->Node5</title>
|
||||
<g id="a_edge4_Node000002_Node000005"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M267.67,-194.05C275.64,-193.89 283.91,-193.84 292.07,-193.9"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="291.93,-197.4 301.98,-194.03 292.03,-190.4 291.93,-197.4"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node5->Node2 -->
|
||||
<g id="edge5_Node000005_Node000002" class="edge">
|
||||
<title>Node5->Node2</title>
|
||||
<g id="a_edge5_Node000005_Node000002"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M303.49,-207.2C295.52,-207.36 287.26,-207.41 279.09,-207.35"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="279.23,-203.85 269.18,-207.22 279.13,-210.85 279.23,-203.85"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node7 -->
|
||||
<g id="Node000007" class="node">
|
||||
<title>Node7</title>
|
||||
<g id="a_Node000007"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/vector/begin.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="407.25,-167.25 315.5,-167.25 315.5,-148 407.25,-148 407.25,-167.25"/>
|
||||
<text text-anchor="middle" x="361.38" y="-153.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::vector::begin</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node6->Node7 -->
|
||||
<g id="edge8_Node000006_Node000007" class="edge">
|
||||
<title>Node6->Node7</title>
|
||||
<g id="a_edge8_Node000006_Node000007"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M267.67,-134.72C281.23,-138.07 295.62,-141.62 308.91,-144.91"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="307.76,-148.23 318.31,-147.23 309.44,-141.43 307.76,-148.23"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node8 -->
|
||||
<g id="Node000008" class="node">
|
||||
<title>Node8</title>
|
||||
<g id="a_Node000008"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/vector/end.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="403.5,-130.25 319.25,-130.25 319.25,-111 403.5,-111 403.5,-130.25"/>
|
||||
<text text-anchor="middle" x="361.38" y="-116.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::vector::end</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node6->Node8 -->
|
||||
<g id="edge9_Node000006_Node000008" class="edge">
|
||||
<title>Node6->Node8</title>
|
||||
<g id="a_edge9_Node000006_Node000008"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M267.67,-120.62C280.7,-120.62 294.5,-120.62 307.36,-120.62"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="307.35,-124.13 317.35,-120.63 307.35,-117.13 307.35,-124.13"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node9 -->
|
||||
<g id="Node000009" class="node">
|
||||
<title>Node9</title>
|
||||
<g id="a_Node000009"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/vector/push_back.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="419.25,-93.25 303.5,-93.25 303.5,-74 419.25,-74 419.25,-93.25"/>
|
||||
<text text-anchor="middle" x="361.38" y="-79.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::vector::push_back</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node6->Node9 -->
|
||||
<g id="edge10_Node000006_Node000009" class="edge">
|
||||
<title>Node6->Node9</title>
|
||||
<g id="a_edge10_Node000006_Node000009"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M267.67,-106.53C281.23,-103.18 295.62,-99.63 308.91,-96.34"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="309.44,-99.82 318.31,-94.02 307.76,-93.02 309.44,-99.82"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node10 -->
|
||||
<g id="Node000010" class="node">
|
||||
<title>Node10</title>
|
||||
<g id="a_Node000010"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/algorithm/random_shuffle.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="393.75,-56.25 329,-56.25 329,-37 393.75,-37 393.75,-56.25"/>
|
||||
<text text-anchor="middle" x="361.38" y="-42.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::shuffle</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node6->Node10 -->
|
||||
<g id="edge11_Node000006_Node000010" class="edge">
|
||||
<title>Node6->Node10</title>
|
||||
<g id="a_edge11_Node000006_Node000010"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M250.57,-104.88C256.39,-102.07 262.21,-98.96 267.5,-95.62 285.36,-84.36 285.06,-74.91 303.5,-64.62 308.12,-62.05 313.16,-59.78 318.27,-57.81"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="319.02,-61.26 327.31,-54.66 316.71,-54.65 319.02,-61.26"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node11 -->
|
||||
<g id="Node000011" class="node">
|
||||
<title>Node11</title>
|
||||
<g id="a_Node000011"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/vector/size.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="404.62,-19.25 318.12,-19.25 318.12,0 404.62,0 404.62,-19.25"/>
|
||||
<text text-anchor="middle" x="361.38" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::vector::size</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node6->Node11 -->
|
||||
<g id="edge12_Node000006_Node000011" class="edge">
|
||||
<title>Node6->Node11</title>
|
||||
<g id="a_edge12_Node000006_Node000011"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M254.74,-104.91C259.34,-102.23 263.71,-99.15 267.5,-95.62 292.54,-72.34 277.24,-49.53 303.5,-27.62 304.95,-26.42 306.48,-25.29 308.07,-24.24"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="309.3,-27.55 316.42,-19.72 305.96,-21.4 309.3,-27.55"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 14 KiB |
@@ -0,0 +1,10 @@
|
||||
<map id="games::memory_game::ask_data" name="games::memory_game::ask_data">
|
||||
<area shape="rect" id="Node000001" title="Function that asks the user for their input in the table they previously chose." alt="" coords="5,104,160,145"/>
|
||||
<area shape="rect" id="Node000002" href="$d8/d41/namespacegames_1_1memory__game.html#a33167bb9cce6d527b478b4f6ae8c3f59" title="Utility function to verify if the given input is a number or not. This is very useful to prevent the ..." alt="" coords="208,5,362,46"/>
|
||||
<area shape="poly" id="edge1_Node000001_Node000002" title=" " alt="" coords="120,101,206,57,220,50,222,55,209,61,123,106"/>
|
||||
<area shape="rect" id="Node000003" href="$d8/d41/namespacegames_1_1memory__game.html#ac589ef65abb0a6b9a7116ee0f9fd5280" title="Utility function to print the table." alt="" coords="208,71,362,111"/>
|
||||
<area shape="poly" id="edge2_Node000001_Node000003" title=" " alt="" coords="159,109,192,104,193,109,160,114"/>
|
||||
<area shape="rect" id="Node000004" href="$d8/d41/namespacegames_1_1memory__game.html#adc62ebb75853446656e24932bdc6dd6b" title="Utility function that resets the data if the user enters an invalid value." alt="" coords="208,136,362,177"/>
|
||||
<area shape="poly" id="edge3_Node000001_Node000004" title=" " alt="" coords="160,143,193,148,192,153,159,148"/>
|
||||
<area shape="poly" id="edge4_Node000004_Node000001" title=" " alt="" coords="207,138,174,133,175,127,208,133"/>
|
||||
</map>
|
||||
@@ -0,0 +1 @@
|
||||
451a16107d2064575ae2d337b781fe5f
|
||||
@@ -0,0 +1,114 @@
|
||||
<?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 12.1.0 (20240811.2233)
|
||||
-->
|
||||
<!-- Title: games::memory_game::ask_data Pages: 1 -->
|
||||
<svg width="276pt" height="137pt"
|
||||
viewBox="0.00 0.00 275.50 136.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">
|
||||
|
||||
<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 132.5)">
|
||||
<title>games::memory_game::ask_data</title>
|
||||
<!-- Node1 -->
|
||||
<g id="Node000001" class="node">
|
||||
<title>Node1</title>
|
||||
<g id="a_Node000001"><a xlink:title="Function that asks the user for their input in the table they previously chose.">
|
||||
<polygon fill="#999999" stroke="#666666" points="115.75,-54.5 0,-54.5 0,-24 115.75,-24 115.75,-54.5"/>
|
||||
<text text-anchor="start" x="8" y="-41" font-family="Helvetica,sans-Serif" font-size="10.00">games::memory_game</text>
|
||||
<text text-anchor="middle" x="57.88" y="-29.75" font-family="Helvetica,sans-Serif" font-size="10.00">::ask_data</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node2 -->
|
||||
<g id="Node000002" class="node">
|
||||
<title>Node2</title>
|
||||
<g id="a_Node000002"><a xlink:href="../../d8/d41/namespacegames_1_1memory__game.html#a33167bb9cce6d527b478b4f6ae8c3f59" target="_top" xlink:title="Utility function to verify if the given input is a number or not. This is very useful to prevent the ...">
|
||||
<polygon fill="white" stroke="#666666" points="267.5,-128.5 151.75,-128.5 151.75,-98 267.5,-98 267.5,-128.5"/>
|
||||
<text text-anchor="start" x="159.75" y="-115" font-family="Helvetica,sans-Serif" font-size="10.00">games::memory_game</text>
|
||||
<text text-anchor="middle" x="209.62" y="-103.75" font-family="Helvetica,sans-Serif" font-size="10.00">::is_number</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="M87.06,-54.79C105.34,-64.7 129.75,-77.63 151.75,-88.25 155,-89.82 158.38,-91.41 161.79,-92.98"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="160.11,-96.06 170.66,-97 163,-89.69 160.11,-96.06"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node3 -->
|
||||
<g id="Node000003" class="node">
|
||||
<title>Node3</title>
|
||||
<g id="a_Node000003"><a xlink:href="../../d8/d41/namespacegames_1_1memory__game.html#ac589ef65abb0a6b9a7116ee0f9fd5280" target="_top" xlink:title="Utility function to print the table.">
|
||||
<polygon fill="white" stroke="#666666" points="267.5,-79.5 151.75,-79.5 151.75,-49 267.5,-49 267.5,-79.5"/>
|
||||
<text text-anchor="start" x="159.75" y="-66" font-family="Helvetica,sans-Serif" font-size="10.00">games::memory_game</text>
|
||||
<text text-anchor="middle" x="209.62" y="-54.75" font-family="Helvetica,sans-Serif" font-size="10.00">::print_table</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node3 -->
|
||||
<g id="edge2_Node000001_Node000003" class="edge">
|
||||
<title>Node1->Node3</title>
|
||||
<g id="a_edge2_Node000001_Node000003"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M115.92,-48.77C123.99,-50.12 132.35,-51.52 140.6,-52.89"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="139.81,-56.31 150.25,-54.5 140.96,-49.41 139.81,-56.31"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node4 -->
|
||||
<g id="Node000004" class="node">
|
||||
<title>Node4</title>
|
||||
<g id="a_Node000004"><a xlink:href="../../d8/d41/namespacegames_1_1memory__game.html#adc62ebb75853446656e24932bdc6dd6b" target="_top" xlink:title="Utility function that resets the data if the user enters an invalid value.">
|
||||
<polygon fill="white" stroke="#666666" points="267.5,-30.5 151.75,-30.5 151.75,0 267.5,0 267.5,-30.5"/>
|
||||
<text text-anchor="start" x="159.75" y="-17" font-family="Helvetica,sans-Serif" font-size="10.00">games::memory_game</text>
|
||||
<text text-anchor="middle" x="209.62" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">::reset_data</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node4 -->
|
||||
<g id="edge3_Node000001_Node000004" class="edge">
|
||||
<title>Node1->Node4</title>
|
||||
<g id="a_edge3_Node000001_Node000004"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M115.92,-23.53C123.99,-22.08 132.35,-20.69 140.6,-19.43"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="140.86,-22.93 150.24,-18.01 139.84,-16 140.86,-22.93"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node4->Node1 -->
|
||||
<g id="edge4_Node000004_Node000001" class="edge">
|
||||
<title>Node4->Node1</title>
|
||||
<g id="a_edge4_Node000004_Node000001"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M151.74,-30.94C143.68,-32.39 135.32,-33.78 127.06,-35.05"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="126.8,-31.55 117.41,-36.47 127.82,-38.47 126.8,-31.55"/>
|
||||
</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>
|
||||
|
After Width: | Height: | Size: 5.3 KiB |
@@ -0,0 +1,88 @@
|
||||
<?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 12.1.0 (20240811.2233)
|
||||
-->
|
||||
<!-- Title: games::memory_game::ask_data Pages: 1 -->
|
||||
<svg width="276pt" height="137pt"
|
||||
viewBox="0.00 0.00 275.50 136.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 132.5)">
|
||||
<title>games::memory_game::ask_data</title>
|
||||
<!-- Node1 -->
|
||||
<g id="Node000001" class="node">
|
||||
<title>Node1</title>
|
||||
<g id="a_Node000001"><a xlink:title="Function that asks the user for their input in the table they previously chose.">
|
||||
<polygon fill="#999999" stroke="#666666" points="115.75,-54.5 0,-54.5 0,-24 115.75,-24 115.75,-54.5"/>
|
||||
<text text-anchor="start" x="8" y="-41" font-family="Helvetica,sans-Serif" font-size="10.00">games::memory_game</text>
|
||||
<text text-anchor="middle" x="57.88" y="-29.75" font-family="Helvetica,sans-Serif" font-size="10.00">::ask_data</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node2 -->
|
||||
<g id="Node000002" class="node">
|
||||
<title>Node2</title>
|
||||
<g id="a_Node000002"><a xlink:href="../../d8/d41/namespacegames_1_1memory__game.html#a33167bb9cce6d527b478b4f6ae8c3f59" target="_top" xlink:title="Utility function to verify if the given input is a number or not. This is very useful to prevent the ...">
|
||||
<polygon fill="white" stroke="#666666" points="267.5,-128.5 151.75,-128.5 151.75,-98 267.5,-98 267.5,-128.5"/>
|
||||
<text text-anchor="start" x="159.75" y="-115" font-family="Helvetica,sans-Serif" font-size="10.00">games::memory_game</text>
|
||||
<text text-anchor="middle" x="209.62" y="-103.75" font-family="Helvetica,sans-Serif" font-size="10.00">::is_number</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="M87.06,-54.79C105.34,-64.7 129.75,-77.63 151.75,-88.25 155,-89.82 158.38,-91.41 161.79,-92.98"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="160.11,-96.06 170.66,-97 163,-89.69 160.11,-96.06"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node3 -->
|
||||
<g id="Node000003" class="node">
|
||||
<title>Node3</title>
|
||||
<g id="a_Node000003"><a xlink:href="../../d8/d41/namespacegames_1_1memory__game.html#ac589ef65abb0a6b9a7116ee0f9fd5280" target="_top" xlink:title="Utility function to print the table.">
|
||||
<polygon fill="white" stroke="#666666" points="267.5,-79.5 151.75,-79.5 151.75,-49 267.5,-49 267.5,-79.5"/>
|
||||
<text text-anchor="start" x="159.75" y="-66" font-family="Helvetica,sans-Serif" font-size="10.00">games::memory_game</text>
|
||||
<text text-anchor="middle" x="209.62" y="-54.75" font-family="Helvetica,sans-Serif" font-size="10.00">::print_table</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node3 -->
|
||||
<g id="edge2_Node000001_Node000003" class="edge">
|
||||
<title>Node1->Node3</title>
|
||||
<g id="a_edge2_Node000001_Node000003"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M115.92,-48.77C123.99,-50.12 132.35,-51.52 140.6,-52.89"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="139.81,-56.31 150.25,-54.5 140.96,-49.41 139.81,-56.31"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node4 -->
|
||||
<g id="Node000004" class="node">
|
||||
<title>Node4</title>
|
||||
<g id="a_Node000004"><a xlink:href="../../d8/d41/namespacegames_1_1memory__game.html#adc62ebb75853446656e24932bdc6dd6b" target="_top" xlink:title="Utility function that resets the data if the user enters an invalid value.">
|
||||
<polygon fill="white" stroke="#666666" points="267.5,-30.5 151.75,-30.5 151.75,0 267.5,0 267.5,-30.5"/>
|
||||
<text text-anchor="start" x="159.75" y="-17" font-family="Helvetica,sans-Serif" font-size="10.00">games::memory_game</text>
|
||||
<text text-anchor="middle" x="209.62" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">::reset_data</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node4 -->
|
||||
<g id="edge3_Node000001_Node000004" class="edge">
|
||||
<title>Node1->Node4</title>
|
||||
<g id="a_edge3_Node000001_Node000004"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M115.92,-23.53C123.99,-22.08 132.35,-20.69 140.6,-19.43"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="140.86,-22.93 150.24,-18.01 139.84,-16 140.86,-22.93"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node4->Node1 -->
|
||||
<g id="edge4_Node000004_Node000001" class="edge">
|
||||
<title>Node4->Node1</title>
|
||||
<g id="a_edge4_Node000004_Node000001"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M151.74,-30.94C143.68,-32.39 135.32,-33.78 127.06,-35.05"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="126.8,-31.55 117.41,-36.47 127.82,-38.47 126.8,-31.55"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 4.6 KiB |
@@ -0,0 +1,13 @@
|
||||
<map id="games::memory_game::init" name="games::memory_game::init">
|
||||
<area shape="rect" id="Node000001" title="Initializes the table with the letters." alt="" coords="5,96,160,137"/>
|
||||
<area shape="rect" id="Node000002" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/vector/begin.html#" title=" " alt="" coords="224,5,346,31"/>
|
||||
<area shape="poly" id="edge1_Node000001_Node000002" title=" " alt="" coords="112,94,156,66,207,40,220,34,222,39,209,45,159,71,115,98"/>
|
||||
<area shape="rect" id="Node000003" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/vector/end.html#" title=" " alt="" coords="229,55,341,80"/>
|
||||
<area shape="poly" id="edge2_Node000001_Node000003" title=" " alt="" coords="159,95,214,82,216,87,161,101"/>
|
||||
<area shape="rect" id="Node000004" 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="208,104,362,130"/>
|
||||
<area shape="poly" id="edge3_Node000001_Node000004" title=" " alt="" coords="160,114,192,114,192,120,160,120"/>
|
||||
<area shape="rect" id="Node000005" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/algorithm/random_shuffle.html#" title=" " alt="" coords="242,153,328,179"/>
|
||||
<area shape="poly" id="edge4_Node000001_Node000005" title=" " alt="" coords="161,133,227,150,226,155,159,138"/>
|
||||
<area shape="rect" id="Node000006" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/vector/size.html#" title=" " alt="" coords="227,203,342,228"/>
|
||||
<area shape="poly" id="edge5_Node000001_Node000006" title=" " alt="" coords="115,135,159,163,209,189,222,194,220,199,207,194,156,167,112,140"/>
|
||||
</map>
|
||||
@@ -0,0 +1 @@
|
||||
78293c1a9b92bd6304e5a97e384752e4
|
||||
@@ -0,0 +1,138 @@
|
||||
<?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 12.1.0 (20240811.2233)
|
||||
-->
|
||||
<!-- Title: games::memory_game::init Pages: 1 -->
|
||||
<svg width="276pt" height="175pt"
|
||||
viewBox="0.00 0.00 275.50 175.25" 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">
|
||||
|
||||
<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 171.25)">
|
||||
<title>games::memory_game::init</title>
|
||||
<!-- Node1 -->
|
||||
<g id="Node000001" class="node">
|
||||
<title>Node1</title>
|
||||
<g id="a_Node000001"><a xlink:title="Initializes the table with the letters.">
|
||||
<polygon fill="#999999" stroke="#666666" points="115.75,-98.88 0,-98.88 0,-68.38 115.75,-68.38 115.75,-98.88"/>
|
||||
<text text-anchor="start" x="8" y="-85.38" font-family="Helvetica,sans-Serif" font-size="10.00">games::memory_game</text>
|
||||
<text text-anchor="middle" x="57.88" y="-74.12" font-family="Helvetica,sans-Serif" font-size="10.00">::init</text>
|
||||
</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/begin.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="255.5,-167.25 163.75,-167.25 163.75,-148 255.5,-148 255.5,-167.25"/>
|
||||
<text text-anchor="middle" x="209.62" y="-153.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::vector::begin</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="M81.33,-99.24C99.65,-111.45 126.53,-128.22 151.75,-139.62 154.9,-141.05 158.2,-142.41 161.56,-143.7"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="160.32,-146.97 170.92,-147.05 162.68,-140.38 160.32,-146.97"/>
|
||||
</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/end.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="251.75,-130.25 167.5,-130.25 167.5,-111 251.75,-111 251.75,-130.25"/>
|
||||
<text text-anchor="middle" x="209.62" y="-116.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::vector::end</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node3 -->
|
||||
<g id="edge2_Node000001_Node000003" class="edge">
|
||||
<title>Node1->Node3</title>
|
||||
<g id="a_edge2_Node000001_Node000003"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M115.92,-97.72C129.48,-101.07 143.87,-104.62 157.16,-107.91"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="156.01,-111.23 166.56,-110.23 157.69,-104.43 156.01,-111.23"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node4 -->
|
||||
<g id="Node000004" class="node">
|
||||
<title>Node4</title>
|
||||
<g id="a_Node000004"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/vector/push_back.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="267.5,-93.25 151.75,-93.25 151.75,-74 267.5,-74 267.5,-93.25"/>
|
||||
<text text-anchor="middle" x="209.62" y="-79.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::vector::push_back</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node4 -->
|
||||
<g id="edge3_Node000001_Node000004" class="edge">
|
||||
<title>Node1->Node4</title>
|
||||
<g id="a_edge3_Node000001_Node000004"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M115.92,-83.62C123.89,-83.62 132.16,-83.62 140.32,-83.62"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="140.23,-87.13 150.23,-83.63 140.23,-80.13 140.23,-87.13"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node5 -->
|
||||
<g id="Node000005" class="node">
|
||||
<title>Node5</title>
|
||||
<g id="a_Node000005"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/algorithm/random_shuffle.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="242,-56.25 177.25,-56.25 177.25,-37 242,-37 242,-56.25"/>
|
||||
<text text-anchor="middle" x="209.62" y="-42.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::shuffle</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node5 -->
|
||||
<g id="edge4_Node000001_Node000005" class="edge">
|
||||
<title>Node1->Node5</title>
|
||||
<g id="a_edge4_Node000001_Node000005"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M115.92,-69.53C132.54,-65.42 150.42,-61.01 165.99,-57.16"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="166.54,-60.63 175.4,-54.83 164.86,-53.83 166.54,-60.63"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node6 -->
|
||||
<g id="Node000006" class="node">
|
||||
<title>Node6</title>
|
||||
<g id="a_Node000006"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/vector/size.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="252.88,-19.25 166.38,-19.25 166.38,0 252.88,0 252.88,-19.25"/>
|
||||
<text text-anchor="middle" x="209.62" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::vector::size</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node6 -->
|
||||
<g id="edge5_Node000001_Node000006" class="edge">
|
||||
<title>Node1->Node6</title>
|
||||
<g id="a_edge5_Node000001_Node000006"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M81.33,-68.01C99.65,-55.8 126.53,-39.03 151.75,-27.62 154.9,-26.2 158.2,-24.84 161.56,-23.55"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="162.68,-26.87 170.92,-20.2 160.32,-20.28 162.68,-26.87"/>
|
||||
</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>
|
||||
|
After Width: | Height: | Size: 6.0 KiB |
@@ -0,0 +1,112 @@
|
||||
<?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 12.1.0 (20240811.2233)
|
||||
-->
|
||||
<!-- Title: games::memory_game::init Pages: 1 -->
|
||||
<svg width="276pt" height="175pt"
|
||||
viewBox="0.00 0.00 275.50 175.25" 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 171.25)">
|
||||
<title>games::memory_game::init</title>
|
||||
<!-- Node1 -->
|
||||
<g id="Node000001" class="node">
|
||||
<title>Node1</title>
|
||||
<g id="a_Node000001"><a xlink:title="Initializes the table with the letters.">
|
||||
<polygon fill="#999999" stroke="#666666" points="115.75,-98.88 0,-98.88 0,-68.38 115.75,-68.38 115.75,-98.88"/>
|
||||
<text text-anchor="start" x="8" y="-85.38" font-family="Helvetica,sans-Serif" font-size="10.00">games::memory_game</text>
|
||||
<text text-anchor="middle" x="57.88" y="-74.12" font-family="Helvetica,sans-Serif" font-size="10.00">::init</text>
|
||||
</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/begin.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="255.5,-167.25 163.75,-167.25 163.75,-148 255.5,-148 255.5,-167.25"/>
|
||||
<text text-anchor="middle" x="209.62" y="-153.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::vector::begin</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="M81.33,-99.24C99.65,-111.45 126.53,-128.22 151.75,-139.62 154.9,-141.05 158.2,-142.41 161.56,-143.7"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="160.32,-146.97 170.92,-147.05 162.68,-140.38 160.32,-146.97"/>
|
||||
</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/end.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="251.75,-130.25 167.5,-130.25 167.5,-111 251.75,-111 251.75,-130.25"/>
|
||||
<text text-anchor="middle" x="209.62" y="-116.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::vector::end</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node3 -->
|
||||
<g id="edge2_Node000001_Node000003" class="edge">
|
||||
<title>Node1->Node3</title>
|
||||
<g id="a_edge2_Node000001_Node000003"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M115.92,-97.72C129.48,-101.07 143.87,-104.62 157.16,-107.91"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="156.01,-111.23 166.56,-110.23 157.69,-104.43 156.01,-111.23"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node4 -->
|
||||
<g id="Node000004" class="node">
|
||||
<title>Node4</title>
|
||||
<g id="a_Node000004"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/vector/push_back.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="267.5,-93.25 151.75,-93.25 151.75,-74 267.5,-74 267.5,-93.25"/>
|
||||
<text text-anchor="middle" x="209.62" y="-79.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::vector::push_back</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node4 -->
|
||||
<g id="edge3_Node000001_Node000004" class="edge">
|
||||
<title>Node1->Node4</title>
|
||||
<g id="a_edge3_Node000001_Node000004"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M115.92,-83.62C123.89,-83.62 132.16,-83.62 140.32,-83.62"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="140.23,-87.13 150.23,-83.63 140.23,-80.13 140.23,-87.13"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node5 -->
|
||||
<g id="Node000005" class="node">
|
||||
<title>Node5</title>
|
||||
<g id="a_Node000005"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/algorithm/random_shuffle.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="242,-56.25 177.25,-56.25 177.25,-37 242,-37 242,-56.25"/>
|
||||
<text text-anchor="middle" x="209.62" y="-42.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::shuffle</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node5 -->
|
||||
<g id="edge4_Node000001_Node000005" class="edge">
|
||||
<title>Node1->Node5</title>
|
||||
<g id="a_edge4_Node000001_Node000005"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M115.92,-69.53C132.54,-65.42 150.42,-61.01 165.99,-57.16"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="166.54,-60.63 175.4,-54.83 164.86,-53.83 166.54,-60.63"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node6 -->
|
||||
<g id="Node000006" class="node">
|
||||
<title>Node6</title>
|
||||
<g id="a_Node000006"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/vector/size.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="252.88,-19.25 166.38,-19.25 166.38,0 252.88,0 252.88,-19.25"/>
|
||||
<text text-anchor="middle" x="209.62" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::vector::size</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node6 -->
|
||||
<g id="edge5_Node000001_Node000006" class="edge">
|
||||
<title>Node1->Node6</title>
|
||||
<g id="a_edge5_Node000001_Node000006"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M81.33,-68.01C99.65,-55.8 126.53,-39.03 151.75,-27.62 154.9,-26.2 158.2,-24.84 161.56,-23.55"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="162.68,-26.87 170.92,-20.2 160.32,-20.28 162.68,-26.87"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 5.3 KiB |
@@ -0,0 +1,10 @@
|
||||
<map id="games::memory_game::reset_data" name="games::memory_game::reset_data">
|
||||
<area shape="rect" id="Node000001" title="Utility function that resets the data if the user enters an invalid value." alt="" coords="5,39,160,79"/>
|
||||
<area shape="rect" id="Node000002" href="$d8/d41/namespacegames_1_1memory__game.html#a5714d97649c0edd57b4fb449799676a3" title="Function that asks the user for their input in the table they previously chose." alt="" coords="208,39,362,79"/>
|
||||
<area shape="poly" id="edge1_Node000001_Node000002" title=" " alt="" coords="160,65,192,65,192,71,160,70"/>
|
||||
<area shape="poly" id="edge4_Node000002_Node000001" title=" " alt="" coords="208,53,175,53,175,47,208,48"/>
|
||||
<area shape="rect" id="Node000003" href="$d8/d41/namespacegames_1_1memory__game.html#a33167bb9cce6d527b478b4f6ae8c3f59" title="Utility function to verify if the given input is a number or not. This is very useful to prevent the ..." alt="" coords="410,5,564,46"/>
|
||||
<area shape="poly" id="edge2_Node000002_Node000003" title=" " alt="" coords="362,44,395,38,396,43,363,49"/>
|
||||
<area shape="rect" id="Node000004" href="$d8/d41/namespacegames_1_1memory__game.html#ac589ef65abb0a6b9a7116ee0f9fd5280" title="Utility function to print the table." alt="" coords="410,71,564,111"/>
|
||||
<area shape="poly" id="edge3_Node000002_Node000004" title=" " alt="" coords="363,69,396,74,395,79,362,74"/>
|
||||
</map>
|
||||
@@ -0,0 +1 @@
|
||||
481fe24a59ab63f100e195c9e694a7e3
|
||||
@@ -0,0 +1,114 @@
|
||||
<?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 12.1.0 (20240811.2233)
|
||||
-->
|
||||
<!-- Title: games::memory_game::reset_data Pages: 1 -->
|
||||
<svg width="427pt" height="88pt"
|
||||
viewBox="0.00 0.00 427.25 87.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">
|
||||
|
||||
<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 83.5)">
|
||||
<title>games::memory_game::reset_data</title>
|
||||
<!-- Node1 -->
|
||||
<g id="Node000001" class="node">
|
||||
<title>Node1</title>
|
||||
<g id="a_Node000001"><a xlink:title="Utility function that resets the data if the user enters an invalid value.">
|
||||
<polygon fill="#999999" stroke="#666666" points="115.75,-54.5 0,-54.5 0,-24 115.75,-24 115.75,-54.5"/>
|
||||
<text text-anchor="start" x="8" y="-41" font-family="Helvetica,sans-Serif" font-size="10.00">games::memory_game</text>
|
||||
<text text-anchor="middle" x="57.88" y="-29.75" font-family="Helvetica,sans-Serif" font-size="10.00">::reset_data</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node2 -->
|
||||
<g id="Node000002" class="node">
|
||||
<title>Node2</title>
|
||||
<g id="a_Node000002"><a xlink:href="../../d8/d41/namespacegames_1_1memory__game.html#a5714d97649c0edd57b4fb449799676a3" target="_top" xlink:title="Function that asks the user for their input in the table they previously chose.">
|
||||
<polygon fill="white" stroke="#666666" points="267.5,-54.5 151.75,-54.5 151.75,-24 267.5,-24 267.5,-54.5"/>
|
||||
<text text-anchor="start" x="159.75" y="-41" font-family="Helvetica,sans-Serif" font-size="10.00">games::memory_game</text>
|
||||
<text text-anchor="middle" x="209.62" y="-29.75" font-family="Helvetica,sans-Serif" font-size="10.00">::ask_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="M115.92,-32.67C123.89,-32.52 132.16,-32.47 140.32,-32.52"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="140.18,-36.02 150.23,-32.66 140.28,-29.02 140.18,-36.02"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node2->Node1 -->
|
||||
<g id="edge4_Node000002_Node000001" class="edge">
|
||||
<title>Node2->Node1</title>
|
||||
<g id="a_edge4_Node000002_Node000001"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M151.74,-45.82C143.77,-45.98 135.51,-46.03 127.34,-45.98"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="127.48,-42.48 117.43,-45.85 127.38,-49.48 127.48,-42.48"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node3 -->
|
||||
<g id="Node000003" class="node">
|
||||
<title>Node3</title>
|
||||
<g id="a_Node000003"><a xlink:href="../../d8/d41/namespacegames_1_1memory__game.html#a33167bb9cce6d527b478b4f6ae8c3f59" target="_top" xlink:title="Utility function to verify if the given input is a number or not. This is very useful to prevent the ...">
|
||||
<polygon fill="white" stroke="#666666" points="419.25,-79.5 303.5,-79.5 303.5,-49 419.25,-49 419.25,-79.5"/>
|
||||
<text text-anchor="start" x="311.5" y="-66" font-family="Helvetica,sans-Serif" font-size="10.00">games::memory_game</text>
|
||||
<text text-anchor="middle" x="361.38" y="-54.75" font-family="Helvetica,sans-Serif" font-size="10.00">::is_number</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node2->Node3 -->
|
||||
<g id="edge2_Node000002_Node000003" class="edge">
|
||||
<title>Node2->Node3</title>
|
||||
<g id="a_edge2_Node000002_Node000003"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M267.67,-48.77C275.74,-50.12 284.1,-51.52 292.35,-52.89"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="291.56,-56.31 302,-54.5 292.71,-49.41 291.56,-56.31"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node4 -->
|
||||
<g id="Node000004" class="node">
|
||||
<title>Node4</title>
|
||||
<g id="a_Node000004"><a xlink:href="../../d8/d41/namespacegames_1_1memory__game.html#ac589ef65abb0a6b9a7116ee0f9fd5280" target="_top" xlink:title="Utility function to print the table.">
|
||||
<polygon fill="white" stroke="#666666" points="419.25,-30.5 303.5,-30.5 303.5,0 419.25,0 419.25,-30.5"/>
|
||||
<text text-anchor="start" x="311.5" y="-17" font-family="Helvetica,sans-Serif" font-size="10.00">games::memory_game</text>
|
||||
<text text-anchor="middle" x="361.38" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">::print_table</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node2->Node4 -->
|
||||
<g id="edge3_Node000002_Node000004" class="edge">
|
||||
<title>Node2->Node4</title>
|
||||
<g id="a_edge3_Node000002_Node000004"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M267.67,-30.11C275.74,-28.81 284.1,-27.47 292.35,-26.15"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="292.68,-29.64 302,-24.61 291.57,-22.73 292.68,-29.64"/>
|
||||
</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>
|
||||
|
After Width: | Height: | Size: 5.3 KiB |
@@ -0,0 +1,88 @@
|
||||
<?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 12.1.0 (20240811.2233)
|
||||
-->
|
||||
<!-- Title: games::memory_game::reset_data Pages: 1 -->
|
||||
<svg width="427pt" height="88pt"
|
||||
viewBox="0.00 0.00 427.25 87.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 83.5)">
|
||||
<title>games::memory_game::reset_data</title>
|
||||
<!-- Node1 -->
|
||||
<g id="Node000001" class="node">
|
||||
<title>Node1</title>
|
||||
<g id="a_Node000001"><a xlink:title="Utility function that resets the data if the user enters an invalid value.">
|
||||
<polygon fill="#999999" stroke="#666666" points="115.75,-54.5 0,-54.5 0,-24 115.75,-24 115.75,-54.5"/>
|
||||
<text text-anchor="start" x="8" y="-41" font-family="Helvetica,sans-Serif" font-size="10.00">games::memory_game</text>
|
||||
<text text-anchor="middle" x="57.88" y="-29.75" font-family="Helvetica,sans-Serif" font-size="10.00">::reset_data</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node2 -->
|
||||
<g id="Node000002" class="node">
|
||||
<title>Node2</title>
|
||||
<g id="a_Node000002"><a xlink:href="../../d8/d41/namespacegames_1_1memory__game.html#a5714d97649c0edd57b4fb449799676a3" target="_top" xlink:title="Function that asks the user for their input in the table they previously chose.">
|
||||
<polygon fill="white" stroke="#666666" points="267.5,-54.5 151.75,-54.5 151.75,-24 267.5,-24 267.5,-54.5"/>
|
||||
<text text-anchor="start" x="159.75" y="-41" font-family="Helvetica,sans-Serif" font-size="10.00">games::memory_game</text>
|
||||
<text text-anchor="middle" x="209.62" y="-29.75" font-family="Helvetica,sans-Serif" font-size="10.00">::ask_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="M115.92,-32.67C123.89,-32.52 132.16,-32.47 140.32,-32.52"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="140.18,-36.02 150.23,-32.66 140.28,-29.02 140.18,-36.02"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node2->Node1 -->
|
||||
<g id="edge4_Node000002_Node000001" class="edge">
|
||||
<title>Node2->Node1</title>
|
||||
<g id="a_edge4_Node000002_Node000001"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M151.74,-45.82C143.77,-45.98 135.51,-46.03 127.34,-45.98"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="127.48,-42.48 117.43,-45.85 127.38,-49.48 127.48,-42.48"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node3 -->
|
||||
<g id="Node000003" class="node">
|
||||
<title>Node3</title>
|
||||
<g id="a_Node000003"><a xlink:href="../../d8/d41/namespacegames_1_1memory__game.html#a33167bb9cce6d527b478b4f6ae8c3f59" target="_top" xlink:title="Utility function to verify if the given input is a number or not. This is very useful to prevent the ...">
|
||||
<polygon fill="white" stroke="#666666" points="419.25,-79.5 303.5,-79.5 303.5,-49 419.25,-49 419.25,-79.5"/>
|
||||
<text text-anchor="start" x="311.5" y="-66" font-family="Helvetica,sans-Serif" font-size="10.00">games::memory_game</text>
|
||||
<text text-anchor="middle" x="361.38" y="-54.75" font-family="Helvetica,sans-Serif" font-size="10.00">::is_number</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node2->Node3 -->
|
||||
<g id="edge2_Node000002_Node000003" class="edge">
|
||||
<title>Node2->Node3</title>
|
||||
<g id="a_edge2_Node000002_Node000003"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M267.67,-48.77C275.74,-50.12 284.1,-51.52 292.35,-52.89"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="291.56,-56.31 302,-54.5 292.71,-49.41 291.56,-56.31"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node4 -->
|
||||
<g id="Node000004" class="node">
|
||||
<title>Node4</title>
|
||||
<g id="a_Node000004"><a xlink:href="../../d8/d41/namespacegames_1_1memory__game.html#ac589ef65abb0a6b9a7116ee0f9fd5280" target="_top" xlink:title="Utility function to print the table.">
|
||||
<polygon fill="white" stroke="#666666" points="419.25,-30.5 303.5,-30.5 303.5,0 419.25,0 419.25,-30.5"/>
|
||||
<text text-anchor="start" x="311.5" y="-17" font-family="Helvetica,sans-Serif" font-size="10.00">games::memory_game</text>
|
||||
<text text-anchor="middle" x="361.38" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">::print_table</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node2->Node4 -->
|
||||
<g id="edge3_Node000002_Node000004" class="edge">
|
||||
<title>Node2->Node4</title>
|
||||
<g id="a_edge3_Node000002_Node000004"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M267.67,-30.11C275.74,-28.81 284.1,-27.47 292.35,-26.15"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="292.68,-29.64 302,-24.61 291.57,-22.73 292.68,-29.64"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 4.5 KiB |
@@ -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.10.0"/>
|
||||
<meta name="generator" content="Doxygen 1.12.0"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>Algorithms_in_C++: math/modular_inverse_fermat_little_theorem.cpp File Reference</title>
|
||||
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
|
||||
@@ -11,9 +11,9 @@
|
||||
<script type="text/javascript" src="../../dynsections.js"></script>
|
||||
<script type="text/javascript" src="../../clipboard.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>
|
||||
<script type="text/javascript" src="../../resize.js"></script>
|
||||
<script type="text/javascript" src="../../cookie.js"></script>
|
||||
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="../../search/searchdata.js"></script>
|
||||
@@ -43,18 +43,23 @@ MathJax.Hub.Config({
|
||||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.10.0 -->
|
||||
<!-- Generated by Doxygen 1.12.0 -->
|
||||
<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">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
$(function() { codefold.init(1); });
|
||||
/* @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');
|
||||
initMenu('../../',true,false,'search.php','Search',true);
|
||||
$(function() { init_search(); });
|
||||
});
|
||||
/* @license-end */
|
||||
@@ -73,7 +78,7 @@ $(function() {
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
$(function(){initNavTree('d8/d53/modular__inverse__fermat__little__theorem_8cpp.html','../../'); initResizable(); });
|
||||
$(function(){initNavTree('d8/d53/modular__inverse__fermat__little__theorem_8cpp.html','../../'); initResizable(true); });
|
||||
/* @license-end */
|
||||
</script>
|
||||
<div id="doc-content">
|
||||
@@ -129,20 +134,20 @@ Functions</h2></td></tr>
|
||||
<p>Fermat's Little Theorem state that </p><p class="formulaDsp">
|
||||
\[ϕ(m) = m-1\]
|
||||
</p>
|
||||
<p> where \(m\) is a prime number. </p><p class="formulaDsp">
|
||||
<p> where \(m\) is a prime number. </p><p class="formulaDsp">
|
||||
\begin{eqnarray*}
|
||||
a \cdot x &≡& 1 \;\text{mod}\; m\\
|
||||
x &≡& a^{-1} \;\text{mod}\; m
|
||||
\end{eqnarray*}
|
||||
</p>
|
||||
<p> Using Euler's theorem we can modify the equation. </p><p class="formulaDsp">
|
||||
<p> Using Euler's theorem we can modify the equation. </p><p class="formulaDsp">
|
||||
\[
|
||||
a^{ϕ(m)} ≡ 1 \;\text{mod}\; m
|
||||
\]
|
||||
</p>
|
||||
<p> (Where '^' denotes the exponent operator)</p>
|
||||
<p>Here 'ϕ' is Euler's Totient Function. For modular inverse existence 'a' and 'm' must be relatively primes numbers. To apply Fermat's Little Theorem is necessary that 'm' must be a prime number. Generally in many competitive programming competitions 'm' is either 1000000007 (1e9+7) or 998244353.</p>
|
||||
<p>We considered m as large prime (1e9+7). \(a^{ϕ(m)} ≡ 1 \;\text{mod}\; m\) (Using Euler's Theorem) \(ϕ(m) = m-1\) using Fermat's Little Theorem. \(a^{m-1} ≡ 1 \;\text{mod}\; m\) Now multiplying both side by \(a^{-1}\). </p><p class="formulaDsp">
|
||||
<p>We considered m as large prime (1e9+7). \(a^{ϕ(m)} ≡ 1 \;\text{mod}\; m\) (Using Euler's Theorem) \(ϕ(m) = m-1\) using Fermat's Little Theorem. \(a^{m-1} ≡ 1 \;\text{mod}\; m\) Now multiplying both side by \(a^{-1}\). </p><p class="formulaDsp">
|
||||
\begin{eqnarray*}
|
||||
a^{m-1} \cdot a^{-1} &≡& a^{-1} \;\text{mod}\; m\\
|
||||
a^{m-2} &≡& a^{-1} \;\text{mod}\; m
|
||||
@@ -165,12 +170,12 @@ Hence, \(3^{-1} \;\text{mod}\; 7 = 5\) or \(3 \times 5 \;\text{mod}\; 7 = 1 \;\
|
||||
<tr>
|
||||
<td class="memname">int64_t binExpo </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">int64_t</td> <td class="paramname"><span class="paramname"><em>a</em>, </span></td>
|
||||
<td class="paramtype">int64_t</td> <td class="paramname"><span class="paramname"><em>a</em></span>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">int64_t</td> <td class="paramname"><span class="paramname"><em>b</em>, </span></td>
|
||||
<td class="paramtype">int64_t</td> <td class="paramname"><span class="paramname"><em>b</em></span>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
@@ -235,7 +240,7 @@ Hence, \(3^{-1} \;\text{mod}\; 7 = 5\) or \(3 \times 5 \;\text{mod}\; 7 = 1 \;\
|
||||
<tr>
|
||||
<td class="memname">int main </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">void</td> <td class="paramname"><span class="paramname"></span></td><td>)</td>
|
||||
<td class="paramtype">void</td> <td class="paramname"><span class="paramname"><em></em></span></td><td>)</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table>
|
||||
@@ -275,7 +280,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="../../dir_296d53ceaeaa7e099814a6def439fe8a.html">math</a></li><li class="navelem"><a class="el" href="../../d8/d53/modular__inverse__fermat__little__theorem_8cpp.html">modular_inverse_fermat_little_theorem.cpp</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.10.0 </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.12.0 </li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<map id="main" name="main">
|
||||
<area shape="rect" id="Node000001" title=" " alt="" coords="5,55,55,80"/>
|
||||
<area shape="rect" id="Node000002" href="$d8/d53/modular__inverse__fermat__little__theorem_8cpp.html#a4c6eefd1254eab3e8d34bf02c205e0f4" title=" " alt="" coords="104,5,173,31"/>
|
||||
<area shape="rect" id="Node000002" href="$d8/d53/modular__inverse__fermat__little__theorem_8cpp.html#a4c6eefd1254eab3e8d34bf02c205e0f4" title=" " alt="" coords="104,5,172,31"/>
|
||||
<area shape="poly" id="edge1_Node000001_Node000002" title=" " alt="" coords="54,54,93,36,95,41,56,59"/>
|
||||
<area shape="rect" id="Node000003" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/io/manip/endl.html#" title=" " alt="" coords="103,55,174,80"/>
|
||||
<area shape="poly" id="edge2_Node000001_Node000003" title=" " alt="" coords="55,65,87,65,87,70,55,70"/>
|
||||
|
||||
@@ -1,13 +1,14 @@
|
||||
<?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 9.0.0 (20230911.1827)
|
||||
<!-- Generated by graphviz version 12.1.0 (20240811.2233)
|
||||
-->
|
||||
<!-- Title: main Pages: 1 -->
|
||||
<svg width="135pt" height="101pt"
|
||||
viewBox="0.00 0.00 134.50 101.25" 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)">
|
||||
<svg id="main" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve">
|
||||
|
||||
<style type="text/css"><![CDATA[
|
||||
.node, .edge {opacity: 0.7;}
|
||||
.node.selected, .edge.selected {opacity: 1;}
|
||||
|
||||
|
Before Width: | Height: | Size: 4.1 KiB After Width: | Height: | Size: 4.0 KiB |
@@ -1,7 +1,7 @@
|
||||
<?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 9.0.0 (20230911.1827)
|
||||
<!-- Generated by graphviz version 12.1.0 (20240811.2233)
|
||||
-->
|
||||
<!-- Title: main Pages: 1 -->
|
||||
<svg width="135pt" height="101pt"
|
||||
|
||||
|
Before Width: | Height: | Size: 3.3 KiB After Width: | Height: | Size: 3.3 KiB |
@@ -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.10.0"/>
|
||||
<meta name="generator" content="Doxygen 1.12.0"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>Algorithms_in_C++: Member List</title>
|
||||
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
|
||||
@@ -11,9 +11,9 @@
|
||||
<script type="text/javascript" src="../../dynsections.js"></script>
|
||||
<script type="text/javascript" src="../../clipboard.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>
|
||||
<script type="text/javascript" src="../../resize.js"></script>
|
||||
<script type="text/javascript" src="../../cookie.js"></script>
|
||||
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="../../search/searchdata.js"></script>
|
||||
@@ -43,18 +43,23 @@ MathJax.Hub.Config({
|
||||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.10.0 -->
|
||||
<!-- Generated by Doxygen 1.12.0 -->
|
||||
<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">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
$(function() { codefold.init(1); });
|
||||
/* @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');
|
||||
initMenu('../../',true,false,'search.php','Search',true);
|
||||
$(function() { init_search(); });
|
||||
});
|
||||
/* @license-end */
|
||||
@@ -73,7 +78,7 @@ $(function() {
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
$(function(){initNavTree('d3/dbb/class_cycle_check.html','../../'); initResizable(); });
|
||||
$(function(){initNavTree('d3/dbb/class_cycle_check.html','../../'); initResizable(true); });
|
||||
/* @license-end */
|
||||
</script>
|
||||
<div id="doc-content">
|
||||
@@ -117,7 +122,7 @@ $(function(){initNavTree('d3/dbb/class_cycle_check.html','../../'); initResizabl
|
||||
<!-- start footer part -->
|
||||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
<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.10.0 </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.12.0 </li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<area shape="rect" id="Node000002" title=" " alt="" coords="5,94,56,120"/>
|
||||
<area shape="poly" id="edge1_Node000001_Node000002" title=" " alt="" coords="92,48,55,85,51,81,88,45"/>
|
||||
<area shape="rect" id="Node000003" title=" " alt="" coords="80,94,139,120"/>
|
||||
<area shape="poly" id="edge2_Node000001_Node000003" title=" " alt="" coords="112,46,112,78,107,78,107,46"/>
|
||||
<area shape="poly" id="edge2_Node000001_Node000003" title=" " alt="" coords="112,46,112,78,106,78,106,46"/>
|
||||
<area shape="rect" id="Node000004" title=" " alt="" coords="163,94,234,120"/>
|
||||
<area shape="poly" id="edge3_Node000001_Node000004" title=" " alt="" coords="133,44,175,82,172,86,129,48"/>
|
||||
</map>
|
||||
|
||||
@@ -1,13 +1,14 @@
|
||||
<?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 9.0.0 (20230911.1827)
|
||||
<!-- Generated by graphviz version 12.1.0 (20240811.2233)
|
||||
-->
|
||||
<!-- Title: dynamic_programming/kadane2.cpp Pages: 1 -->
|
||||
<svg width="180pt" height="94pt"
|
||||
viewBox="0.00 0.00 179.62 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" onload="init(evt)">
|
||||
<svg id="main" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve">
|
||||
|
||||
<style type="text/css"><![CDATA[
|
||||
.node, .edge {opacity: 0.7;}
|
||||
.node.selected, .edge.selected {opacity: 1;}
|
||||
|
||||
|
Before Width: | Height: | Size: 4.0 KiB After Width: | Height: | Size: 4.0 KiB |
@@ -1,7 +1,7 @@
|
||||
<?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 9.0.0 (20230911.1827)
|
||||
<!-- Generated by graphviz version 12.1.0 (20240811.2233)
|
||||
-->
|
||||
<!-- Title: dynamic_programming/kadane2.cpp Pages: 1 -->
|
||||
<svg width="180pt" height="94pt"
|
||||
|
||||
|
Before Width: | Height: | Size: 3.2 KiB After Width: | Height: | Size: 3.2 KiB |
@@ -1,7 +1,7 @@
|
||||
<map id="Trie" name="Trie">
|
||||
<area shape="rect" id="Node000001" title=" " alt="" coords="5,109,49,135"/>
|
||||
<area shape="rect" id="Node000002" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/memory/shared_ptr.html" title=" " alt="" coords="31,5,173,46"/>
|
||||
<area shape="poly" id="edge1_Node000001_Node000002" title=" " alt="" coords="60,58,48,72,38,90,32,109,27,108,33,88,43,68,56,55"/>
|
||||
<area shape="rect" id="Node000002" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/memory/shared_ptr.html" title=" " alt="" coords="30,5,173,46"/>
|
||||
<area shape="poly" id="edge1_Node000001_Node000002" title=" " alt="" coords="59,58,47,72,37,90,32,109,26,108,32,88,42,68,55,54"/>
|
||||
<area shape="rect" id="Node000003" href="$de/d48/struct_trie_1_1_trie_node.html" title=" " alt="" coords="106,109,210,135"/>
|
||||
<area shape="poly" id="edge3_Node000003_Node000002" title=" " alt="" coords="96,61,101,84,112,97,126,106,124,111,108,101,96,86,91,62"/>
|
||||
<area shape="poly" id="edge2_Node000002_Node000003" title=" " alt="" coords="162,94,159,71,150,59,139,49,142,45,154,55,164,69,168,93"/>
|
||||
|
||||
@@ -1,13 +1,14 @@
|
||||
<?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 9.0.0 (20230911.1827)
|
||||
<!-- Generated by graphviz version 12.1.0 (20240811.2233)
|
||||
-->
|
||||
<!-- Title: Trie Pages: 1 -->
|
||||
<svg width="161pt" height="105pt"
|
||||
viewBox="0.00 0.00 161.38 105.00" 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)">
|
||||
<svg id="main" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve">
|
||||
|
||||
<style type="text/css"><![CDATA[
|
||||
.node, .edge {opacity: 0.7;}
|
||||
.node.selected, .edge.selected {opacity: 1;}
|
||||
@@ -41,11 +42,11 @@
|
||||
<g id="edge1_Node000001_Node000002" class="edge">
|
||||
<title>Node2->Node1</title>
|
||||
<g id="a_edge1_Node000001_Node000002"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#9a32cd" stroke-dasharray="5,2" d="M39.56,-58.75C36.14,-55.58 32.93,-52.14 30.25,-48.5 23.85,-39.81 20.08,-27.87 18.1,-19.73"/>
|
||||
<polygon fill="#9a32cd" stroke="#9a32cd" points="37.27,-61.39 47.2,-65.09 41.74,-56.01 37.27,-61.39"/>
|
||||
<path fill="none" stroke="#9a32cd" stroke-dasharray="5,2" d="M39,-59.16C35.39,-55.89 32.03,-52.32 29.25,-48.5 22.95,-39.84 19.53,-27.9 17.8,-19.75"/>
|
||||
<polygon fill="#9a32cd" stroke="#9a32cd" points="36.55,-61.68 46.51,-65.27 40.96,-56.25 36.55,-61.68"/>
|
||||
</a>
|
||||
</g>
|
||||
<text text-anchor="middle" x="46.75" y="-39" font-family="Helvetica,sans-Serif" font-size="10.00" fill="grey"> m_root</text>
|
||||
<text text-anchor="middle" x="45.75" y="-39" font-family="Helvetica,sans-Serif" font-size="10.00" fill="grey"> m_root</text>
|
||||
</g>
|
||||
<!-- Node3 -->
|
||||
<g id="Node000003" class="node">
|
||||
@@ -64,7 +65,7 @@
|
||||
<polygon fill="#9a32cd" stroke="#9a32cd" points="62.61,-55.18 67.39,-64.63 69.55,-54.26 62.61,-55.18"/>
|
||||
</a>
|
||||
</g>
|
||||
<text text-anchor="middle" x="92" y="-39" font-family="Helvetica,sans-Serif" font-size="10.00" fill="grey"> character</text>
|
||||
<text text-anchor="middle" x="91.5" y="-39" font-family="Helvetica,sans-Serif" font-size="10.00" fill="grey"> character</text>
|
||||
</g>
|
||||
<!-- Node3->Node2 -->
|
||||
<g id="edge2_Node000002_Node000003" class="edge">
|
||||
@@ -74,7 +75,7 @@
|
||||
<polygon fill="#9a32cd" stroke="#9a32cd" points="123.23,-30.16 117.81,-21.05 116.37,-31.55 123.23,-30.16"/>
|
||||
</a>
|
||||
</g>
|
||||
<text text-anchor="middle" x="126.38" y="-39" font-family="Helvetica,sans-Serif" font-size="10.00" fill="grey"> ptr</text>
|
||||
<text text-anchor="middle" x="127.1" y="-39" font-family="Helvetica,sans-Serif" font-size="10.00" fill="grey"> ptr</text>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
||||
|
Before Width: | Height: | Size: 4.2 KiB After Width: | Height: | Size: 4.2 KiB |
@@ -1,7 +1,7 @@
|
||||
<?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 9.0.0 (20230911.1827)
|
||||
<!-- Generated by graphviz version 12.1.0 (20240811.2233)
|
||||
-->
|
||||
<!-- Title: Trie Pages: 1 -->
|
||||
<svg width="161pt" height="105pt"
|
||||
@@ -31,11 +31,11 @@
|
||||
<g id="edge1_Node000001_Node000002" class="edge">
|
||||
<title>Node2->Node1</title>
|
||||
<g id="a_edge1_Node000001_Node000002"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#9a32cd" stroke-dasharray="5,2" d="M39.56,-58.75C36.14,-55.58 32.93,-52.14 30.25,-48.5 23.85,-39.81 20.08,-27.87 18.1,-19.73"/>
|
||||
<polygon fill="#9a32cd" stroke="#9a32cd" points="37.27,-61.39 47.2,-65.09 41.74,-56.01 37.27,-61.39"/>
|
||||
<path fill="none" stroke="#9a32cd" stroke-dasharray="5,2" d="M39,-59.16C35.39,-55.89 32.03,-52.32 29.25,-48.5 22.95,-39.84 19.53,-27.9 17.8,-19.75"/>
|
||||
<polygon fill="#9a32cd" stroke="#9a32cd" points="36.55,-61.68 46.51,-65.27 40.96,-56.25 36.55,-61.68"/>
|
||||
</a>
|
||||
</g>
|
||||
<text text-anchor="middle" x="46.75" y="-39" font-family="Helvetica,sans-Serif" font-size="10.00" fill="grey"> m_root</text>
|
||||
<text text-anchor="middle" x="45.75" y="-39" font-family="Helvetica,sans-Serif" font-size="10.00" fill="grey"> m_root</text>
|
||||
</g>
|
||||
<!-- Node3 -->
|
||||
<g id="Node000003" class="node">
|
||||
@@ -54,7 +54,7 @@
|
||||
<polygon fill="#9a32cd" stroke="#9a32cd" points="62.61,-55.18 67.39,-64.63 69.55,-54.26 62.61,-55.18"/>
|
||||
</a>
|
||||
</g>
|
||||
<text text-anchor="middle" x="92" y="-39" font-family="Helvetica,sans-Serif" font-size="10.00" fill="grey"> character</text>
|
||||
<text text-anchor="middle" x="91.5" y="-39" font-family="Helvetica,sans-Serif" font-size="10.00" fill="grey"> character</text>
|
||||
</g>
|
||||
<!-- Node3->Node2 -->
|
||||
<g id="edge2_Node000002_Node000003" class="edge">
|
||||
@@ -64,7 +64,7 @@
|
||||
<polygon fill="#9a32cd" stroke="#9a32cd" points="123.23,-30.16 117.81,-21.05 116.37,-31.55 123.23,-30.16"/>
|
||||
</a>
|
||||
</g>
|
||||
<text text-anchor="middle" x="126.38" y="-39" font-family="Helvetica,sans-Serif" font-size="10.00" fill="grey"> ptr</text>
|
||||
<text text-anchor="middle" x="127.1" y="-39" font-family="Helvetica,sans-Serif" font-size="10.00" fill="grey"> ptr</text>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
||||
|
Before Width: | Height: | Size: 3.5 KiB After Width: | Height: | Size: 3.5 KiB |
@@ -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.10.0"/>
|
||||
<meta name="generator" content="Doxygen 1.12.0"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>Algorithms_in_C++: sorting/radix_sort2.cpp File Reference</title>
|
||||
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
|
||||
@@ -11,9 +11,9 @@
|
||||
<script type="text/javascript" src="../../dynsections.js"></script>
|
||||
<script type="text/javascript" src="../../clipboard.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>
|
||||
<script type="text/javascript" src="../../resize.js"></script>
|
||||
<script type="text/javascript" src="../../cookie.js"></script>
|
||||
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="../../search/searchdata.js"></script>
|
||||
@@ -43,18 +43,23 @@ MathJax.Hub.Config({
|
||||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.10.0 -->
|
||||
<!-- Generated by Doxygen 1.12.0 -->
|
||||
<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">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
$(function() { codefold.init(1); });
|
||||
/* @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');
|
||||
initMenu('../../',true,false,'search.php','Search',true);
|
||||
$(function() { init_search(); });
|
||||
});
|
||||
/* @license-end */
|
||||
@@ -73,7 +78,7 @@ $(function() {
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
$(function(){initNavTree('d8/d61/radix__sort2_8cpp.html','../../'); initResizable(); });
|
||||
$(function(){initNavTree('d8/d61/radix__sort2_8cpp.html','../../'); initResizable(true); });
|
||||
/* @license-end */
|
||||
</script>
|
||||
<div id="doc-content">
|
||||
@@ -120,10 +125,10 @@ Include dependency graph for radix_sort2.cpp:</div>
|
||||
</div><table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="namespaces" name="namespaces"></a>
|
||||
Namespaces</h2></td></tr>
|
||||
<tr class="memitem:d5/d91/namespacesorting" id="r_d5/d91/namespacesorting"><td class="memItemLeft" align="right" valign="top">namespace  </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d5/d91/namespacesorting.html">sorting</a></td></tr>
|
||||
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">namespace  </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d5/d91/namespacesorting.html">sorting</a></td></tr>
|
||||
<tr class="memdesc:d5/d91/namespacesorting"><td class="mdescLeft"> </td><td class="mdescRight">for working with vectors <br /></td></tr>
|
||||
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:da/dda/namespaceradix__sort" id="r_da/dda/namespaceradix__sort"><td class="memItemLeft" align="right" valign="top">namespace  </td><td class="memItemRight" valign="bottom"><a class="el" href="../../da/dda/namespaceradix__sort.html">radix_sort</a></td></tr>
|
||||
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">namespace  </td><td class="memItemRight" valign="bottom"><a class="el" href="../../da/dda/namespaceradix__sort.html">radix_sort</a></td></tr>
|
||||
<tr class="memdesc:da/dda/namespaceradix__sort"><td class="mdescLeft"> </td><td class="mdescRight">Functions for <a href="https://en.wikipedia.org/wiki/Radix_sort" target="_blank">Radix sort</a> algorithm. <br /></td></tr>
|
||||
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table><table class="memberdecls">
|
||||
@@ -159,7 +164,7 @@ Functions</h2></td></tr>
|
||||
<tr>
|
||||
<td class="memname">int main </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">void</td> <td class="paramname"><span class="paramname"></span></td><td>)</td>
|
||||
<td class="paramtype">void</td> <td class="paramname"><span class="paramname"><em></em></span></td><td>)</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table>
|
||||
@@ -241,7 +246,7 @@ Here is the call graph for this function:</div>
|
||||
<tr>
|
||||
<td class="memname"><a class="elRef" target="_blank" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector</a>< uint64_t > sorting::radix_sort::step_ith </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">uint16_t</td> <td class="paramname"><span class="paramname"><em>cur_digit</em>, </span></td>
|
||||
<td class="paramtype">uint16_t</td> <td class="paramname"><span class="paramname"><em>cur_digit</em></span>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
@@ -305,7 +310,7 @@ Here is the call graph for this function:</div>
|
||||
<tr>
|
||||
<td class="memname">static void tests </td>
|
||||
<td>(</td>
|
||||
<td class="paramname"><span class="paramname"></span></td><td>)</td>
|
||||
<td class="paramname"><span class="paramname"><em></em></span></td><td>)</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table>
|
||||
@@ -347,7 +352,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="../../dir_bb1b521853a9c46347182a9d10420771.html">sorting</a></li><li class="navelem"><a class="el" href="../../d8/d61/radix__sort2_8cpp.html">radix_sort2.cpp</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.10.0 </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.12.0 </li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
|
||||
@@ -1,13 +1,14 @@
|
||||
<?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 9.0.0 (20230911.1827)
|
||||
<!-- Generated by graphviz version 12.1.0 (20240811.2233)
|
||||
-->
|
||||
<!-- Title: tests Pages: 1 -->
|
||||
<svg width="174pt" height="101pt"
|
||||
viewBox="0.00 0.00 173.50 101.25" 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)">
|
||||
<svg id="main" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve">
|
||||
|
||||
<style type="text/css"><![CDATA[
|
||||
.node, .edge {opacity: 0.7;}
|
||||
.node.selected, .edge.selected {opacity: 1;}
|
||||
|
||||
|
Before Width: | Height: | Size: 4.1 KiB After Width: | Height: | Size: 4.1 KiB |
@@ -1,7 +1,7 @@
|
||||
<?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 9.0.0 (20230911.1827)
|
||||
<!-- Generated by graphviz version 12.1.0 (20240811.2233)
|
||||
-->
|
||||
<!-- Title: tests Pages: 1 -->
|
||||
<svg width="174pt" height="101pt"
|
||||
|
||||
|
Before Width: | Height: | Size: 3.3 KiB After Width: | Height: | Size: 3.3 KiB |
@@ -1,6 +1,6 @@
|
||||
<map id="sorting::radix_sort::step_ith" name="sorting::radix_sort::step_ith">
|
||||
<area shape="rect" id="Node000001" title="Function to sort vector according to current digit using stable sorting." alt="" coords="5,29,131,70"/>
|
||||
<area shape="poly" id="edge2_Node000001_Node000001" title=" " alt="" coords="36,29,34,19,39,11,51,5,68,3,87,5,98,11,95,16,85,10,68,8,52,10,43,14,39,20,41,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/size.html#" title=" " alt="" coords="179,37,294,63"/>
|
||||
<area shape="rect" id="Node000002" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/vector/size.html#" title=" " alt="" coords="179,37,294,62"/>
|
||||
<area shape="poly" id="edge1_Node000001_Node000002" title=" " alt="" coords="131,47,163,47,163,52,131,52"/>
|
||||
</map>
|
||||
|
||||
@@ -1,13 +1,14 @@
|
||||
<?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 9.0.0 (20230911.1827)
|
||||
<!-- Generated by graphviz version 12.1.0 (20240811.2233)
|
||||
-->
|
||||
<!-- Title: sorting::radix_sort::step_ith Pages: 1 -->
|
||||
<svg width="225pt" height="57pt"
|
||||
viewBox="0.00 0.00 224.50 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)">
|
||||
<svg id="main" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve">
|
||||
|
||||
<style type="text/css"><![CDATA[
|
||||
.node, .edge {opacity: 0.7;}
|
||||
.node.selected, .edge.selected {opacity: 1;}
|
||||
|
||||
|
Before Width: | Height: | Size: 3.1 KiB After Width: | Height: | Size: 3.0 KiB |
@@ -1,7 +1,7 @@
|
||||
<?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 9.0.0 (20230911.1827)
|
||||
<!-- Generated by graphviz version 12.1.0 (20240811.2233)
|
||||
-->
|
||||
<!-- Title: sorting::radix_sort::step_ith Pages: 1 -->
|
||||
<svg width="225pt" height="57pt"
|
||||
|
||||
|
Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 2.3 KiB |
@@ -1,11 +1,11 @@
|
||||
<map id="sorting::radix_sort::radix" name="sorting::radix_sort::radix">
|
||||
<area shape="rect" id="Node000001" title="Function to sort vector digit by digit." alt="" coords="5,47,131,88"/>
|
||||
<area shape="poly" id="edge3_Node000001_Node000001" title=" " alt="" coords="35,47,33,37,38,28,50,23,68,21,87,23,98,29,96,34,85,28,68,26,52,28,42,32,38,38,40,46"/>
|
||||
<area shape="rect" id="Node000002" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/vector/begin.html#" title=" " alt="" coords="180,5,303,31"/>
|
||||
<area shape="rect" id="Node000002" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/vector/begin.html#" title=" " alt="" coords="180,5,302,31"/>
|
||||
<area shape="poly" id="edge1_Node000001_Node000002" title=" " alt="" coords="130,47,178,33,180,38,132,52"/>
|
||||
<area shape="rect" id="Node000003" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/vector/end.html#" title=" " alt="" coords="185,55,298,80"/>
|
||||
<area shape="poly" id="edge2_Node000001_Node000003" title=" " alt="" coords="131,65,169,65,169,70,131,70"/>
|
||||
<area shape="rect" id="Node000004" href="$d8/d61/radix__sort2_8cpp.html#a98ead7d43b11505398daf9a894f122f9" title="Function to sort vector according to current digit using stable sorting." alt="" coords="179,129,304,169"/>
|
||||
<area shape="rect" id="Node000004" href="$d8/d61/radix__sort2_8cpp.html#a98ead7d43b11505398daf9a894f122f9" title="Function to sort vector according to current digit using stable sorting." alt="" coords="179,128,304,169"/>
|
||||
<area shape="poly" id="edge4_Node000001_Node000004" title=" " alt="" coords="114,86,184,119,181,124,112,91"/>
|
||||
<area shape="poly" id="edge6_Node000004_Node000004" title=" " alt="" coords="209,128,207,119,213,110,224,104,241,102,260,104,271,111,268,115,258,109,241,107,226,109,216,114,213,120,214,127"/>
|
||||
<area shape="rect" id="Node000005" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/vector/size.html#" title=" " alt="" coords="352,136,467,162"/>
|
||||
|
||||
@@ -1,13 +1,14 @@
|
||||
<?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 9.0.0 (20230911.1827)
|
||||
<!-- Generated by graphviz version 12.1.0 (20240811.2233)
|
||||
-->
|
||||
<!-- Title: sorting::radix_sort::radix Pages: 1 -->
|
||||
<svg width="355pt" height="131pt"
|
||||
viewBox="0.00 0.00 354.50 130.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)">
|
||||
<svg id="main" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve">
|
||||
|
||||
<style type="text/css"><![CDATA[
|
||||
.node, .edge {opacity: 0.7;}
|
||||
.node.selected, .edge.selected {opacity: 1;}
|
||||
|
||||
|
Before Width: | Height: | Size: 6.1 KiB After Width: | Height: | Size: 6.1 KiB |
@@ -1,7 +1,7 @@
|
||||
<?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 9.0.0 (20230911.1827)
|
||||
<!-- Generated by graphviz version 12.1.0 (20240811.2233)
|
||||
-->
|
||||
<!-- Title: sorting::radix_sort::radix Pages: 1 -->
|
||||
<svg width="355pt" height="131pt"
|
||||
|
||||
|
Before Width: | Height: | Size: 5.3 KiB After Width: | Height: | Size: 5.3 KiB |
@@ -1,13 +1,14 @@
|
||||
<?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 9.0.0 (20230911.1827)
|
||||
<!-- Generated by graphviz version 12.1.0 (20240811.2233)
|
||||
-->
|
||||
<!-- Title: main Pages: 1 -->
|
||||
<svg width="247pt" height="101pt"
|
||||
viewBox="0.00 0.00 246.50 101.25" 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)">
|
||||
<svg id="main" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve">
|
||||
|
||||
<style type="text/css"><![CDATA[
|
||||
.node, .edge {opacity: 0.7;}
|
||||
.node.selected, .edge.selected {opacity: 1;}
|
||||
|
||||
|
Before Width: | Height: | Size: 4.9 KiB After Width: | Height: | Size: 4.9 KiB |
@@ -1,7 +1,7 @@
|
||||
<?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 9.0.0 (20230911.1827)
|
||||
<!-- Generated by graphviz version 12.1.0 (20240811.2233)
|
||||
-->
|
||||
<!-- Title: main Pages: 1 -->
|
||||
<svg width="247pt" height="101pt"
|
||||
|
||||
|
Before Width: | Height: | Size: 4.1 KiB After Width: | Height: | Size: 4.1 KiB |
@@ -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.10.0"/>
|
||||
<meta name="generator" content="Doxygen 1.12.0"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>Algorithms_in_C++: boruvkas_minimum_spanning_tree Namespace Reference</title>
|
||||
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
|
||||
@@ -11,9 +11,9 @@
|
||||
<script type="text/javascript" src="../../dynsections.js"></script>
|
||||
<script type="text/javascript" src="../../clipboard.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>
|
||||
<script type="text/javascript" src="../../resize.js"></script>
|
||||
<script type="text/javascript" src="../../cookie.js"></script>
|
||||
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="../../search/searchdata.js"></script>
|
||||
@@ -43,18 +43,23 @@ MathJax.Hub.Config({
|
||||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.10.0 -->
|
||||
<!-- Generated by Doxygen 1.12.0 -->
|
||||
<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">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
$(function() { codefold.init(1); });
|
||||
/* @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');
|
||||
initMenu('../../',true,false,'search.php','Search',true);
|
||||
$(function() { init_search(); });
|
||||
});
|
||||
/* @license-end */
|
||||
@@ -73,7 +78,7 @@ $(function() {
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
$(function(){initNavTree('d8/d64/namespaceboruvkas__minimum__spanning__tree.html','../../'); initResizable(); });
|
||||
$(function(){initNavTree('d8/d64/namespaceboruvkas__minimum__spanning__tree.html','../../'); initResizable(true); });
|
||||
/* @license-end */
|
||||
</script>
|
||||
<div id="doc-content">
|
||||
@@ -113,7 +118,7 @@ $(function(){initNavTree('d8/d64/namespaceboruvkas__minimum__spanning__tree.html
|
||||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="../../d8/d64/namespaceboruvkas__minimum__spanning__tree.html">boruvkas_minimum_spanning_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.10.0 </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.12.0 </li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
|
||||
@@ -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.10.0"/>
|
||||
<meta name="generator" content="Doxygen 1.12.0"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>Algorithms_in_C++: graph::HKGraph Class Reference</title>
|
||||
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
|
||||
@@ -11,9 +11,9 @@
|
||||
<script type="text/javascript" src="../../dynsections.js"></script>
|
||||
<script type="text/javascript" src="../../clipboard.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>
|
||||
<script type="text/javascript" src="../../resize.js"></script>
|
||||
<script type="text/javascript" src="../../cookie.js"></script>
|
||||
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="../../search/searchdata.js"></script>
|
||||
@@ -43,18 +43,23 @@ MathJax.Hub.Config({
|
||||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.10.0 -->
|
||||
<!-- Generated by Doxygen 1.12.0 -->
|
||||
<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">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
$(function() { codefold.init(1); });
|
||||
/* @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');
|
||||
initMenu('../../',true,false,'search.php','Search',true);
|
||||
$(function() { init_search(); });
|
||||
});
|
||||
/* @license-end */
|
||||
@@ -73,7 +78,7 @@ $(function() {
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
$(function(){initNavTree('d8/d69/classgraph_1_1_h_k_graph.html','../../'); initResizable(); });
|
||||
$(function(){initNavTree('d8/d69/classgraph_1_1_h_k_graph.html','../../'); initResizable(true); });
|
||||
/* @license-end */
|
||||
</script>
|
||||
<div id="doc-content">
|
||||
@@ -178,7 +183,7 @@ Private Attributes</h2></td></tr>
|
||||
<tr>
|
||||
<td class="memname">graph::HKGraph::HKGraph </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">int</td> <td class="paramname"><span class="paramname"><em>m</em>, </span></td>
|
||||
<td class="paramtype">int</td> <td class="paramname"><span class="paramname"><em>m</em></span>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
@@ -218,7 +223,7 @@ Private Attributes</h2></td></tr>
|
||||
<tr>
|
||||
<td class="memname">void graph::HKGraph::addEdge </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">int</td> <td class="paramname"><span class="paramname"><em>u</em>, </span></td>
|
||||
<td class="paramtype">int</td> <td class="paramname"><span class="paramname"><em>u</em></span>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
@@ -257,7 +262,7 @@ Here is the call graph for this function:</div>
|
||||
<tr>
|
||||
<td class="memname">bool graph::HKGraph::bfs </td>
|
||||
<td>(</td>
|
||||
<td class="paramname"><span class="paramname"></span></td><td>)</td>
|
||||
<td class="paramname"><span class="paramname"><em></em></span></td><td>)</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table>
|
||||
@@ -402,7 +407,7 @@ Here is the call graph for this function:</div>
|
||||
<tr>
|
||||
<td class="memname">int graph::HKGraph::hopcroftKarpAlgorithm </td>
|
||||
<td>(</td>
|
||||
<td class="paramname"><span class="paramname"></span></td><td>)</td>
|
||||
<td class="paramname"><span class="paramname"><em></em></span></td><td>)</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table>
|
||||
@@ -556,7 +561,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="../../df/dce/namespacegraph.html">graph</a></li><li class="navelem"><a class="el" href="../../d8/d69/classgraph_1_1_h_k_graph.html">HKGraph</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.10.0 </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.12.0 </li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
|
||||
@@ -1,13 +1,14 @@
|
||||
<?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 9.0.0 (20230911.1827)
|
||||
<!-- Generated by graphviz version 12.1.0 (20240811.2233)
|
||||
-->
|
||||
<!-- Title: graph::HKGraph::addEdge Pages: 1 -->
|
||||
<svg width="291pt" height="27pt"
|
||||
viewBox="0.00 0.00 290.50 27.25" 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)">
|
||||
<svg id="main" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve">
|
||||
|
||||
<style type="text/css"><![CDATA[
|
||||
.node, .edge {opacity: 0.7;}
|
||||
.node.selected, .edge.selected {opacity: 1;}
|
||||
|
||||
|
Before Width: | Height: | Size: 2.5 KiB After Width: | Height: | Size: 2.5 KiB |
@@ -1,7 +1,7 @@
|
||||
<?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 9.0.0 (20230911.1827)
|
||||
<!-- Generated by graphviz version 12.1.0 (20240811.2233)
|
||||
-->
|
||||
<!-- Title: graph::HKGraph::addEdge Pages: 1 -->
|
||||
<svg width="291pt" height="27pt"
|
||||
|
||||
|
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.7 KiB |
@@ -1,13 +1,14 @@
|
||||
<?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 9.0.0 (20230911.1827)
|
||||
<!-- Generated by graphviz version 12.1.0 (20240811.2233)
|
||||
-->
|
||||
<!-- Title: graph::HKGraph::bfs Pages: 1 -->
|
||||
<svg width="234pt" height="27pt"
|
||||
viewBox="0.00 0.00 234.25 27.25" 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)">
|
||||
<svg id="main" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve">
|
||||
|
||||
<style type="text/css"><![CDATA[
|
||||
.node, .edge {opacity: 0.7;}
|
||||
.node.selected, .edge.selected {opacity: 1;}
|
||||
|
||||
|
Before Width: | Height: | Size: 2.5 KiB After Width: | Height: | Size: 2.5 KiB |
@@ -1,7 +1,7 @@
|
||||
<?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 9.0.0 (20230911.1827)
|
||||
<!-- Generated by graphviz version 12.1.0 (20240811.2233)
|
||||
-->
|
||||
<!-- Title: graph::HKGraph::bfs Pages: 1 -->
|
||||
<svg width="234pt" height="27pt"
|
||||
|
||||
|
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.7 KiB |
@@ -1,13 +1,14 @@
|
||||
<?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 9.0.0 (20230911.1827)
|
||||
<!-- Generated by graphviz version 12.1.0 (20240811.2233)
|
||||
-->
|
||||
<!-- Title: graph::HKGraph::hopcroftKarpAlgorithm Pages: 1 -->
|
||||
<svg width="398pt" height="82pt"
|
||||
viewBox="0.00 0.00 398.00 82.25" 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)">
|
||||
<svg id="main" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve">
|
||||
|
||||
<style type="text/css"><![CDATA[
|
||||
.node, .edge {opacity: 0.7;}
|
||||
.node.selected, .edge.selected {opacity: 1;}
|
||||
|
||||
|
Before Width: | Height: | Size: 5.4 KiB After Width: | Height: | Size: 5.4 KiB |
@@ -1,7 +1,7 @@
|
||||
<?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 9.0.0 (20230911.1827)
|
||||
<!-- Generated by graphviz version 12.1.0 (20240811.2233)
|
||||
-->
|
||||
<!-- Title: graph::HKGraph::hopcroftKarpAlgorithm Pages: 1 -->
|
||||
<svg width="398pt" height="82pt"
|
||||
|
||||
|
Before Width: | Height: | Size: 4.6 KiB After Width: | Height: | Size: 4.6 KiB |
@@ -1,13 +1,14 @@
|
||||
<?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 9.0.0 (20230911.1827)
|
||||
<!-- Generated by graphviz version 12.1.0 (20240811.2233)
|
||||
-->
|
||||
<!-- Title: graph::HKGraph::dfs Pages: 1 -->
|
||||
<svg width="234pt" height="45pt"
|
||||
viewBox="0.00 0.00 234.25 45.25" 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)">
|
||||
<svg id="main" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve">
|
||||
|
||||
<style type="text/css"><![CDATA[
|
||||
.node, .edge {opacity: 0.7;}
|
||||
.node.selected, .edge.selected {opacity: 1;}
|
||||
|
||||
|
Before Width: | Height: | Size: 2.9 KiB After Width: | Height: | Size: 2.9 KiB |
@@ -1,7 +1,7 @@
|
||||
<?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 9.0.0 (20230911.1827)
|
||||
<!-- Generated by graphviz version 12.1.0 (20240811.2233)
|
||||
-->
|
||||
<!-- Title: graph::HKGraph::dfs Pages: 1 -->
|
||||
<svg width="234pt" height="45pt"
|
||||
|
||||
|
Before Width: | Height: | Size: 2.2 KiB After Width: | Height: | Size: 2.2 KiB |
@@ -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.10.0"/>
|
||||
<meta name="generator" content="Doxygen 1.12.0"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>Algorithms_in_C++: geometry/line_segment_intersection.cpp File Reference</title>
|
||||
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
|
||||
@@ -11,9 +11,9 @@
|
||||
<script type="text/javascript" src="../../dynsections.js"></script>
|
||||
<script type="text/javascript" src="../../clipboard.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>
|
||||
<script type="text/javascript" src="../../resize.js"></script>
|
||||
<script type="text/javascript" src="../../cookie.js"></script>
|
||||
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="../../search/searchdata.js"></script>
|
||||
@@ -43,18 +43,23 @@ MathJax.Hub.Config({
|
||||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.10.0 -->
|
||||
<!-- Generated by Doxygen 1.12.0 -->
|
||||
<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">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
$(function() { codefold.init(1); });
|
||||
/* @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');
|
||||
initMenu('../../',true,false,'search.php','Search',true);
|
||||
$(function() { init_search(); });
|
||||
});
|
||||
/* @license-end */
|
||||
@@ -73,7 +78,7 @@ $(function() {
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
$(function(){initNavTree('d8/d6c/line__segment__intersection_8cpp.html','../../'); initResizable(); });
|
||||
$(function(){initNavTree('d8/d6c/line__segment__intersection_8cpp.html','../../'); initResizable(true); });
|
||||
/* @license-end */
|
||||
</script>
|
||||
<div id="doc-content">
|
||||
@@ -140,7 +145,7 @@ Functions</h2></td></tr>
|
||||
<tr>
|
||||
<td class="memname">int main </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">void</td> <td class="paramname"><span class="paramname"></span></td><td>)</td>
|
||||
<td class="paramtype">void</td> <td class="paramname"><span class="paramname"><em></em></span></td><td>)</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table>
|
||||
@@ -180,7 +185,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="../../dir_e3380d2178455503f266746fb14246a5.html">geometry</a></li><li class="navelem"><a class="el" href="../../d8/d6c/line__segment__intersection_8cpp.html">line_segment_intersection.cpp</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.10.0 </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.12.0 </li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
|
||||
@@ -1,13 +1,14 @@
|
||||
<?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 9.0.0 (20230911.1827)
|
||||
<!-- Generated by graphviz version 12.1.0 (20240811.2233)
|
||||
-->
|
||||
<!-- Title: main Pages: 1 -->
|
||||
<svg width="135pt" height="27pt"
|
||||
viewBox="0.00 0.00 134.50 27.25" 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)">
|
||||
<svg id="main" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve">
|
||||
|
||||
<style type="text/css"><![CDATA[
|
||||
.node, .edge {opacity: 0.7;}
|
||||
.node.selected, .edge.selected {opacity: 1;}
|
||||
|
||||
|
Before Width: | Height: | Size: 2.4 KiB After Width: | Height: | Size: 2.4 KiB |