Documentation for db149bf3b7

This commit is contained in:
github-actions
2022-09-02 14:36:25 +00:00
parent ca6acdc719
commit 766f10286e
5464 changed files with 92674 additions and 78796 deletions

View File

@@ -1,9 +1,9 @@
<!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">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.4"/>
<meta name="generator" content="Doxygen 1.9.5"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Algorithms_in_C++: greedy_algorithms/jumpgame.cpp File Reference</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
@@ -41,10 +41,10 @@ MathJax.Hub.Config({
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.4 -->
<!-- Generated by Doxygen 1.9.5 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "../../search",'Search','.html');
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
/* @license-end */
</script>
<script type="text/javascript" src="../../menudata.js"></script>
@@ -84,9 +84,16 @@ $(document).ready(function(){initNavTree('df/d64/jumpgame_8cpp.html','../../');
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
<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">
@@ -104,7 +111,7 @@ $(document).ready(function(){initNavTree('df/d64/jumpgame_8cpp.html','../../');
</div><div class="textblock"><div class="dynheader">
Include dependency graph for jumpgame.cpp:</div>
<div class="dyncontent">
<div class="center"><iframe scrolling="no" frameborder="0" src="../../d8/df6/jumpgame_8cpp__incl.svg" width="256" height="112"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe>
<div class="center"><iframe scrolling="no" frameborder="0" src="../../d8/df6/jumpgame_8cpp__incl.svg" width="256" height="110"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe>
</div>
</div>
</div><table class="memberdecls">
@@ -125,7 +132,7 @@ Functions</h2></td></tr>
<p ><b>Problem statement:</b> Given an array of non-negative integers, you are initially positioned at the first index of the array. Each element in the array represents your maximum jump length at that position. Determine if you are able to reach the last index. This solution takes in input as a vector and output as a boolean to check if you can reach the last position. We name the indices good and bad based on whether we can reach the destination if we start at that position. We initialize the last index as lastPos. Here, we start from the end of the array and check if we can ever reach the first index. We check if the sum of the index and the maximum jump count given is greater than or equal to the lastPos. If yes, then that is the last position you can reach starting from the back. After the end of the loop, if we reach the lastPos as 0, then the destination can be reached from the start position. </p><dl class="section author"><dt>Author</dt><dd><a href="https://github.com/rakshaa2000" target="_blank">Rakshaa Viswanathan</a> </dd></dl>
</div><h2 class="groupheader">Function Documentation</h2>
<a id="af205390325e8c999bd68b93fa5252755" name="af205390325e8c999bd68b93fa5252755"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af205390325e8c999bd68b93fa5252755">&#9670;&nbsp;</a></span>canJump()</h2>
<h2 class="memtitle"><span class="permalink"><a href="#af205390325e8c999bd68b93fa5252755">&#9670;&#160;</a></span>canJump()</h2>
<div class="memitem">
<div class="memproto">
@@ -161,14 +168,14 @@ Functions</h2></td></tr>
</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="../../df/d64/jumpgame_8cpp_af205390325e8c999bd68b93fa5252755_cgraph.svg" width="250" height="38"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe>
<div class="center"><iframe scrolling="no" frameborder="0" src="../../df/d64/jumpgame_8cpp_af205390325e8c999bd68b93fa5252755_cgraph.svg" width="250" height="36"><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="ae66f6b31b5ad750f1fe042a706a4e3d4" name="ae66f6b31b5ad750f1fe042a706a4e3d4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae66f6b31b5ad750f1fe042a706a4e3d4">&#9670;&nbsp;</a></span>main()</h2>
<h2 class="memtitle"><span class="permalink"><a href="#ae66f6b31b5ad750f1fe042a706a4e3d4">&#9670;&#160;</a></span>main()</h2>
<div class="memitem">
<div class="memproto">
@@ -193,14 +200,14 @@ 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="../../df/d64/jumpgame_8cpp_ae66f6b31b5ad750f1fe042a706a4e3d4_cgraph.svg" width="440" height="88"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe>
<div class="center"><iframe scrolling="no" frameborder="0" src="../../df/d64/jumpgame_8cpp_ae66f6b31b5ad750f1fe042a706a4e3d4_cgraph.svg" width="440" height="86"><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="aa8dca7b867074164d5f45b0f3851269d" name="aa8dca7b867074164d5f45b0f3851269d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa8dca7b867074164d5f45b0f3851269d">&#9670;&nbsp;</a></span>test()</h2>
<h2 class="memtitle"><span class="permalink"><a href="#aa8dca7b867074164d5f45b0f3851269d">&#9670;&#160;</a></span>test()</h2>
<div class="memitem">
<div class="memproto">
@@ -245,11 +252,11 @@ Here is the call graph for this function:</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="aendl_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/io/manip/endl.html">std::endl</a></div><div class="ttdeci">T endl(T... args)</div></div>
<div class="ttc" id="ajumpgame_8cpp_html_af205390325e8c999bd68b93fa5252755"><div class="ttname"><a href="../../df/d64/jumpgame_8cpp.html#af205390325e8c999bd68b93fa5252755">canJump</a></div><div class="ttdeci">bool canJump(const std::vector&lt; int &gt; &amp;nums)</div><div class="ttdoc">This function implements the above algorithm.</div><div class="ttdef"><b>Definition:</b> jumpgame.cpp:26</div></div>
<div class="ttc" id="avector_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector&lt; int &gt;</a></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="../../df/d64/jumpgame_8cpp_aa8dca7b867074164d5f45b0f3851269d_cgraph.svg" width="342" height="88"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe>
<div class="center"><iframe scrolling="no" frameborder="0" src="../../df/d64/jumpgame_8cpp_aa8dca7b867074164d5f45b0f3851269d_cgraph.svg" width="342" height="86"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe>
</div>
</div>
@@ -261,7 +268,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_0eaa691bd54ab0922ca7f50599de6d22.html">greedy_algorithms</a></li><li class="navelem"><a class="el" href="../../df/d64/jumpgame_8cpp.html">jumpgame.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.4 </li>
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.5 </li>
</ul>
</div>
</body>

View File

@@ -1,6 +1,6 @@
<map id="test" name="test">
<area shape="rect" id="node1" title="Function to test above algorithm." alt="" coords="5,31,49,57"/>
<area shape="rect" id="node2" href="$df/d64/jumpgame_8cpp.html#af205390325e8c999bd68b93fa5252755" title="This function implements the above algorithm." alt="" coords="97,5,172,32"/>
<area shape="rect" id="node4" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/io/manip/endl.html#" title=" " alt="" coords="99,56,171,83"/>
<area shape="rect" id="node3" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/vector/size.html#" title=" " alt="" coords="220,5,336,32"/>
<area shape="rect" id="node1" title="Function to test above algorithm." alt="" coords="5,31,49,56"/>
<area shape="rect" id="node2" href="$df/d64/jumpgame_8cpp.html#af205390325e8c999bd68b93fa5252755" title="This function implements the above algorithm." alt="" coords="97,5,172,31"/>
<area shape="rect" id="node4" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/io/manip/endl.html#" title=" " alt="" coords="99,55,171,80"/>
<area shape="rect" id="node3" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/vector/size.html#" title=" " alt="" coords="220,5,336,31"/>
</map>

View File

@@ -1 +1 @@
ec81e76d21d1373dd5964a742a45366c
16dc0ba5719bcf61a0db2af831d8c1a9

View File

@@ -1,20 +1,19 @@
<?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 5.0.0 (20220707.1540)
<!-- Generated by graphviz version 5.0.1 (20220820.1526)
-->
<!-- Title: test Pages: 1 -->
<svg width="256pt" height="66pt"
viewBox="0.00 0.00 256.00 66.00" 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 62)">
<svg width="256pt" height="64pt"
viewBox="0.00 0.00 256.00 64.00" 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 60)">
<title>test</title>
<polygon fill="white" stroke="transparent" points="-4,4 -4,-62 252,-62 252,4 -4,4"/>
<!-- Node1 -->
<g id="node1" class="node">
<title>Node1</title>
<g id="a_node1"><a xlink:title="Function to test above algorithm.">
<polygon fill="#bfbfbf" stroke="black" points="0,-19.5 0,-38.5 33,-38.5 33,-19.5 0,-19.5"/>
<text text-anchor="middle" x="16.5" y="-26.5" font-family="Helvetica,sans-Serif" font-size="10.00">test</text>
<polygon fill="#999999" stroke="#666666" points="33,-37 0,-37 0,-18 33,-18 33,-37"/>
<text text-anchor="middle" x="16.5" y="-25" font-family="Helvetica,sans-Serif" font-size="10.00">test</text>
</a>
</g>
</g>
@@ -22,46 +21,46 @@
<g id="node2" class="node">
<title>Node2</title>
<g id="a_node2"><a xlink:href="../../df/d64/jumpgame_8cpp.html#af205390325e8c999bd68b93fa5252755" target="_top" xlink:title="This function implements the above algorithm.">
<polygon fill="white" stroke="black" points="69,-38.5 69,-57.5 125,-57.5 125,-38.5 69,-38.5"/>
<text text-anchor="middle" x="97" y="-45.5" font-family="Helvetica,sans-Serif" font-size="10.00">canJump</text>
<polygon fill="white" stroke="#666666" points="125,-56 69,-56 69,-37 125,-37 125,-56"/>
<text text-anchor="middle" x="97" y="-44" font-family="Helvetica,sans-Serif" font-size="10.00">canJump</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node2 -->
<g id="edge1" class="edge">
<title>Node1&#45;&gt;Node2</title>
<path fill="none" stroke="midnightblue" d="M33.01,-32.75C40.49,-34.56 49.82,-36.82 58.98,-39.04"/>
<polygon fill="midnightblue" stroke="midnightblue" points="58.22,-42.46 68.76,-41.41 59.87,-35.65 58.22,-42.46"/>
<path fill="none" stroke="#63b8ff" d="M33.01,-31.25C40.49,-33.06 49.82,-35.32 58.98,-37.54"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="58.22,-40.96 68.76,-39.91 59.87,-34.15 58.22,-40.96"/>
</g>
<!-- Node4 -->
<g id="node4" class="node">
<title>Node4</title>
<g id="a_node4"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/io/manip/endl.html#" xlink:title=" ">
<polygon fill="white" stroke="black" points="70,-0.5 70,-19.5 124,-19.5 124,-0.5 70,-0.5"/>
<text text-anchor="middle" x="97" y="-7.5" font-family="Helvetica,sans-Serif" font-size="10.00">std::endl</text>
<polygon fill="white" stroke="#666666" points="124,-19 70,-19 70,0 124,0 124,-19"/>
<text text-anchor="middle" x="97" y="-7" font-family="Helvetica,sans-Serif" font-size="10.00">std::endl</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node4 -->
<g id="edge3" class="edge">
<title>Node1&#45;&gt;Node4</title>
<path fill="none" stroke="midnightblue" d="M33.01,-25.25C40.69,-23.39 50.31,-21.06 59.7,-18.79"/>
<polygon fill="midnightblue" stroke="midnightblue" points="60.81,-22.12 69.7,-16.37 59.16,-15.32 60.81,-22.12"/>
<path fill="none" stroke="#63b8ff" d="M33.01,-23.94C40.69,-22.18 50.31,-19.98 59.7,-17.82"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="60.74,-21.18 69.7,-15.53 59.17,-14.35 60.74,-21.18"/>
</g>
<!-- Node3 -->
<g id="node3" class="node">
<title>Node3</title>
<g id="a_node3"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/vector/size.html#" xlink:title=" ">
<polygon fill="white" stroke="black" points="161,-38.5 161,-57.5 248,-57.5 248,-38.5 161,-38.5"/>
<text text-anchor="middle" x="204.5" y="-45.5" font-family="Helvetica,sans-Serif" font-size="10.00">std::vector::size</text>
<polygon fill="white" stroke="#666666" points="248,-56 161,-56 161,-37 248,-37 248,-56"/>
<text text-anchor="middle" x="204.5" y="-44" font-family="Helvetica,sans-Serif" font-size="10.00">std::vector::size</text>
</a>
</g>
</g>
<!-- Node2&#45;&gt;Node3 -->
<g id="edge2" class="edge">
<title>Node2&#45;&gt;Node3</title>
<path fill="none" stroke="midnightblue" d="M125.17,-48C132.98,-48 141.78,-48 150.58,-48"/>
<polygon fill="midnightblue" stroke="midnightblue" points="150.86,-51.5 160.86,-48 150.86,-44.5 150.86,-51.5"/>
<path fill="none" stroke="#63b8ff" d="M125.17,-46.5C132.98,-46.5 141.78,-46.5 150.58,-46.5"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="150.86,-50 160.86,-46.5 150.86,-43 150.86,-50"/>
</g>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 3.1 KiB

After

Width:  |  Height:  |  Size: 2.9 KiB

View File

@@ -1,7 +1,7 @@
<map id="main" name="main">
<area shape="rect" id="node1" title="Main function." alt="" coords="5,31,56,57"/>
<area shape="rect" id="node2" href="$df/d64/jumpgame_8cpp.html#aa8dca7b867074164d5f45b0f3851269d" title="Function to test above algorithm." alt="" coords="104,31,148,57"/>
<area shape="rect" id="node3" href="$df/d64/jumpgame_8cpp.html#af205390325e8c999bd68b93fa5252755" title="This function implements the above algorithm." alt="" coords="196,5,271,32"/>
<area shape="rect" id="node5" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/io/manip/endl.html#" title=" " alt="" coords="197,56,269,83"/>
<area shape="rect" id="node4" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/vector/size.html#" title=" " alt="" coords="319,5,435,32"/>
<area shape="rect" id="node1" title="Main function." alt="" coords="5,31,56,56"/>
<area shape="rect" id="node2" href="$df/d64/jumpgame_8cpp.html#aa8dca7b867074164d5f45b0f3851269d" title="Function to test above algorithm." alt="" coords="104,31,148,56"/>
<area shape="rect" id="node3" href="$df/d64/jumpgame_8cpp.html#af205390325e8c999bd68b93fa5252755" title="This function implements the above algorithm." alt="" coords="196,5,271,31"/>
<area shape="rect" id="node5" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/io/manip/endl.html#" title=" " alt="" coords="197,55,269,80"/>
<area shape="rect" id="node4" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/vector/size.html#" title=" " alt="" coords="319,5,435,31"/>
</map>

View File

@@ -1 +1 @@
c184794df7fe680f66bbca64f9855167
4efe19199015c563e81fea77971dc533

View File

@@ -1,20 +1,19 @@
<?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 5.0.0 (20220707.1540)
<!-- Generated by graphviz version 5.0.1 (20220820.1526)
-->
<!-- Title: main Pages: 1 -->
<svg width="330pt" height="66pt"
viewBox="0.00 0.00 330.00 66.00" 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 62)">
<svg width="330pt" height="64pt"
viewBox="0.00 0.00 330.00 64.00" 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 60)">
<title>main</title>
<polygon fill="white" stroke="transparent" points="-4,4 -4,-62 326,-62 326,4 -4,4"/>
<!-- Node1 -->
<g id="node1" class="node">
<title>Node1</title>
<g id="a_node1"><a xlink:title="Main function.">
<polygon fill="#bfbfbf" stroke="black" points="0,-19.5 0,-38.5 38,-38.5 38,-19.5 0,-19.5"/>
<text text-anchor="middle" x="19" y="-26.5" font-family="Helvetica,sans-Serif" font-size="10.00">main</text>
<polygon fill="#999999" stroke="#666666" points="38,-37 0,-37 0,-18 38,-18 38,-37"/>
<text text-anchor="middle" x="19" y="-25" font-family="Helvetica,sans-Serif" font-size="10.00">main</text>
</a>
</g>
</g>
@@ -22,61 +21,61 @@
<g id="node2" class="node">
<title>Node2</title>
<g id="a_node2"><a xlink:href="../../df/d64/jumpgame_8cpp.html#aa8dca7b867074164d5f45b0f3851269d" target="_top" xlink:title="Function to test above algorithm.">
<polygon fill="white" stroke="black" points="74,-19.5 74,-38.5 107,-38.5 107,-19.5 74,-19.5"/>
<text text-anchor="middle" x="90.5" y="-26.5" font-family="Helvetica,sans-Serif" font-size="10.00">test</text>
<polygon fill="white" stroke="#666666" points="107,-37 74,-37 74,-18 107,-18 107,-37"/>
<text text-anchor="middle" x="90.5" y="-25" font-family="Helvetica,sans-Serif" font-size="10.00">test</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node2 -->
<g id="edge1" class="edge">
<title>Node1&#45;&gt;Node2</title>
<path fill="none" stroke="midnightblue" d="M38.26,-29C46.07,-29 55.31,-29 63.79,-29"/>
<polygon fill="midnightblue" stroke="midnightblue" points="63.95,-32.5 73.95,-29 63.95,-25.5 63.95,-32.5"/>
<path fill="none" stroke="#63b8ff" d="M38.26,-27.5C46.07,-27.5 55.31,-27.5 63.79,-27.5"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="63.95,-31 73.95,-27.5 63.95,-24 63.95,-31"/>
</g>
<!-- Node3 -->
<g id="node3" class="node">
<title>Node3</title>
<g id="a_node3"><a xlink:href="../../df/d64/jumpgame_8cpp.html#af205390325e8c999bd68b93fa5252755" target="_top" xlink:title="This function implements the above algorithm.">
<polygon fill="white" stroke="black" points="143,-38.5 143,-57.5 199,-57.5 199,-38.5 143,-38.5"/>
<text text-anchor="middle" x="171" y="-45.5" font-family="Helvetica,sans-Serif" font-size="10.00">canJump</text>
<polygon fill="white" stroke="#666666" points="199,-56 143,-56 143,-37 199,-37 199,-56"/>
<text text-anchor="middle" x="171" y="-44" font-family="Helvetica,sans-Serif" font-size="10.00">canJump</text>
</a>
</g>
</g>
<!-- Node2&#45;&gt;Node3 -->
<g id="edge2" class="edge">
<title>Node2&#45;&gt;Node3</title>
<path fill="none" stroke="midnightblue" d="M107.01,-32.75C114.49,-34.56 123.82,-36.82 132.98,-39.04"/>
<polygon fill="midnightblue" stroke="midnightblue" points="132.22,-42.46 142.76,-41.41 133.87,-35.65 132.22,-42.46"/>
<path fill="none" stroke="#63b8ff" d="M107.01,-31.25C114.49,-33.06 123.82,-35.32 132.98,-37.54"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="132.22,-40.96 142.76,-39.91 133.87,-34.15 132.22,-40.96"/>
</g>
<!-- Node5 -->
<g id="node5" class="node">
<title>Node5</title>
<g id="a_node5"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/io/manip/endl.html#" xlink:title=" ">
<polygon fill="white" stroke="black" points="144,-0.5 144,-19.5 198,-19.5 198,-0.5 144,-0.5"/>
<text text-anchor="middle" x="171" y="-7.5" font-family="Helvetica,sans-Serif" font-size="10.00">std::endl</text>
<polygon fill="white" stroke="#666666" points="198,-19 144,-19 144,0 198,0 198,-19"/>
<text text-anchor="middle" x="171" y="-7" font-family="Helvetica,sans-Serif" font-size="10.00">std::endl</text>
</a>
</g>
</g>
<!-- Node2&#45;&gt;Node5 -->
<g id="edge4" class="edge">
<title>Node2&#45;&gt;Node5</title>
<path fill="none" stroke="midnightblue" d="M107.01,-25.25C114.69,-23.39 124.31,-21.06 133.7,-18.79"/>
<polygon fill="midnightblue" stroke="midnightblue" points="134.81,-22.12 143.7,-16.37 133.16,-15.32 134.81,-22.12"/>
<path fill="none" stroke="#63b8ff" d="M107.01,-23.94C114.69,-22.18 124.31,-19.98 133.7,-17.82"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="134.74,-21.18 143.7,-15.53 133.17,-14.35 134.74,-21.18"/>
</g>
<!-- Node4 -->
<g id="node4" class="node">
<title>Node4</title>
<g id="a_node4"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/vector/size.html#" xlink:title=" ">
<polygon fill="white" stroke="black" points="235,-38.5 235,-57.5 322,-57.5 322,-38.5 235,-38.5"/>
<text text-anchor="middle" x="278.5" y="-45.5" font-family="Helvetica,sans-Serif" font-size="10.00">std::vector::size</text>
<polygon fill="white" stroke="#666666" points="322,-56 235,-56 235,-37 322,-37 322,-56"/>
<text text-anchor="middle" x="278.5" y="-44" font-family="Helvetica,sans-Serif" font-size="10.00">std::vector::size</text>
</a>
</g>
</g>
<!-- Node3&#45;&gt;Node4 -->
<g id="edge3" class="edge">
<title>Node3&#45;&gt;Node4</title>
<path fill="none" stroke="midnightblue" d="M199.17,-48C206.98,-48 215.78,-48 224.58,-48"/>
<polygon fill="midnightblue" stroke="midnightblue" points="224.86,-51.5 234.86,-48 224.86,-44.5 224.86,-51.5"/>
<path fill="none" stroke="#63b8ff" d="M199.17,-46.5C206.98,-46.5 215.78,-46.5 224.58,-46.5"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="224.86,-50 234.86,-46.5 224.86,-43 224.86,-50"/>
</g>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 3.8 KiB

After

Width:  |  Height:  |  Size: 3.6 KiB

View File

@@ -1,4 +1,4 @@
<map id="canJump" name="canJump">
<area shape="rect" id="node1" title="This function implements the above algorithm." alt="" coords="5,5,80,32"/>
<area shape="rect" id="node2" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/vector/size.html#" title=" " alt="" coords="128,5,244,32"/>
<area shape="rect" id="node1" title="This function implements the above algorithm." alt="" coords="5,5,80,31"/>
<area shape="rect" id="node2" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/vector/size.html#" title=" " alt="" coords="128,5,244,31"/>
</map>

View File

@@ -1 +1 @@
0e8f481a925c4088d93665f1fa3f58cf
8cb48076eabe126a95c3d9e9652679ee

View File

@@ -1,20 +1,19 @@
<?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 5.0.0 (20220707.1540)
<!-- Generated by graphviz version 5.0.1 (20220820.1526)
-->
<!-- Title: canJump Pages: 1 -->
<svg width="187pt" height="28pt"
viewBox="0.00 0.00 187.00 28.00" 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 24)">
<svg width="187pt" height="27pt"
viewBox="0.00 0.00 187.00 27.00" 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 23)">
<title>canJump</title>
<polygon fill="white" stroke="transparent" points="-4,4 -4,-24 183,-24 183,4 -4,4"/>
<!-- Node1 -->
<g id="node1" class="node">
<title>Node1</title>
<g id="a_node1"><a xlink:title="This function implements the above algorithm.">
<polygon fill="#bfbfbf" stroke="black" points="0,-0.5 0,-19.5 56,-19.5 56,-0.5 0,-0.5"/>
<text text-anchor="middle" x="28" y="-7.5" font-family="Helvetica,sans-Serif" font-size="10.00">canJump</text>
<polygon fill="#999999" stroke="#666666" points="56,-19 0,-19 0,0 56,0 56,-19"/>
<text text-anchor="middle" x="28" y="-7" font-family="Helvetica,sans-Serif" font-size="10.00">canJump</text>
</a>
</g>
</g>
@@ -22,16 +21,16 @@
<g id="node2" class="node">
<title>Node2</title>
<g id="a_node2"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/vector/size.html#" xlink:title=" ">
<polygon fill="white" stroke="black" points="92,-0.5 92,-19.5 179,-19.5 179,-0.5 92,-0.5"/>
<text text-anchor="middle" x="135.5" y="-7.5" font-family="Helvetica,sans-Serif" font-size="10.00">std::vector::size</text>
<polygon fill="white" stroke="#666666" points="179,-19 92,-19 92,0 179,0 179,-19"/>
<text text-anchor="middle" x="135.5" y="-7" font-family="Helvetica,sans-Serif" font-size="10.00">std::vector::size</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node2 -->
<g id="edge1" class="edge">
<title>Node1&#45;&gt;Node2</title>
<path fill="none" stroke="midnightblue" d="M56.17,-10C63.98,-10 72.78,-10 81.58,-10"/>
<polygon fill="midnightblue" stroke="midnightblue" points="81.86,-13.5 91.86,-10 81.86,-6.5 81.86,-13.5"/>
<path fill="none" stroke="#63b8ff" d="M56.17,-9.5C63.98,-9.5 72.78,-9.5 81.58,-9.5"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="81.86,-13 91.86,-9.5 81.86,-6 81.86,-13"/>
</g>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB