Documentation for 6376bf46af
@@ -3,7 +3,7 @@
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||
<meta name="generator" content="Doxygen 1.9.7"/>
|
||||
<meta name="generator" content="Doxygen 1.9.8"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>Algorithms_in_C++: bit_manipulation/next_higher_number_with_same_number_of_set_bits.cpp File Reference</title>
|
||||
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
|
||||
@@ -41,7 +41,7 @@ MathJax.Hub.Config({
|
||||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.9.7 -->
|
||||
<!-- Generated by Doxygen 1.9.8 -->
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
|
||||
@@ -116,19 +116,19 @@ Include dependency graph for next_higher_number_with_same_number_of_set_bits.cpp
|
||||
</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:d7/d81/namespacebit__manipulation"><td class="memItemLeft" align="right" valign="top">namespace  </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/d81/namespacebit__manipulation.html">bit_manipulation</a></td></tr>
|
||||
<tr class="memitem:d7/d81/namespacebit__manipulation" id="r_d7/d81/namespacebit__manipulation"><td class="memItemLeft" align="right" valign="top">namespace  </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/d81/namespacebit__manipulation.html">bit_manipulation</a></td></tr>
|
||||
<tr class="memdesc:d7/d81/namespacebit__manipulation"><td class="mdescLeft"> </td><td class="mdescRight">for IO operations <br /></td></tr>
|
||||
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table><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:a4b76571a2a04fa99c30a96eca9997f0e"><td class="memItemLeft" align="right" valign="top">uint64_t </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/d81/namespacebit__manipulation.html#a4b76571a2a04fa99c30a96eca9997f0e">bit_manipulation::next_higher_number</a> (uint64_t x)</td></tr>
|
||||
<tr class="memitem:a4b76571a2a04fa99c30a96eca9997f0e" id="r_a4b76571a2a04fa99c30a96eca9997f0e"><td class="memItemLeft" align="right" valign="top">uint64_t </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/d81/namespacebit__manipulation.html#a4b76571a2a04fa99c30a96eca9997f0e">bit_manipulation::next_higher_number</a> (uint64_t x)</td></tr>
|
||||
<tr class="memdesc:a4b76571a2a04fa99c30a96eca9997f0e"><td class="mdescLeft"> </td><td class="mdescRight">The main function implements checking the next number. <br /></td></tr>
|
||||
<tr class="separator:a4b76571a2a04fa99c30a96eca9997f0e"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:aa8dca7b867074164d5f45b0f3851269d"><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d5/d1e/next__higher__number__with__same__number__of__set__bits_8cpp.html#aa8dca7b867074164d5f45b0f3851269d">test</a> ()</td></tr>
|
||||
<tr class="memitem:aa8dca7b867074164d5f45b0f3851269d" id="r_aa8dca7b867074164d5f45b0f3851269d"><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d5/d1e/next__higher__number__with__same__number__of__set__bits_8cpp.html#aa8dca7b867074164d5f45b0f3851269d">test</a> ()</td></tr>
|
||||
<tr class="memdesc:aa8dca7b867074164d5f45b0f3851269d"><td class="mdescLeft"> </td><td class="mdescRight">Self-test implementations. <br /></td></tr>
|
||||
<tr class="separator:aa8dca7b867074164d5f45b0f3851269d"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ae66f6b31b5ad750f1fe042a706a4e3d4"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d5/d1e/next__higher__number__with__same__number__of__set__bits_8cpp.html#ae66f6b31b5ad750f1fe042a706a4e3d4">main</a> ()</td></tr>
|
||||
<tr class="memitem:ae66f6b31b5ad750f1fe042a706a4e3d4" id="r_ae66f6b31b5ad750f1fe042a706a4e3d4"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d5/d1e/next__higher__number__with__same__number__of__set__bits_8cpp.html#ae66f6b31b5ad750f1fe042a706a4e3d4">main</a> ()</td></tr>
|
||||
<tr class="memdesc:ae66f6b31b5ad750f1fe042a706a4e3d4"><td class="mdescLeft"> </td><td class="mdescRight">Main function. <br /></td></tr>
|
||||
<tr class="separator:ae66f6b31b5ad750f1fe042a706a4e3d4"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
@@ -230,7 +230,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_f3c4fbc4e901afa0a54d0623c5574aa7.html">bit_manipulation</a></li><li class="navelem"><a class="el" href="../../d5/d1e/next__higher__number__with__same__number__of__set__bits_8cpp.html">next_higher_number_with_same_number_of_set_bits.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.9.7 </li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8 </li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<map id="test" name="test">
|
||||
<area shape="rect" id="Node000001" title="Self-test implementations." alt="" coords="5,35,49,60"/>
|
||||
<area shape="rect" id="Node000002" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/io/manip/endl.html#" title=" " alt="" coords="135,5,207,31"/>
|
||||
<area shape="poly" id="edge1_Node000001_Node000002" title=" " alt="" coords="49,41,120,26,121,31,50,46"/>
|
||||
<area shape="poly" id="edge1_Node000001_Node000002" title=" " alt="" coords="49,41,119,26,121,31,50,46"/>
|
||||
<area shape="rect" id="Node000003" href="$d7/d81/namespacebit__manipulation.html#a4b76571a2a04fa99c30a96eca9997f0e" title="The main function implements checking the next number." alt="" coords="97,55,245,96"/>
|
||||
<area shape="poly" id="edge2_Node000001_Node000003" title=" " alt="" coords="50,49,83,56,82,61,49,54"/>
|
||||
<area shape="poly" id="edge2_Node000001_Node000003" title=" " alt="" coords="50,49,82,55,81,61,49,54"/>
|
||||
</map>
|
||||
|
||||
@@ -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 8.1.0 (20230707.0739)
|
||||
<!-- Generated by graphviz version 9.0.0 (20230911.1827)
|
||||
-->
|
||||
<!-- Title: test Pages: 1 -->
|
||||
<svg width="188pt" height="76pt"
|
||||
@@ -40,8 +40,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="M32.87,-39.5C46.94,-42.42 68.17,-46.83 86.5,-50.64"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="85.67,-54.25 96.17,-52.86 87.09,-47.4 85.67,-54.25"/>
|
||||
<path fill="none" stroke="#63b8ff" d="M32.87,-39.5C46.81,-42.39 67.77,-46.75 85.99,-50.53"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="85.19,-53.94 95.69,-52.55 86.61,-47.09 85.19,-53.94"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
@@ -59,8 +59,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="M32.87,-33.15C39.81,-31.78 48.49,-30.05 57.7,-28.23"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="58.14,-31.51 67.26,-26.13 56.77,-24.64 58.14,-31.51"/>
|
||||
<path fill="none" stroke="#63b8ff" d="M32.87,-33.15C39.66,-31.8 48.11,-30.13 57.11,-28.34"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="57.65,-31.8 66.78,-26.43 56.29,-24.94 57.65,-31.8"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
|
||||
|
Before Width: | Height: | Size: 3.4 KiB After Width: | Height: | Size: 3.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 8.1.0 (20230707.0739)
|
||||
<!-- Generated by graphviz version 9.0.0 (20230911.1827)
|
||||
-->
|
||||
<!-- Title: test Pages: 1 -->
|
||||
<svg width="188pt" height="76pt"
|
||||
@@ -30,8 +30,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="M32.87,-39.5C46.94,-42.42 68.17,-46.83 86.5,-50.64"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="85.67,-54.25 96.17,-52.86 87.09,-47.4 85.67,-54.25"/>
|
||||
<path fill="none" stroke="#63b8ff" d="M32.87,-39.5C46.81,-42.39 67.77,-46.75 85.99,-50.53"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="85.19,-53.94 95.69,-52.55 86.61,-47.09 85.19,-53.94"/>
|
||||
</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="M32.87,-33.15C39.81,-31.78 48.49,-30.05 57.7,-28.23"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="58.14,-31.51 67.26,-26.13 56.77,-24.64 58.14,-31.51"/>
|
||||
<path fill="none" stroke="#63b8ff" d="M32.87,-33.15C39.66,-31.8 48.11,-30.13 57.11,-28.34"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="57.65,-31.8 66.78,-26.43 56.29,-24.94 57.65,-31.8"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
|
||||
|
Before Width: | Height: | Size: 2.7 KiB After Width: | Height: | Size: 2.7 KiB |
@@ -1,9 +1,9 @@
|
||||
<map id="main" name="main">
|
||||
<area shape="rect" id="Node000001" title="Main function." alt="" coords="5,35,55,60"/>
|
||||
<area shape="rect" id="Node000002" href="$d5/d1e/next__higher__number__with__same__number__of__set__bits_8cpp.html#aa8dca7b867074164d5f45b0f3851269d" title="Self-test implementations." alt="" coords="103,35,146,60"/>
|
||||
<area shape="poly" id="edge1_Node000001_Node000002" title=" " alt="" coords="55,45,88,45,88,50,55,50"/>
|
||||
<area shape="poly" id="edge1_Node000001_Node000002" title=" " alt="" coords="55,45,87,45,87,50,55,50"/>
|
||||
<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="233,5,304,31"/>
|
||||
<area shape="poly" id="edge2_Node000002_Node000003" title=" " alt="" coords="146,41,217,26,219,31,147,46"/>
|
||||
<area shape="poly" id="edge2_Node000002_Node000003" title=" " alt="" coords="146,41,217,26,218,31,147,46"/>
|
||||
<area shape="rect" id="Node000004" href="$d7/d81/namespacebit__manipulation.html#a4b76571a2a04fa99c30a96eca9997f0e" title="The main function implements checking the next number." alt="" coords="194,55,342,96"/>
|
||||
<area shape="poly" id="edge3_Node000002_Node000004" title=" " alt="" coords="147,49,180,56,179,61,146,54"/>
|
||||
<area shape="poly" id="edge3_Node000002_Node000004" title=" " alt="" coords="147,49,179,55,178,61,146,54"/>
|
||||
</map>
|
||||
|
||||
@@ -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 8.1.0 (20230707.0739)
|
||||
<!-- Generated by graphviz version 9.0.0 (20230911.1827)
|
||||
-->
|
||||
<!-- Title: main Pages: 1 -->
|
||||
<svg width="261pt" height="76pt"
|
||||
@@ -40,8 +40,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="M37.2,-36.25C44.67,-36.25 53.52,-36.25 61.73,-36.25"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="61.71,-39.75 71.71,-36.25 61.71,-32.75 61.71,-39.75"/>
|
||||
<path fill="none" stroke="#63b8ff" d="M37.2,-36.25C44.58,-36.25 53.31,-36.25 61.45,-36.25"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="61.2,-39.75 71.2,-36.25 61.2,-32.75 61.2,-39.75"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
@@ -58,8 +58,8 @@
|
||||
<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="M105.87,-39.5C119.94,-42.42 141.17,-46.83 159.5,-50.64"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="158.67,-54.25 169.17,-52.86 160.09,-47.4 158.67,-54.25"/>
|
||||
<path fill="none" stroke="#63b8ff" d="M105.87,-39.5C119.81,-42.39 140.77,-46.75 158.99,-50.53"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="158.19,-53.94 168.69,-52.55 159.61,-47.09 158.19,-53.94"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
@@ -77,8 +77,8 @@
|
||||
<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="M105.87,-33.15C112.81,-31.78 121.49,-30.05 130.7,-28.23"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="131.14,-31.51 140.26,-26.13 129.77,-24.64 131.14,-31.51"/>
|
||||
<path fill="none" stroke="#63b8ff" d="M105.87,-33.15C112.66,-31.8 121.11,-30.13 130.11,-28.34"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="130.65,-31.8 139.78,-26.43 129.29,-24.94 130.65,-31.8"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
|
||||
|
Before Width: | Height: | Size: 4.3 KiB After Width: | Height: | Size: 4.3 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 8.1.0 (20230707.0739)
|
||||
<!-- Generated by graphviz version 9.0.0 (20230911.1827)
|
||||
-->
|
||||
<!-- Title: main Pages: 1 -->
|
||||
<svg width="261pt" height="76pt"
|
||||
@@ -30,8 +30,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="M37.2,-36.25C44.67,-36.25 53.52,-36.25 61.73,-36.25"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="61.71,-39.75 71.71,-36.25 61.71,-32.75 61.71,-39.75"/>
|
||||
<path fill="none" stroke="#63b8ff" d="M37.2,-36.25C44.58,-36.25 53.31,-36.25 61.45,-36.25"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="61.2,-39.75 71.2,-36.25 61.2,-32.75 61.2,-39.75"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
@@ -48,8 +48,8 @@
|
||||
<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="M105.87,-39.5C119.94,-42.42 141.17,-46.83 159.5,-50.64"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="158.67,-54.25 169.17,-52.86 160.09,-47.4 158.67,-54.25"/>
|
||||
<path fill="none" stroke="#63b8ff" d="M105.87,-39.5C119.81,-42.39 140.77,-46.75 158.99,-50.53"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="158.19,-53.94 168.69,-52.55 159.61,-47.09 158.19,-53.94"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
@@ -67,8 +67,8 @@
|
||||
<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="M105.87,-33.15C112.81,-31.78 121.49,-30.05 130.7,-28.23"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="131.14,-31.51 140.26,-26.13 129.77,-24.64 131.14,-31.51"/>
|
||||
<path fill="none" stroke="#63b8ff" d="M105.87,-33.15C112.66,-31.8 121.11,-30.13 130.11,-28.34"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="130.65,-31.8 139.78,-26.43 129.29,-24.94 130.65,-31.8"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
|
||||
|
Before Width: | Height: | Size: 3.5 KiB After Width: | Height: | Size: 3.5 KiB |