TheAlgorithms-C/d5/d24/dynamic__stack_8c_ae66f6b31b5ad750f1fe042a706a4e3d4_cgraph.svg

182 lines
8.3 KiB
XML
Raw Normal View History

<?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)
-->
<!-- Title: main Pages: 1 -->
<svg width="231pt" height="230pt"
viewBox="0.00 0.00 230.75 230.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)">
<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 226.25)">
<title>main</title>
<!-- Node1 -->
<g id="Node000001" class="node">
<title>Node1</title>
<g id="a_Node000001"><a xlink:title="Main function.">
<polygon fill="#999999" stroke="#666666" points="37,-120.25 0,-120.25 0,-101 37,-101 37,-120.25"/>
<text text-anchor="middle" x="18.5" y="-106.75" font-family="Helvetica,sans-Serif" font-size="10.00">main</text>
</a>
</g>
</g>
<!-- Node2 -->
<g id="Node000002" class="node">
<title>Node2</title>
<g id="a_Node000002"><a xlink:href="../../d5/d24/dynamic__stack_8c.html#aa8dca7b867074164d5f45b0f3851269d" target="_top" xlink:title="Self&#45;test implementations.">
<polygon fill="white" stroke="#666666" points="105.5,-120.25 73,-120.25 73,-101 105.5,-101 105.5,-120.25"/>
<text text-anchor="middle" x="89.25" y="-106.75" font-family="Helvetica,sans-Serif" font-size="10.00">test</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node2 -->
<g id="edge1_Node000001_Node000002" class="edge">
<title>Node1&#45;&gt;Node2</title>
<g id="a_edge1_Node000001_Node000002"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M37.2,-110.62C44.58,-110.62 53.31,-110.62 61.45,-110.62"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="61.2,-114.13 71.2,-110.63 61.2,-107.13 61.2,-114.13"/>
</a>
</g>
</g>
<!-- Node3 -->
<g id="Node000003" class="node">
<title>Node3</title>
<g id="a_Node000003"><a xlink:href="../../d5/d24/dynamic__stack_8c.html#ab628a00140af56945b3f514cef0b3da0" target="_top" xlink:title="Create a Stack object.">
<polygon fill="white" stroke="#666666" points="218.25,-222.25 146,-222.25 146,-203 218.25,-203 218.25,-222.25"/>
<text text-anchor="middle" x="182.12" y="-208.75" font-family="Helvetica,sans-Serif" font-size="10.00">create_stack</text>
</a>
</g>
</g>
<!-- Node2&#45;&gt;Node3 -->
<g id="edge2_Node000002_Node000003" class="edge">
<title>Node2&#45;&gt;Node3</title>
<g id="a_edge2_Node000002_Node000003"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M93.98,-120.48C100.91,-137.64 117.33,-173.22 141.5,-194.62 142.27,-195.3 143.06,-195.96 143.89,-196.6"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="141.79,-199.42 152.11,-201.82 145.54,-193.51 141.79,-199.42"/>
</a>
</g>
</g>
<!-- Node4 -->
<g id="Node000004" class="node">
<title>Node4</title>
<g id="a_Node000004"><a xlink:href="../../d5/d24/dynamic__stack_8c.html#a0eebbddad64a35d337093293466e26a1" target="_top" xlink:title="The function is used to check whether the stack is empty or not and return true or false accordingly.">
<polygon fill="white" stroke="#666666" points="207.38,-185.25 156.88,-185.25 156.88,-166 207.38,-166 207.38,-185.25"/>
<text text-anchor="middle" x="182.12" y="-171.75" font-family="Helvetica,sans-Serif" font-size="10.00">isempty</text>
</a>
</g>
</g>
<!-- Node2&#45;&gt;Node4 -->
<g id="edge3_Node000002_Node000004" class="edge">
<title>Node2&#45;&gt;Node4</title>
<g id="a_edge3_Node000002_Node000004"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M99.31,-120.62C109,-130.88 125.19,-146.84 141.5,-157.62 143.1,-158.69 144.78,-159.71 146.5,-160.7"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="144.76,-163.74 155.25,-165.25 147.99,-157.53 144.76,-163.74"/>
</a>
</g>
</g>
<!-- Node5 -->
<g id="Node000005" class="node">
<title>Node5</title>
<g id="a_Node000005"><a xlink:href="../../da/d96/infix__to__postfix2_8c.html#a312e7f6c761a199c1369fbe651e084f0" target="_top" xlink:title="Function to pop from the stack.">
<polygon fill="white" stroke="#666666" points="198,-148.25 166.25,-148.25 166.25,-129 198,-129 198,-148.25"/>
<text text-anchor="middle" x="182.12" y="-134.75" font-family="Helvetica,sans-Serif" font-size="10.00">pop</text>
</a>
</g>
</g>
<!-- Node2&#45;&gt;Node5 -->
<g id="edge4_Node000002_Node000005" class="edge">
<title>Node2&#45;&gt;Node5</title>
<g id="a_edge4_Node000002_Node000005"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M105.67,-115.37C119.19,-119.54 139.15,-125.69 155.14,-130.62"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="153.9,-133.9 164.49,-133.5 155.96,-127.21 153.9,-133.9"/>
</a>
</g>
</g>
<!-- Node6 -->
<g id="Node000006" class="node">
<title>Node6</title>
<g id="a_Node000006"><a xlink:href="../../db/d0c/infix__to__postfix_8c.html#a613462735d30cae1b85b606ecab30554" target="_top" xlink:title="push function">
<polygon fill="white" stroke="#666666" points="200.62,-93.25 163.62,-93.25 163.62,-74 200.62,-74 200.62,-93.25"/>
<text text-anchor="middle" x="182.12" y="-79.75" font-family="Helvetica,sans-Serif" font-size="10.00">push</text>
</a>
</g>
</g>
<!-- Node2&#45;&gt;Node6 -->
<g id="edge5_Node000002_Node000006" class="edge">
<title>Node2&#45;&gt;Node6</title>
<g id="a_edge5_Node000002_Node000006"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M105.67,-106.04C118.46,-102.24 137,-96.73 152.51,-92.13"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="153.09,-95.61 161.68,-89.4 151.1,-88.9 153.09,-95.61"/>
</a>
</g>
</g>
<!-- Node7 -->
<g id="Node000007" class="node">
<title>Node7</title>
<g id="a_Node000007"><a xlink:href="../../d5/d24/dynamic__stack_8c.html#a9fe3f4e1147dd49a0ad4ca8f0228827d" target="_top" xlink:title="To display the current capacity of the stack.">
<polygon fill="white" stroke="#666666" points="222.75,-56.25 141.5,-56.25 141.5,-37 222.75,-37 222.75,-56.25"/>
<text text-anchor="middle" x="182.12" y="-42.75" font-family="Helvetica,sans-Serif" font-size="10.00">show_capacity</text>
</a>
</g>
</g>
<!-- Node2&#45;&gt;Node7 -->
<g id="edge7_Node000002_Node000007" class="edge">
<title>Node2&#45;&gt;Node7</title>
<g id="a_edge7_Node000002_Node000007"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M99.35,-100.86C109.07,-90.83 125.29,-75.22 141.5,-64.62 142.88,-63.72 144.32,-62.84 145.79,-61.98"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="147.21,-65.19 154.44,-57.44 143.96,-58.99 147.21,-65.19"/>
</a>
</g>
</g>
<!-- Node8 -->
<g id="Node000008" class="node">
<title>Node8</title>
<g id="a_Node000008"><a xlink:href="../../d5/d24/dynamic__stack_8c.html#ad46c93f9aac8431f73dc5e3a4413097e" target="_top" xlink:title="Used to get the size of the Stack or the number of elements present in the Stack.">
<polygon fill="white" stroke="#666666" points="213.75,-19.25 150.5,-19.25 150.5,0 213.75,0 213.75,-19.25"/>
<text text-anchor="middle" x="182.12" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">stack_size</text>
</a>
</g>
</g>
<!-- Node2&#45;&gt;Node8 -->
<g id="edge8_Node000002_Node000008" class="edge">
<title>Node2&#45;&gt;Node8</title>
<g id="a_edge8_Node000002_Node000008"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M94.12,-100.62C101.17,-83.57 117.61,-48.67 141.5,-27.62 142.27,-26.95 143.07,-26.29 143.89,-25.66"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="145.55,-28.75 152.12,-20.44 141.8,-22.84 145.55,-28.75"/>
</a>
</g>
</g>
<!-- Node6&#45;&gt;Node6 -->
<g id="edge6_Node000006_Node000006" class="edge">
<title>Node6&#45;&gt;Node6</title>
<g id="a_edge6_Node000006_Node000006"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M167.58,-93.54C160.95,-102.15 165.8,-111.25 182.12,-111.25 191.05,-111.25 196.55,-108.53 198.61,-104.65"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="202.1,-104.28 196.93,-95.03 195.2,-105.48 202.1,-104.28"/>
</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>