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++: search/linear_search.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');
|
||||
@@ -115,13 +115,13 @@ Include dependency graph for linear_search.cpp:</div>
|
||||
</div><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:a84ac3988a534eb60ca351ed6caf56d84"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d02/linear__search_8cpp.html#a84ac3988a534eb60ca351ed6caf56d84">LinearSearch</a> (int *array, int size, int key)</td></tr>
|
||||
<tr class="memitem:a84ac3988a534eb60ca351ed6caf56d84" id="r_a84ac3988a534eb60ca351ed6caf56d84"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d02/linear__search_8cpp.html#a84ac3988a534eb60ca351ed6caf56d84">LinearSearch</a> (int *array, int size, int key)</td></tr>
|
||||
<tr class="memdesc:a84ac3988a534eb60ca351ed6caf56d84"><td class="mdescLeft"> </td><td class="mdescRight">for IO operations <br /></td></tr>
|
||||
<tr class="separator:a84ac3988a534eb60ca351ed6caf56d84"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a483bb8ccf42aaf7375a83e91490eda1e"><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d02/linear__search_8cpp.html#a483bb8ccf42aaf7375a83e91490eda1e">tests</a> ()</td></tr>
|
||||
<tr class="memitem:a483bb8ccf42aaf7375a83e91490eda1e" id="r_a483bb8ccf42aaf7375a83e91490eda1e"><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d02/linear__search_8cpp.html#a483bb8ccf42aaf7375a83e91490eda1e">tests</a> ()</td></tr>
|
||||
<tr class="memdesc:a483bb8ccf42aaf7375a83e91490eda1e"><td class="mdescLeft"> </td><td class="mdescRight">Self-test implementations. <br /></td></tr>
|
||||
<tr class="separator:a483bb8ccf42aaf7375a83e91490eda1e"><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="../../d9/d02/linear__search_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="../../d9/d02/linear__search_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>
|
||||
@@ -324,7 +324,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_19b2bf9199a15c634a08b1ede1dd896a.html">search</a></li><li class="navelem"><a class="el" href="../../d9/d02/linear__search_8cpp.html">linear_search.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,5 +1,5 @@
|
||||
<map id="tests" name="tests">
|
||||
<area shape="rect" id="Node000001" title="Self-test implementations." alt="" coords="5,5,56,31"/>
|
||||
<area shape="rect" id="Node000002" href="$d9/d02/linear__search_8cpp.html#a84ac3988a534eb60ca351ed6caf56d84" title="for IO operations" alt="" coords="104,5,201,31"/>
|
||||
<area shape="poly" id="edge1_Node000001_Node000002" title=" " alt="" coords="56,16,89,16,89,21,56,21"/>
|
||||
<area shape="poly" id="edge1_Node000001_Node000002" title=" " alt="" coords="56,16,88,16,88,21,56,21"/>
|
||||
</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: tests Pages: 1 -->
|
||||
<svg width="155pt" height="27pt"
|
||||
@@ -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.96,-9.62C45.13,-9.62 53.74,-9.62 62.46,-9.62"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="62.46,-13.13 72.46,-9.62 62.46,-6.13 62.46,-13.13"/>
|
||||
<path fill="none" stroke="#63b8ff" d="M37.96,-9.62C45.05,-9.62 53.55,-9.62 62.17,-9.62"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="61.95,-13.13 71.95,-9.63 61.95,-6.13 61.95,-13.13"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
|
||||
|
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 8.1.0 (20230707.0739)
|
||||
<!-- Generated by graphviz version 9.0.0 (20230911.1827)
|
||||
-->
|
||||
<!-- Title: tests Pages: 1 -->
|
||||
<svg width="155pt" height="27pt"
|
||||
@@ -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.96,-9.62C45.13,-9.62 53.74,-9.62 62.46,-9.62"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="62.46,-13.13 72.46,-9.62 62.46,-6.13 62.46,-13.13"/>
|
||||
<path fill="none" stroke="#63b8ff" d="M37.96,-9.62C45.05,-9.62 53.55,-9.62 62.17,-9.62"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="61.95,-13.13 71.95,-9.63 61.95,-6.13 61.95,-13.13"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
|
||||
|
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.7 KiB |
@@ -3,6 +3,6 @@
|
||||
<area shape="rect" id="Node000002" href="$d9/d02/linear__search_8cpp.html#a84ac3988a534eb60ca351ed6caf56d84" title="for IO operations" alt="" coords="201,5,298,31"/>
|
||||
<area shape="poly" id="edge1_Node000001_Node000002" title=" " alt="" coords="55,16,186,16,186,21,55,21"/>
|
||||
<area shape="rect" id="Node000003" href="$d9/d02/linear__search_8cpp.html#a483bb8ccf42aaf7375a83e91490eda1e" title="Self-test implementations." alt="" coords="103,31,153,56"/>
|
||||
<area shape="poly" id="edge2_Node000001_Node000003" title=" " alt="" coords="56,22,89,31,88,36,54,27"/>
|
||||
<area shape="poly" id="edge3_Node000003_Node000002" title=" " alt="" coords="153,36,186,29,187,34,154,41"/>
|
||||
<area shape="poly" id="edge2_Node000001_Node000003" title=" " alt="" coords="56,22,89,31,87,36,54,27"/>
|
||||
<area shape="poly" id="edge3_Node000003_Node000002" title=" " alt="" coords="153,36,185,29,187,34,154,41"/>
|
||||
</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="228pt" height="46pt"
|
||||
@@ -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.23,-28.62C60.69,-28.62 102.92,-28.62 135.79,-28.62"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="135.53,-32.13 145.53,-28.62 135.53,-25.13 135.53,-32.13"/>
|
||||
<path fill="none" stroke="#63b8ff" d="M37.23,-28.62C60.59,-28.62 102.56,-28.62 135.36,-28.62"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="135.02,-32.13 145.02,-28.63 135.02,-25.13 135.02,-32.13"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
@@ -58,8 +58,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="M37.14,-23.93C44.81,-21.89 53.98,-19.45 62.55,-17.16"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="63.18,-20.35 71.94,-14.4 61.38,-13.59 63.18,-20.35"/>
|
||||
<path fill="none" stroke="#63b8ff" d="M37.14,-23.93C44.64,-21.93 53.57,-19.56 61.98,-17.32"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="62.71,-20.74 71.48,-14.79 60.91,-13.98 62.71,-20.74"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
@@ -67,8 +67,8 @@
|
||||
<g id="edge3_Node000003_Node000002" class="edge">
|
||||
<title>Node3->Node2</title>
|
||||
<g id="a_edge3_Node000003_Node000002"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M110.96,-13.47C118.21,-15.01 126.94,-16.87 135.75,-18.74"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="134.95,-22.36 145.46,-21.02 136.41,-15.51 134.95,-22.36"/>
|
||||
<path fill="none" stroke="#63b8ff" d="M110.96,-13.47C118.13,-14.99 126.74,-16.83 135.46,-18.68"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="134.47,-22.05 144.98,-20.7 135.93,-15.2 134.47,-22.05"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
|
||||
|
Before Width: | Height: | Size: 3.7 KiB After Width: | Height: | Size: 3.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 8.1.0 (20230707.0739)
|
||||
<!-- Generated by graphviz version 9.0.0 (20230911.1827)
|
||||
-->
|
||||
<!-- Title: main Pages: 1 -->
|
||||
<svg width="228pt" height="46pt"
|
||||
@@ -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.23,-28.62C60.69,-28.62 102.92,-28.62 135.79,-28.62"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="135.53,-32.13 145.53,-28.62 135.53,-25.13 135.53,-32.13"/>
|
||||
<path fill="none" stroke="#63b8ff" d="M37.23,-28.62C60.59,-28.62 102.56,-28.62 135.36,-28.62"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="135.02,-32.13 145.02,-28.63 135.02,-25.13 135.02,-32.13"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
@@ -48,8 +48,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="M37.14,-23.93C44.81,-21.89 53.98,-19.45 62.55,-17.16"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="63.18,-20.35 71.94,-14.4 61.38,-13.59 63.18,-20.35"/>
|
||||
<path fill="none" stroke="#63b8ff" d="M37.14,-23.93C44.64,-21.93 53.57,-19.56 61.98,-17.32"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="62.71,-20.74 71.48,-14.79 60.91,-13.98 62.71,-20.74"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
@@ -57,8 +57,8 @@
|
||||
<g id="edge3_Node000003_Node000002" class="edge">
|
||||
<title>Node3->Node2</title>
|
||||
<g id="a_edge3_Node000003_Node000002"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M110.96,-13.47C118.21,-15.01 126.94,-16.87 135.75,-18.74"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="134.95,-22.36 145.46,-21.02 136.41,-15.51 134.95,-22.36"/>
|
||||
<path fill="none" stroke="#63b8ff" d="M110.96,-13.47C118.13,-14.99 126.74,-16.83 135.46,-18.68"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="134.47,-22.05 144.98,-20.7 135.93,-15.2 134.47,-22.05"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
|
||||
|
Before Width: | Height: | Size: 2.9 KiB After Width: | Height: | Size: 2.9 KiB |